-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Format all pages with Prettier for consistent code styling
- Loading branch information
Eray Keskin
committed
Nov 29, 2023
1 parent
088f667
commit a7568f1
Showing
76 changed files
with
1,222 additions
and
1,180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { SignIn } from "@clerk/nextjs"; | ||
import { SignIn } from '@clerk/nextjs'; | ||
|
||
export default function Page() { | ||
return <SignIn />; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { SignUp } from "@clerk/nextjs"; | ||
import { SignUp } from '@clerk/nextjs'; | ||
|
||
export default function Page() { | ||
return <SignUp />; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
import Logo from "@/components/Logo"; | ||
import ThemeSwitcher from "@/components/ThemeSwitcher"; | ||
import { UserButton } from "@clerk/nextjs"; | ||
import { ReactNode } from "react"; | ||
import Logo from '@/components/Logo'; | ||
import ThemeSwitcher from '@/components/ThemeSwitcher'; | ||
import { UserButton } from '@clerk/nextjs'; | ||
import { ReactNode } from 'react'; | ||
|
||
function Layout({ children }: { children: ReactNode }) { | ||
return <div className="flex flex-col min-h-screen min-w-full bg-background max-h-screen"> | ||
<nav className="flex justify-between items-center border-b border-border h-[60px] px-4 py-2"> | ||
<Logo/> | ||
<div className="flex gap-4 items-center"> | ||
<ThemeSwitcher/> | ||
<UserButton afterSignOutUrl="/sign-in"/> | ||
</div> | ||
</nav> | ||
<main className="flex w-full flex-grow">{children}</main> | ||
</div> | ||
return ( | ||
<div className="flex flex-col min-h-screen min-w-full bg-background max-h-screen"> | ||
<nav className="flex justify-between items-center border-b border-border h-[60px] px-4 py-2"> | ||
<Logo /> | ||
<div className="flex gap-4 items-center"> | ||
<ThemeSwitcher /> | ||
<UserButton afterSignOutUrl="/sign-in" /> | ||
</div> | ||
</nav> | ||
<main className="flex w-full flex-grow">{children}</main> | ||
</div> | ||
); | ||
} | ||
|
||
export default Layout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ | |
"components": "@/components", | ||
"utils": "@/lib/utils" | ||
} | ||
} | ||
} |
Oops, something went wrong.