aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Castiel <sebastien@castiel.me>2023-12-13 05:44:00 -0500
committerSebastien Castiel <sebastien@castiel.me>2023-12-13 05:44:00 -0500
commit705eca8c1c50818d996b350e56507a133ca7e488 (patch)
tree7e42ef6d13bec9fbe5c16a685daaa6c6c8ac7dd9
parentaf3ed68f1c7cbc46198763448c4197d6521f61df (diff)
Add ProductHunt badge
-rw-r--r--src/app/page.tsx16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/app/page.tsx b/src/app/page.tsx
index e1b43e0..6c3ee9f 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -1,3 +1,4 @@
+import { Badge } from '@/components/ui/badge'
import { Button } from '@/components/ui/button'
import {
BarChartHorizontalBig,
@@ -17,6 +18,21 @@ export default function HomePage() {
<main>
<section className="py-16 md:py-24 lg:py-32">
<div className="container flex max-w-screen-md flex-col items-center gap-4 text-center">
+ {new Date().toISOString().startsWith('2023-12-13') && (
+ <div>
+ <a
+ href="https://www.producthunt.com/posts/spliit"
+ target="_blank"
+ >
+ <Badge
+ variant="secondary"
+ className="font-semibold sm:text-base sm:px-4 sm:py-1"
+ >
+ πŸš€ We’re live on ProductHunt today! πŸš€
+ </Badge>
+ </a>
+ </div>
+ )}
<h1 className="!leading-none font-bold text-3xl sm:text-5xl md:text-6xl lg:text-7xl">
Share Expenses <br /> with Friends & Family
</h1>