A retro 90s-styled static website for cafe reviews. Built with Vite, TypeScript, and vanilla CSS.
- Retro 90s web design aesthetic
- Markdown support for reviews (headings, images, lists, code blocks, etc.)
- City and cafe filtering
- SEO optimized with dynamic meta tags
- Docker ready for easy deployment
- Fully static - no backend required
# Clone the repository
git clone https://github.com/byigitt/cafe.bayburt.lu.git
cd cafe.bayburt.lu
# Install dependencies
pnpm install
# Run development server
pnpm dev
# Build for production
pnpm buildEdit index.html:
<title>Your Site Title</title>
<meta name="author" content="Your Name" />Edit src/main.ts - search for "Baris" and replace with your name in:
updateSEO()callsrenderHome()- home titlerenderCafePage()- page title
Create .mdx files in the content/ folder:
---
name: Cafe Name
location: Neighborhood, City
rating: 8
date: 2025-01-15
---
Your review content here with **Markdown** support!
## Sections
You can use headings, lists, images, and more.
- Item 1
- Item 2
> Blockquotes work too!
Edit src/style.css. Key colors:
- Background:
#008080(teal) - Header/Nav:
#000080(navy blue) - Text highlight:
#ffff00(yellow) - Links:
#00ffff(cyan) - Accent:
#ff00ff(magenta)
Update these files with your domain:
index.html- canonical URL and og:urlsrc/main.ts- URLs inupdateSEO()calls
Search for github.com/byigitt/cafe.bayburt.lu in src/main.ts and replace with your repo URL.
cafe.bayburt.lu/
├── content/ # Your .mdx cafe reviews
│ └── cafe-name.mdx
├── src/
│ ├── main.ts # Main application logic
│ ├── style.css # 90s styling
│ └── cafes.json # Generated from content (gitignored)
├── scripts/
│ └── build-content.js # MDX to JSON converter
├── Dockerfile # Docker deployment
└── index.html # Entry point
| Field | Type | Description |
|---|---|---|
name |
string | Cafe name |
location |
string | Format: "Neighborhood, City" |
rating |
number | Rating out of 10 |
date |
string | Visit date (YYYY-MM-DD) |
docker build -t cafe-reviews .
docker run -p 3000:3000 cafe-reviewsThe included Dockerfile works with Dokploy. Just connect your GitHub repo and deploy.
pnpm build
# Upload the `dist` folderpnpm dev- Start development serverpnpm build- Build for productionpnpm content- Generate cafes.json from MDX filespnpm preview- Preview production build
MIT - Feel free to use this for your own cafe reviews!
Created by Baris