|
| 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