From 01436f46b6b53b684cfba4708618863d2d4280c1 Mon Sep 17 00:00:00 2001
From: Val <44112412+LawfaL@users.noreply.github.com>
Date: Tue, 4 Mar 2025 17:54:21 +0700
Subject: [PATCH] fix: social media hover
---
public/assets/css/style.css | 4 ++
src/app/(main)/layout.tsx | 4 +-
src/components/Header.tsx | 100 ++++++++++++++++++-----------------
src/components/HeaderNav.tsx | 6 +--
4 files changed, 59 insertions(+), 55 deletions(-)
diff --git a/public/assets/css/style.css b/public/assets/css/style.css
index da6ac85..b0b28e8 100644
--- a/public/assets/css/style.css
+++ b/public/assets/css/style.css
@@ -3912,6 +3912,10 @@ a.logo:hover {
color: #00898b;
}
+.social-nav:hover {
+ color: #00abad;
+}
+
/* Menu sub */
.inner-nav .mi-chevron-down {
diff --git a/src/app/(main)/layout.tsx b/src/app/(main)/layout.tsx
index 6521bf7..01a8889 100644
--- a/src/app/(main)/layout.tsx
+++ b/src/app/(main)/layout.tsx
@@ -26,9 +26,7 @@ export default function MainLayout({
-
+
{children}
diff --git a/src/components/Header.tsx b/src/components/Header.tsx
index 8b0c041..6f11cba 100644
--- a/src/components/Header.tsx
+++ b/src/components/Header.tsx
@@ -14,57 +14,59 @@ const shareIcons: Record
= {
export default function Header({ links }: { links: typeof navMenuData }) {
return (
-
- {/* Logo (* Add your text or image to the link tag. Use SVG or PNG image format.
+
);
}
diff --git a/src/components/HeaderNav.tsx b/src/components/HeaderNav.tsx
index 132d4a8..b29626a 100644
--- a/src/components/HeaderNav.tsx
+++ b/src/components/HeaderNav.tsx
@@ -56,7 +56,7 @@ export default function HeaderNav({ links, animateY = false }: { links: typeof n
{Array.isArray(link?.child) && (
<>
-
+
{link.text}
toggleDropdown([link.text])} />
@@ -70,8 +70,8 @@ export default function HeaderNav({ links, animateY = false }: { links: typeof n
)}
{Array.isArray(subLink?.child) && (
<>
-
- {subLink.text}
+
+ {subLink.text}
toggleDropdown([link.text, subLink.text])} />