First Commit

This commit is contained in:
2026-03-04 14:21:07 +00:00
commit 86cfe54f6e
38 changed files with 1399 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import "@/styles/globals.css";
import "@radix-ui/themes/styles.css";
import type { AppProps } from "next/app";
import { Theme } from "@radix-ui/themes";
export default function App({ Component, pageProps }: AppProps) {
return (
<Theme>
<Component {...pageProps} />
</Theme>
);
}
+13
View File
@@ -0,0 +1,13 @@
import { Html, Head, Main, NextScript } from "next/document";
export default function Document() {
return (
<Html lang="en">
<Head />
<body className="antialiased">
<Main />
<NextScript />
</body>
</Html>
);
}
+13
View File
@@ -0,0 +1,13 @@
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
import type { NextApiRequest, NextApiResponse } from "next";
type Data = {
name: string;
};
export default function handler(
req: NextApiRequest,
res: NextApiResponse<Data>,
) {
res.status(200).json({ name: "John Doe" });
}
+10
View File
@@ -0,0 +1,10 @@
import Main from "@/components/pages/auth/login";
import Layout from "@/layouts/login";
export default function LoginPage() {
return (
<Layout>
<Main />
</Layout>
);
}
+11
View File
@@ -0,0 +1,11 @@
import Main from "@/components/pages/home";
import Layout from "@/layouts/login";
import { Heading } from "@radix-ui/themes";
export default function Home() {
return (
<Layout>
<Main />
</Layout>
);
}