Skip to content

Commit

Permalink
Update page
Browse files Browse the repository at this point in the history
  • Loading branch information
emilkowalski committed Jan 29, 2024
1 parent f437029 commit 0f4de3c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 11 additions & 1 deletion website/src/components/Hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ export const Hero = () => {
<div className={styles.toast} />
</div>
<h1 className={styles.heading}>Sonner</h1>
<p style={{ marginTop: 0, fontSize: 18 }}>An opinionated toast component for React.</p>
<p style={{ marginTop: 0, fontSize: 18, textAlign: 'center' }}>
An opinionated toast component for React, by{' '}
<a
href="https://emilkowal.ski/"
target="_blank"
style={{ textDecoration: 'underline', textDecorationThickness: 1 }}
>
Emil
</a>
.
</p>
<div className={styles.buttons}>
<button
data-primary=""
Expand Down
3 changes: 1 addition & 2 deletions website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function Home() {
<div className="wrapper light">
<Head />
<Toaster theme="light" richColors={richColors} closeButton={closeButton} expand={expand} position={position} />
<main className="container">
<main className="container" style={{ marginBottom: 100 }}>
<Hero />
<div className="content">
<Installation />
Expand All @@ -33,7 +33,6 @@ export default function Home() {
<How />
</div>
</main>
<Footer />
</div>
);
}

1 comment on commit 0f4de3c

@vercel
Copy link

@vercel vercel bot commented on 0f4de3c Jan 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.