A modern, responsive website for Grafton Tennis and Squash Club, established in 1888.
- Modern, responsive design optimized for all devices
- SEO-friendly structure
- Information about tennis and squash facilities
- Coaching program details
- Membership information
- Club news and events
- Contact information
- Next.js - React framework
- TypeScript - Type safety
- Tailwind CSS - Styling
- Vercel - Hosting and deployment
- Clone the repository
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open http://localhost:3000 in your browser
The website uses Next.js Image Optimization for efficient image loading and delivery:
Images are stored in the /public/images directory. These images are:
- Automatically optimized by Next.js
- Served with proper formats and sizes based on the client device
- Lazy-loaded for better performance
To add new images to the website:
- Place image files in the
/public/imagesdirectory - Reference them in components using the path
/images/your-image.jpg - Use the Next.js Image component for optimal delivery:
import Image from 'next/image';
<Image
src="/images/example.jpg"
alt="Description"
width={800}
height={600}
className="object-cover"
/>For content managers, we've created a simple admin interface at /admin that demonstrates how images can be uploaded and managed. In a production environment, this would be expanded with authentication and more robust image management capabilities.
The website is deployed to Vercel for optimal performance:
- Push changes to the GitHub repository
- Vercel automatically builds and deploys the site
- Visit the live site at https://grafton-tennis-squash.vercel.app
All rights reserved. This site was created for Grafton Tennis and Squash Club.