Skip to content

rolodoom/musicband-astro

Repository files navigation

MusicBandAstro

MusicBandAstro is an SEO-ready one-page template for musicians, built with Astro and Tailwind CSS. It includes sections for Videos, Music, Our Story, The Band, Gallery, and Contact. The design is loosely inspired by Agency.

Project history: Originally created as a Pug template, then migrated to React, it has now been rebuilt in Astro for a lightweight and maintainable setup.

Status

GitHub license Netlify Status

Preview

MusicBandSstro

View Live Preview

✨ Features

Key features

  • SEO-ready and performance optimized.
  • Responsive, works on all devices.
  • Built with Astro + Tailwind CSS for maximum flexibility.
  • Easy to customize and extend to fit your needs.
  • Two main components: <Masthead /> and <MastheadSwipe />. Each has its own route: index.astro and swipe.astro so you can view them separately and choose which one you prefer.
  • Gallery with lightbox support for easy image viewing.
  • Smooth animations for interactive elements.
  • Modal dialogs for displaying additional information.

🚀 Getting Started

  1. Create a new project using this template:

    pnpm create astro@latest -- --template rolodoom/musicband-astro
  2. Go to your project folder and install dependencies:

    cd your-project-name
    pnpm i
  3. Start the development server:

    pnpm dev
  4. Open your browser and visit http://localhost:4321 to see your project live.

🧞 Available Commands

All commands are run from the root of the project, from a terminal:

Command Action
pnpm install Installs dependencies
pnpm dev Starts local dev server at localhost:4321
pnpm build Build your production site to ./dist/
pnpm preview Preview your build locally, before deploying
pnpm astro ... Run CLI commands like astro add, astro check
pnpm astro -- --help Get help using the Astro CLI

🔧 Configuration

SEO Configuration

The template includes a BaseHead.astro component that handles all SEO-related meta tags. It supports:

  • Title and description meta tags
  • Open Graph meta tags for social sharing
  • Twitter Card meta tags
  • Canonical URL
  • Favicon

Astro config:

// astro.config.mjs
export default defineConfig({
  site: "https://example.com/", // Replace with your own URL
});

🔧 Replace "https://example.com/" with your site’s URL before deploying.

Tailwind Configuration

Tailwind CSS is pre-configured and ready to use. Customization can be done through the Astro configuration file (astro.config.mjs).

🐛 Bugs and Issues

Have a bug or an issue with this template? Open a new issue here on GitHub.

📝 License

This code is released under the GPL-3.0 license, which means you have the four freedoms to run, study, share, and modify the software. Any derivative work must be distributed under the same or equivalent license terms.

About

SEO-ready Astro + Tailwind CSS one-page template for musicians, loosely inspired by Agency.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors