A modern website for Groundwork featuring 5 distinct style variations showcasing different design approaches for regenerative agriculture investment platform.
- 5 Distinct Style Variations: Switch between Minimalist, Editorial, Organic, Corporate, and Playful designs
- React + TypeScript: Modern, type-safe development
- Vite: Fast development and optimized builds
- Tailwind CSS: Utility-first styling
- GitHub Pages Ready: Automated deployment workflow
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview-
Create a GitHub repository (if not already created):
git init git add . git commit -m "Initial commit" git branch -M main git remote add origin https://github.com/YOUR_USERNAME/groundwork.git git push -u origin main
-
Enable GitHub Pages:
- Go to your repository Settings → Pages
- Under "Source", select "GitHub Actions"
- The workflow will automatically deploy on push to
mainbranch
The site is configured for a repository named groundwork. If your repository has a different name:
-
Update
baseinvite.config.ts:base: '/your-repo-name/',
-
The site will be available at:
https://YOUR_USERNAME.github.io/your-repo-name/
The GitHub Actions workflow (.github/workflows/deploy.yml) will:
- Build the site automatically on every push to
main - Deploy to GitHub Pages
- Handle all the necessary configuration
Use the style selector dropdown (top-right corner) to switch between:
- Minimalist: Clean, modern, spacious design
- Editorial: Bold, high-contrast, magazine-style
- Organic: Flowing, nature-inspired, warm tones
- Corporate: Structured, professional, grid-based
- Playful: Dynamic, creative, experimental
groundwork/
├── .github/
│ └── workflows/
│ └── deploy.yml # GitHub Pages deployment
├── src/
│ ├── components/
│ │ ├── heroes/ # Style-specific hero sections
│ │ ├── services/ # Style-specific service sections
│ │ └── ... # Other components
│ ├── contexts/
│ │ └── StyleContext.tsx # Style management
│ └── ...
├── vite.config.ts # Vite configuration (base path)
└── package.json
- Base:
#FEFDFC- Light, Clear - Growth (dark):
#5B0802- Organic, Earthy (top) - Growth (green):
#576148- Organic, Earthy (bottom) - Accent:
#C7BCED- Bold, Vibrant - Bridge:
#F29539- Warm, Inviting
Private project - All rights reserved