A clean, modern website for showcasing DJ mixes hosted on SoundCloud and YouTube.
- Astro
- Tailwind CSS
- Netlify (hosting)
# Install dependencies
npm install
# Run dev server
npm run dev
# Build for production
npm run build- Create a new
.mdfile insrc/content/mixes/(e.g.,summer-vibes.md) - Use this template:
---
title: "Your Mix Title"
date: 2025-12-03
description: "Brief description"
coverImage: "/images/your-cover.jpg"
platform: "soundcloud" # or "youtube"
embedUrl: "YOUR_EMBED_URL"
genre: "House"
duration: "45 min"
---
Your mix description in markdown...SoundCloud:
- Go to your track → Share → Embed
- Copy the
srcURL from the iframe - Format:
https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/TRACK_ID...
YouTube:
- Go to your video → Share → Embed
- Copy the
srcURL - Format:
https://www.youtube.com/embed/VIDEO_ID
- Push code to GitHub
- Connect repo to Netlify
- Netlify auto-detects settings from
netlify.toml - Deploy!
├── public/
│ └── images/ # Mix cover images
├── src/
│ ├── content/
│ │ └── mixes/ # Mix markdown files
│ ├── layouts/
│ │ └── BaseLayout.astro
│ └── pages/
│ ├── index.astro
│ ├── archive.astro
│ └── mixes/[slug].astro
└── netlify.toml