Skip to content

Commit d41e2e4

Browse files
author
WantClue
committed
Add link bar
1 parent 93469f7 commit d41e2e4

2 files changed

Lines changed: 60 additions & 0 deletions

File tree

src/app/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
import Footer from '@/components/Footer'
44
import LandingHero from '@/components/LandingHero'
5+
import LinksBar from '@/components/LinksBar'
56
import Features from '@/components/Features'
67

78
export default function Home() {
89
return (
910
<div className="flex flex-col min-h-screen">
1011
<main className="flex-1">
1112
<LandingHero />
13+
<LinksBar />
1214
<Features />
1315
</main>
1416
<Footer />

src/components/LinksBar.tsx

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
'use client'
2+
3+
import { ExternalLink } from 'lucide-react'
4+
5+
export default function LinksBar() {
6+
const purchaseLinks = [
7+
{
8+
region: "United States",
9+
url: "https://dub.sh/lIWhNgZ",
10+
retailer: "US Retailer"
11+
},
12+
{
13+
region: "Europe",
14+
url: "https://dub.sh/tmPs27j",
15+
retailer: "EU Retailer"
16+
},
17+
{
18+
region: "United Kingdom",
19+
url: "https://dub.sh/5EXOLfW",
20+
retailer: "UK Retailer"
21+
},
22+
{
23+
region: "Asia",
24+
url: "https://dub.sh/V48T7gP",
25+
retailer: "Asia Retailer"
26+
},
27+
{
28+
region: "Global",
29+
url: "https://dub.sh/HoGhuGr",
30+
retailer: "Global Store"
31+
}
32+
]
33+
34+
return (
35+
<section className="w-full pt-16 pb-8 -mt-8 bg-gradient-to-b from-transparent via-gray-50/50 to-gray-100 dark:from-transparent dark:via-gray-900/50 dark:to-gray-800">
36+
<div className="container px-4 md:px-6">
37+
<div className="text-center mb-6">
38+
<h2 className="text-2xl font-bold mb-2">Get Your Bitaxe</h2>
39+
<p className="text-gray-600 dark:text-gray-400">Purchase from retailers worldwide</p>
40+
</div>
41+
<div className="flex flex-wrap justify-center gap-4">
42+
{purchaseLinks.map((link, index) => (
43+
<a
44+
key={index}
45+
href={link.url}
46+
target="_blank"
47+
rel="noopener noreferrer"
48+
className="flex items-center gap-2 px-4 py-2 bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors duration-200 text-sm font-medium"
49+
>
50+
<span>{link.region}</span>
51+
<ExternalLink className="h-3 w-3" />
52+
</a>
53+
))}
54+
</div>
55+
</div>
56+
</section>
57+
)
58+
}

0 commit comments

Comments
 (0)