6 Commits

Author SHA1 Message Date
f328789529 Update src/app/layout.tsx 2026-03-09 02:21:47 +00:00
bb968cb42f Merge version_7 into main
Merge version_7 into main
2026-03-09 02:19:01 +00:00
89162110a5 Update src/app/layout.tsx 2026-03-09 02:18:57 +00:00
dbe10fd339 Merge version_6 into main
Merge version_6 into main
2026-03-09 02:12:07 +00:00
c30e085f05 Update src/app/page.tsx 2026-03-09 02:12:04 +00:00
91b9f8bbe8 Merge version_5 into main
Merge version_5 into main
2026-03-09 00:40:27 +00:00
2 changed files with 30 additions and 29 deletions

View File

@@ -1,14 +1,15 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./styles/variables.css";
import "./styles/base.css";
import { DM_Sans } from "next/font/google";
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
const dmSans = DM_Sans({
variable: "--font-dm-sans", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Axis - Personal Growth Platform", description: "Map your growth across mind, body, spirit, and vocation. Track your progress and achieve true life balance."};
title: "Axis - Personal Growth Platform", description: "Track your mind, body, spirit, and vocation in one unified system. Transform scattered self-improvement into structured, measurable progress."
};
export default function RootLayout({
children,
@@ -17,29 +18,23 @@ export default function RootLayout({
}) {
return (
<html lang="en" suppressHydrationWarning>
<body className={`${inter.variable}`}>
{children}
<script
id="lenis-script"
dangerouslySetInnerHTML={{
__html: `
const html = document.documentElement;
const body = document.body;
let lenis;
const initLenis = () => {
import('https://cdn.jsdelivr.net/gh/darkroomengineering/lenis@latest/bundled/lenis.js').then(() => {
lenis = new window.Lenis();
function raf(time) {
lenis.raf(time);
requestAnimationFrame(raf);
}
requestAnimationFrame(raf);
});
};
initLenis();
`,
}}
/>
<body className={`${dmSans.variable} antialiased`}>
<ServiceWrapper>
<Tag />
{children}
</ServiceWrapper>
<script>
{`
(function() {
try {
const theme = localStorage.getItem('theme') || 'light';
if (theme === 'dark') {
document.documentElement.classList.add('dark');
}
} catch (e) {}
})();
`}
</script>
<script
dangerouslySetInnerHTML={{
@@ -1410,4 +1405,12 @@ export default function RootLayout({
</body>
</html>
);
}
function ServiceWrapper({ children }: { children: React.ReactNode }) {
return <>{children}</>;
}
function Tag() {
return null;
}

View File

@@ -31,7 +31,6 @@ export default function LandingPage() {
brandName="Axis"
navItems={[
{ name: "Features", id: "howitworks" },
{ name: "How It Works", id: "howitworks" },
{ name: "Testimonials", id: "testimonials" },
{ name: "FAQ", id: "faq" },
{ name: "Contact", id: "contact" }
@@ -215,7 +214,6 @@ export default function LandingPage() {
{
title: "Product", items: [
{ label: "Features", href: "#howitworks" },
{ label: "How It Works", href: "#howitworks" },
{ label: "Pricing", href: "#" },
{ label: "Download", href: "https://example.com/download" }
]