Skip to content

Commit

Permalink
refactor: fine-tune layout
Browse files Browse the repository at this point in the history
  • Loading branch information
altaywtf committed Dec 15, 2023
1 parent 5ce0ba7 commit 5219f77
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
8 changes: 7 additions & 1 deletion app/(auth)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ export default function AuthLayout(props: PropsWithChildren) {
minHeight: '80vh',
}}
>
<Link href="/" title="Go to home page">
<Link
href="/"
style={{
lineHeight: 1,
}}
title="Go to home page"
>
<Logo size={64} />
</Link>

Expand Down
9 changes: 4 additions & 5 deletions app/(auth)/sign-in/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ import { FaSpotify } from 'react-icons/fa';
export default function Page() {
return (
<Flex direction="column" gap="4">
<Heading>Welcome to beecast</Heading>
<Heading trim="both">Welcome to beecast</Heading>

<Text color="gray" size="4">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam quod
quia quibusdam quos quae.
<Text color="gray" size="4" trim="both">
A more efficient way to listen podcasts.
</Text>

<form action="/auth/sign-in" method="POST">
Expand All @@ -20,7 +19,7 @@ export default function Page() {
</Flex>
</form>

<Text color="gray" size="1">
<Text color="gray" size="1" trim="both">
By clicking continue, you acknowledge that you have read and understood,
and agree to our{' '}
<Link href="/terms-of-service" target="_blank">
Expand Down
2 changes: 1 addition & 1 deletion components/layout/app-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export function AppHeader(props: Props) {
<Flex direction="column" gap="4" py="4">
<AppContent>
<Flex align="center" justify="between">
<Link href="/">
<Link href="/" style={{ lineHeight: 1 }}>
<Logo size={36} />
</Link>

Expand Down

0 comments on commit 5219f77

Please sign in to comment.