Skip to content

Commit

Permalink
Renew sign-in/login page
Browse files Browse the repository at this point in the history
  • Loading branch information
0xinhua committed Jun 22, 2024
1 parent 6119ab7 commit 88f8327
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"rules": {
"tailwindcss/no-custom-classname": "off",
"tailwindcss/classnames-order": "off",
"tailwindcss/enforces-shorthand": "off"
"tailwindcss/enforces-shorthand": "off",
"tailwindcss/no-contradicting-classname": "off"
},
"settings": {
"tailwindcss": {
Expand Down
4 changes: 2 additions & 2 deletions app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export default async function SignInPage() {
<div className="mx-auto grid w-[320px] gap-6">
<div className="grid gap-2 text-center">
<div className="flex text-center items-center justify-center ">
<IconChatBot className='mr-1.5 mt-1.5 mt-0.5 size-8 dark:hidden' />
<IconChatBotDark className='mr-1.5 mt-1.5 mt-0.5 size-8 hidden dark:block' />
<IconChatBot className='mr-1.5 mt-1.5 size-8 dark:hidden' />
<IconChatBotDark className='mr-1.5 mt-1.5 size-8 hidden dark:block' />
<h1 className="text-2xl font-semibold tracking-tight">
JoyChat
</h1>
Expand Down
2 changes: 1 addition & 1 deletion components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export async function Header() {
</div>
) : (
<Button variant="link" asChild className="-ml-2">
<Link href="/sign-in?callbackUrl=/">Login</Link>
<Link href="/login?callbackUrl=/">Login</Link>
</Button>
)}
</div>
Expand Down

0 comments on commit 88f8327

Please sign in to comment.