Skip to content

Latest commit

Β 

History

History
108 lines (79 loc) Β· 2.46 KB

File metadata and controls

108 lines (79 loc) Β· 2.46 KB

MarkSDev Portfolio

A modern, dark-themed portfolio website built with Astro and Tailwind CSS.

πŸš€ Quick Start

Local Development

# Install dependencies
npm install

# Start dev server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

πŸ“¦ Deploying to Netlify (Free)

Option 1: Deploy via GitHub (Recommended)

  1. Push this code to a GitHub repository
  2. Go to netlify.com and sign up/login
  3. Click "Add new site" β†’ "Import an existing project"
  4. Connect your GitHub and select the repository
  5. Build settings will be auto-detected:
    • Build command: npm run build
    • Publish directory: dist
  6. Click "Deploy site"

Your site will be live at https://your-site-name.netlify.app

Option 2: Drag & Drop Deploy

  1. Run npm run build locally
  2. Go to app.netlify.com/drop
  3. Drag the dist folder to deploy instantly

🎨 Customization

Update Your Info

  • Projects: Edit src/components/Projects.astro
  • Services: Edit src/components/Services.astro
  • About: Edit src/components/About.astro
  • Contact: Edit src/components/Contact.astro

Colors

Edit tailwind.config.mjs to change the color scheme:

colors: {
  accent: {
    primary: '#00d4aa',    // Main accent color
    secondary: '#00b894',  // Secondary accent
  }
}

Contact Form

The contact form is pre-configured for Netlify Forms. It will automatically work when deployed to Netlify - no backend required!

πŸ“ Project Structure

/
β”œβ”€β”€ 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

πŸ”§ Tech Stack

πŸ“ Adding Custom Domain (Optional)

  1. In Netlify, go to Site settings β†’ Domain management
  2. Click "Add custom domain"
  3. Follow the DNS configuration instructions

Built by MarkSDev πŸš€