| 1 | import type { Metadata } from "next"; |
| 2 | import { STUDIOS } from "@/lib/data"; |
| 3 | import StudioCard from "@/components/studio/studio-card"; |
| 4 | |
| 5 | export const metadata: Metadata = { |
| 6 | title: "Studios — NORD", |
| 7 | description: "Find and book elite hair studios across Stockholm.", |
| 8 | }; |
| 9 | |
| 10 | export default function StudioPage() { |
| 11 | const openCount = STUDIOS.filter((s) => s.openNow).length; |
| 12 | |
| 13 | return ( |
| 14 | <div className="pt-24 pb-32 max-w-2xl mx-auto"> |
| 15 | {/* Page header */} |
| 16 | <div className="px-6 pb-5 border-b border-white/6"> |
| 17 | <p className="text-[10px] uppercase tracking-widest text-nord-white/30 mb-1">Stockholm</p> |
| 18 | <div className="flex items-baseline justify-between"> |
| 19 | <h1 className="text-2xl font-semibold text-nord-white tracking-tightest">Studios</h1> |
| 20 | <span className="text-[10px] uppercase tracking-widest text-emerald-400/80"> |
| 21 | {openCount} open now |
| 22 | </span> |
| 23 | </div> |
| 24 | </div> |
| 25 | |
| 26 | {STUDIOS.map((studio) => ( |
| 27 | <StudioCard key={studio.id} studio={studio} /> |
| 28 | ))} |
| 29 | </div> |
| 30 | ); |
| 31 | } |