5 Commits

Author SHA1 Message Date
ccf64b354e Merge version_3 into main
Merge version_3 into main
2026-03-06 05:50:47 +00:00
a34a79e26b Update src/app/page.tsx 2026-03-06 05:50:43 +00:00
bbf5fa93ec Update src/app/layout.tsx 2026-03-06 05:50:43 +00:00
59e0438066 Merge version_2 into main
Merge version_2 into main
2026-03-06 05:43:08 +00:00
8ab6071ef1 Merge version_2 into main
Merge version_2 into main
2026-03-06 05:42:28 +00:00
2 changed files with 15 additions and 1 deletions

View File

@@ -16,6 +16,20 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<head>
<script
dangerouslySetInnerHTML={{
__html: `
(function() {
const theme = localStorage.getItem('theme');
if (theme === 'dark' || (!theme && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark');
}
})();
`,
}}
/>
</head>
<body className={inter.className}>
{children}

View File

@@ -27,7 +27,7 @@ export default function LandingPage() {
secondaryButtonStyle="solid"
headingFontWeight="bold"
>
<div id="nav" data-section="nav">
<div id="nav" data-section="nav" className="hidden md:block">
<NavbarStyleCentered
navItems={[
{ name: "Services", id: "services" },