diff --git a/bun.lockb b/bun.lockb index 172f857..d81189b 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 49d6f01..dd951c8 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "@emailjs/browser": "^4.3.3", "@headlessui/react": "^1.7.18", "@heroicons/react": "^2.1.3", - "caniuse-lite": "^1.0.30001669", + "caniuse-lite": "^1.0.30001696", "i18next": "^23.11.5", "i18next-browser-languagedetector": "^8.0.0", "i18next-http-backend": "^2.5.2", diff --git a/src/App.tsx b/src/App.tsx index 286d414..f0e6c78 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -14,4 +14,3 @@ export default function App() { ); } - \ No newline at end of file diff --git a/src/Components/Navbar/Navbar.tsx b/src/Components/Navbar/Navbar.tsx index d402c65..ea6ca55 100644 --- a/src/Components/Navbar/Navbar.tsx +++ b/src/Components/Navbar/Navbar.tsx @@ -73,12 +73,13 @@ export default () => { : "z-10" }`} > -
-
+
+
{ - e.preventDefault(); // Prevent the defa ult anchor tag behavior + e.preventDefault(); // Prevent the default anchor tag behavior if (window.location.pathname === "/") { window.scrollTo({ top: 0, behavior: "smooth" }); } else { @@ -86,39 +87,77 @@ export default () => { } }} > - logo + logo -
- -
+ +
+ )}
+ + {/* Center nav items for desktop */} +
+ +
+ + {/* Language toggle for desktop */} +
+ +
+ + {/* Mobile slide-in menu */}
-
+ + {/* Dark overlay behind menu */} + {state && ( +
setState(false)} + /> + )}
); diff --git a/src/index.css b/src/index.css index 918f2aa..27dc924 100644 --- a/src/index.css +++ b/src/index.css @@ -5,9 +5,10 @@ @tailwind utilities; body { - @apply bg-gradient-to-br from-custom-bglight to-custom-bgdark; + @apply bg-gradient-to-br from-custom-bglight to-custom-bgdark antialiased min-h-screen text-white; } + .hero-text { @apply font-medium text-5xl lg:text-7xl xl:text-8xl; } diff --git a/tailwind.config.js b/tailwind.config.js index c6262ec..51f95cb 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -3,6 +3,9 @@ export default { content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"], theme: { extend: { + fontFamily: { + baijam: ['Bai Jamjuree', 'sans-serif'], + }, screens: { 1920: "1921px", },