Skip to content

An opinionated toast component for React.

Update page

emilkowalski0f4de3cfb91c
diff --git a/website/src/components/Hero/index.tsx b/website/src/components/Hero/index.tsx
index 2e9dbcc..cd221b4 100644
--- a/website/src/components/Hero/index.tsx
+++ b/website/src/components/Hero/index.tsx
@@ -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=""
diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsx
index bbe9ec3..aa5f020 100644
--- a/website/src/pages/index.tsx
+++ b/website/src/pages/index.tsx
@@ -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 />
@@ -33,7 +33,6 @@ export default function Home() {
<How />
</div>
</main>
- <Footer />
</div>
);
}