A modern, elegant React website for Birchwood Farms Golf & Country Club built with Vite and Tailwind CSS.
- ⚡ Fast development with Vite
- 🎨 Beautiful, responsive design with Tailwind CSS
- 🌳 Custom Birchwood-themed logo and design elements
- 📱 Mobile-first responsive design
- 🎯 Scalable architecture for multiple pages
- 🚀 Optimized for performance
- 🔐 Member Login System - Secure member portal with authentication
- 🏌️ Member Dashboard - Exclusive member-only features and content
- 💾 Cloudflare Integration - D1 database and Workers for backend functionality
- React 18 - Modern React with hooks
- Vite - Fast build tool and dev server
- Tailwind CSS - Utility-first CSS framework
- React Router - Client-side routing
- Custom Logo - SVG-based Birchwood logo
- Cloudflare Pages - Static site hosting and deployment
- Cloudflare Workers - Serverless functions for API endpoints
- Cloudflare D1 - SQLite-compatible database for member data
- JWT Authentication - Secure member login system
- Primary Navy:
#202c44(primary-950) - White:
#ffffff - Accent Blues: Various shades from primary-50 to primary-900
- Primary Font: Crimson Text (serif) - for headings and elegant text
- Secondary Font: Inter (sans-serif) - for body text and UI elements
src/
├── components/
│ ├── layout/
│ │ ├── Layout.jsx # Main layout wrapper
│ │ ├── Header.jsx # Navigation header
│ │ └── Footer.jsx # Site footer
│ ├── sections/
│ │ ├── Hero.jsx # Homepage hero section
│ │ ├── Welcome.jsx # Welcome/about section
│ │ ├── Features.jsx # Features showcase
│ │ └── CallToAction.jsx # CTA section
│ └── ui/
│ └── BirchwoodLogo.jsx # Custom SVG logo
├── pages/
│ └── Home.jsx # Homepage
├── App.jsx # Main app component
├── main.jsx # App entry point
└── index.css # Global styles and Tailwind imports
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser to
http://localhost:5173
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint
The application is structured to easily accommodate additional pages:
/golf- Golf course information/dining- Restaurant and dining options/events- Event hosting and weddings/membership- Membership information/about- Club history and staff/contact- Contact information and forms/members/login✅ - Member authentication/members/dashboard✅ - Member portal and dashboard/members/profile✅ - Member profile management/members/events✅ - Member events and activities/members/tee-times✅ - Golf tee time booking system
To add a new page:
- Create the page component in
src/pages/ - Add the route to
src/App.jsx - Update navigation in
src/components/layout/Header.jsx
The website includes a complete member login and portal system with online amenities:
For testing and development, use these login credentials:
Member Login: /members/login
- Email:
member@birchwoodcc.com - Password:
member123
Admin Login: /admin/login
- Username:
adminORadmin@birchwoodcc.com - Password:
admin123
See DEV_CREDENTIALS.md for complete development setup information.
- Tee Time Booking - Online golf tee time reservations
- Dining Reservations - Restaurant table bookings
- Guest Pass Management - Generate QR code guest passes
- Event Registration - Club event sign-ups
- Profile Management - Account settings and preferences
- Member Management - Full CRUD operations for member accounts
- System Administration - User status and permissions
- Reporting - Member statistics and activity reports
Create new section components in src/components/sections/ and import them into the relevant page.
Update the color palette in tailwind.config.js under the theme.extend.colors section.
Add new font imports to index.html and update the font family in tailwind.config.js.
Build the production version:
npm run buildThe dist/ folder will contain the optimized build ready for deployment to any static hosting service.
Private project for Birchwood Farms Golf & Country Club.