A modern, dark-themed portfolio website built with Astro and Tailwind CSS.
# Install dependencies
npm install
# Start dev server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview- Push this code to a GitHub repository
- Go to netlify.com and sign up/login
- Click "Add new site" → "Import an existing project"
- Connect your GitHub and select the repository
- Build settings will be auto-detected:
- Build command:
npm run build - Publish directory:
dist
- Build command:
- Click "Deploy site"
Your site will be live at https://your-site-name.netlify.app
- Run
npm run buildlocally - Go to app.netlify.com/drop
- Drag the
distfolder to deploy instantly
- Projects: Edit
src/components/Projects.astro - Services: Edit
src/components/Services.astro - About: Edit
src/components/About.astro - Contact: Edit
src/components/Contact.astro
Edit tailwind.config.mjs to change the color scheme:
colors: {
accent: {
primary: '#00d4aa', // Main accent color
secondary: '#00b894', // Secondary accent
}
}The contact form is pre-configured for Netlify Forms. It will automatically work when deployed to Netlify - no backend required!
/
├── public/
│ └── favicon.svg
├── src/
│ ├── components/
│ │ ├── Nav.astro
│ │ ├── Hero.astro
│ │ ├── Projects.astro
│ │ ├── Services.astro
│ │ ├── About.astro
│ │ ├── Contact.astro
│ │ └── Footer.astro
│ ├── layouts/
│ │ └── Layout.astro
│ └── pages/
│ └── index.astro
├── astro.config.mjs
├── tailwind.config.mjs
└── package.json
- Astro - Static site generator
- Tailwind CSS - Styling
- Netlify - Hosting & Forms
- In Netlify, go to Site settings → Domain management
- Click "Add custom domain"
- Follow the DNS configuration instructions
Built by MarkSDev 🚀