Login and dashboard added
This commit is contained in:
20
app/dashboard/page.tsx
Normal file
20
app/dashboard/page.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
"use client";
|
||||
|
||||
import Sidebar from "@/components/dashboard/sidebar";
|
||||
|
||||
|
||||
export default function DashboardPage() {
|
||||
return (
|
||||
|
||||
|
||||
<main className="flex bg-[#091522]">
|
||||
<Sidebar />
|
||||
|
||||
<div className="flex-1 p-10 text-white">
|
||||
Main Content
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
);
|
||||
}
|
||||
BIN
app/favicon.ico
Normal file
BIN
app/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
26
app/globals.css
Normal file
26
app/globals.css
Normal file
@@ -0,0 +1,26 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
:root {
|
||||
--background: #ffffff;
|
||||
--foreground: #171717;
|
||||
}
|
||||
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-geist-sans);
|
||||
--font-mono: var(--font-geist-mono);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--background: #0a0a0a;
|
||||
--foreground: #ededed;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
18
app/layout.tsx
Normal file
18
app/layout.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
import "./globals.css";
|
||||
|
||||
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html
|
||||
lang="en"
|
||||
>
|
||||
<body >{children}</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
15
app/login/page.tsx
Normal file
15
app/login/page.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
"use client";
|
||||
import AuthLayout from "@/components/auth/authlayout";
|
||||
import AuthCard from "@/components/auth/authCard";
|
||||
|
||||
export default function LoginPage() {
|
||||
return (
|
||||
|
||||
|
||||
<AuthLayout>
|
||||
<AuthCard />
|
||||
</AuthLayout>
|
||||
|
||||
|
||||
);
|
||||
}
|
||||
7
app/page.tsx
Normal file
7
app/page.tsx
Normal file
@@ -0,0 +1,7 @@
|
||||
import Image from "next/image";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div>heelo</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user