Skip to content

Commit

Permalink
feat: make auth logo clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
altaywtf committed Dec 12, 2023
1 parent cd43711 commit 22fda17
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/(auth)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { PropsWithChildren } from 'react';

import { Logo } from '@/components/logo';
import { Container, Flex } from '@radix-ui/themes';
import Link from 'next/link';

export default function AuthLayout(props: PropsWithChildren) {
return (
Expand All @@ -16,7 +17,10 @@ export default function AuthLayout(props: PropsWithChildren) {
minHeight: '80vh',
}}
>
<Logo size={64} />
<Link href="/" title="Go to home page">
<Logo size={64} />
</Link>

{props.children}
</Flex>
</Container>
Expand Down

0 comments on commit 22fda17

Please sign in to comment.