Website für ₿rook6, einen fiktiven Bitcoin-Stammtisch in der Hamburger Speicherstadt – Dummy-/Platzhalter-Projekt, das die technische Struktur von bamo21.de übernimmt, inhaltlich aber komplett eigenständig ist.
Built as a static single-page application with React 19, Vite and Tailwind CSS, using react-router-dom for client-side routing, framer-motion for animations and lucide-react for icons.
- React 19 – UI components (function components + hooks)
- Vite 7 – dev server and production bundler
- Tailwind CSS 3 – utility-first styling with a river/brick palette in
tailwind.config.js:brand(Bitcoin orange),brick(red klinker brick),brook(murky Fleet-blue) anddusk(dark fog/night neutral) - react-router-dom 7 – routes for the home page and legal pages (
/de/impressum,/de/datenschutz) - Path alias
@/maps tosrc/(seejsconfig.json)
src/App.jsx– app root, routing setupsrc/components/– page sections (Hero, Facts, About, Footer, Navigation, Impressum, Datenschutz)src/hooks/useStaleBuildReload.js– reloads stale pre-rendered tabs once a newer build is liveassets/logo-brook6.svg– simple placeholder logopublic/– static assets (favicon,.htaccess)
- Block height as version stamp: at build time,
vite.config.jsfetches the current Bitcoin block height from mempool.space and injects it into the footer. If the request fails, axxxxxxplaceholder is shown instead. - Dummy content: all text, the address ("Brook 6, Speicherstadt Hamburg") and the Impressum/Datenschutz data are fictional placeholders and clearly marked as such.
npm install
npm run devnpm run buildProduces a static dist/ folder (HTML/CSS/JS). No Node.js server is required in
production.
Upload the contents of dist/ (not the folder itself) to the web root of any static
web host. Make sure the server honors the included .htaccess (or equivalent rewrite
rules): it provides the HTTPS redirect and the SPA fallback to index.html, without
which direct requests to sub-pages (e.g. /de/impressum) return a 404.