Skip to content

Commit

Permalink
feat: add pages & fix logo
Browse files Browse the repository at this point in the history
  • Loading branch information
diwashbhattarai999 committed May 4, 2024
1 parent 8925f99 commit 066a029
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 4 deletions.
5 changes: 5 additions & 0 deletions src/app/(auth)/error/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const ErrorPage = () => {
return <div>Error Page</div>;
};

export default ErrorPage;
13 changes: 13 additions & 0 deletions src/app/(auth)/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from "react";

export default function AuthLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<main className="flex flex-col items-center justify-center min-h-screen w-full bg-muted/30">
{children}
</main>
);
}
5 changes: 5 additions & 0 deletions src/app/(auth)/new-password/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const NewPassword = () => {
return <div>New Password Page</div>;
};

export default NewPassword;
5 changes: 5 additions & 0 deletions src/app/(auth)/new-verification/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const NewVerificationPage = () => {
return <div>NewVerification Page</div>;
};

export default NewVerificationPage;
5 changes: 5 additions & 0 deletions src/app/(auth)/reset/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const ResetPage = () => {
return <div>Reset Page</div>;
};

export default ResetPage;
4 changes: 2 additions & 2 deletions src/app/(main)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import Navbar from "@/components/sections/navbar/nav";

export default function MainLayout({
children,
}: {
}: Readonly<{
children: React.ReactNode;
}) {
}>) {
return (
<>
<Navbar />
Expand Down
16 changes: 14 additions & 2 deletions src/components/ui/logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ const Logo = ({ className }: ILogoProps) => {
className
)}
>
<Image src="/DB-NextStarter.svg" alt="Logo" fill priority />
<Image
src="/DB-NextStarter.svg"
alt="Logo"
fill
priority
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
/>
</Link>
<Link
href="/"
Expand All @@ -26,7 +32,13 @@ const Logo = ({ className }: ILogoProps) => {
className
)}
>
<Image src="/favicon.png" alt="Logo" fill priority />
<Image
src="/favicon.png"
alt="Logo"
fill
priority
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
/>
</Link>
</>
);
Expand Down

0 comments on commit 066a029

Please sign in to comment.