The official website and blog for DataPup - a modern, cross-platform database client.
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
datapup.dev/
├── src/
│ ├── components/ # Reusable components
│ ├── content/ # Blog posts (Markdown)
│ ├── layouts/ # Page layouts
│ ├── pages/ # Route pages
│ └── styles/ # Global styles
├── public/ # Static assets
└── .github/ # GitHub Actions workflows
- Framework: Astro
- Styling: CSS with CSS Custom Properties
- Deployment: GitHub Pages
- Content: Markdown with frontmatter
- Create a new
.md
file insrc/content/blog/
- Add frontmatter:
---
slug: my-post-slug
title: My Post Title
description: A brief description
pubDate: 2024-01-01
tags: [tag1, tag2]
---
Your content here...
The site automatically deploys to GitHub Pages when you push to the main
branch.
npm run build
# The built site is in the `dist/` directory
- Add a
CNAME
file to thepublic/
directory with your domain - Configure your DNS to point to GitHub Pages
Edit CSS variables in src/layouts/BaseLayout.astro
:
:root {
--color-primary: #3b82f6;
--color-bg: #ffffff;
/* ... */
}
All components are in src/components/
and can be modified as needed.
MIT License - see LICENSE file for details.