Skip to content

Latest commit

Β 

History

History
105 lines (77 loc) Β· 2.42 KB

File metadata and controls

105 lines (77 loc) Β· 2.42 KB

Dust Marketing Site

Official marketing website for Dust Media Server - a free and open-source media server for eBooks and digital comics.

πŸš€ Quick Start

# Install dependencies
npm install

# Start dev server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

πŸ“ Project Structure

dust-site/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ layouts/
β”‚   β”‚   └── Layout.astro       # Main layout with navbar and footer
β”‚   └── pages/
β”‚       β”œβ”€β”€ index.astro         # Homepage
β”‚       β”œβ”€β”€ features.astro      # Features page
β”‚       β”œβ”€β”€ setup.astro         # Setup guide
β”‚       β”œβ”€β”€ developers.astro    # API & developer docs
β”‚       └── about.astro         # About page
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ favicon.svg             # Site favicon
β”‚   └── images/                 # Add hero image and other assets here
└── astro.config.mjs            # Astro configuration

πŸ“Έ Adding a Hero Image

Replace the placeholder on the homepage by adding your screenshot:

  1. Take a screenshot of your Dust server
  2. Save it as public/images/hero.png (or .jpg, .webp)
  3. Update src/pages/index.astro:
<!-- Replace this: -->
<div class="hero-placeholder">
  <p>πŸ“š Hero Image Placeholder</p>
</div>

<!-- With this: -->
<img src="/images/hero.png" alt="Dust Media Server" />

🎨 Customization

Colors

Edit CSS variables in src/layouts/Layout.astro:

:root {
  --color-primary: #3b82f6;      /* Primary blue */
  --color-primary-dark: #2563eb; /* Darker blue */
  --color-secondary: #8b5cf6;    /* Purple */
  --color-accent: #06b6d4;       /* Cyan */
  /* ... */
}

Site Metadata

Update astro.config.mjs:

export default defineConfig({
  site: 'https://your-domain.com',
  base: '/',
});

πŸ“¦ Building for Production

npm run build

Output will be in dist/ directory. Deploy to any static hosting:

  • GitHub Pages: Push dist/ to gh-pages branch
  • Netlify/Vercel: Connect repo and auto-deploy
  • Own Server: Copy dist/ contents to web root

πŸ”— Links

πŸ“ License

MIT - Same as Dust Media Server