reafactor: converted the entire thing into a nextjs app

This commit is contained in:
2026-01-13 18:59:25 +00:00
parent 562e1a7d0d
commit 91fc911523
236 changed files with 12171 additions and 1443 deletions

35
app/layout.tsx Normal file
View File

@@ -0,0 +1,35 @@
import type { Metadata } from "next";
import { Inter, Poppins } from "next/font/google";
import "./globals.css";
import Navbar from "@/components/Navbar";
import Footer from "@/components/Footer";
const inter = Inter({ subsets: ["latin"], variable: "--font-inter" });
const poppins = Poppins({
weight: ["500", "600", "700"],
subsets: ["latin"],
variable: "--font-poppins",
});
export const metadata: Metadata = {
title: "Nemia - Master Anything with Focus",
description: "Nemia helps you focus and learn faster.",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" className="dark scroll-smooth">
<body
className={`${inter.variable} ${poppins.variable} bg-background-dark text-text-light font-sans min-h-screen selection:bg-primary selection:text-background-dark`}
>
<Navbar />
{children}
<Footer />
</body>
</html>
);
}