This is a static website designed for a residential contractor. It is built to be fast, secure, and easy to maintain with full ownership.
- Responsive Design: Looks good on mobile, tablet, and desktop.
- Gallery: Showcase your work with a grid layout and hover effects.
- Contact Form: Integrated with Netlify Forms for easy lead collection.
- CMS (Optional): Pre-configured for Netlify CMS to allow easy content editing without touching code.
index.html: The main homepage containing all sections (Hero, About, Gallery, Contact).assets/: Contains styles (styles.css), scripts (main.js), and images.admin/: Configuration for Netlify CMS.
- Text: Open
index.htmlin any text editor. Look for the text you want to change and edit it. - Images:
- Place new images in
assets/images/. - In
index.html, find the gallery section and duplicate a.gallery-itemblock. - Update the
srcattribute (currently using placeholders) to point to your new image, e.g.,assets/images/kitchen.jpg.
- Place new images in
- Go to
yourdomain.com/admin. - Login with your credentials.
- Use the interface to update text and upload new gallery images.
This site is ready to be deployed on Netlify.
- Create a Netlify account.
- Select "New site from Git".
- Connect your GitHub repository.
- Build settings:
- Build command: (Leave empty)
- Publish directory:
contractor-site(or root if you moved files up)
- Click "Deploy site".
The contact form is pre-configured for Netlify Forms.
- Add
data-netlify="true"to the form tag (already done). - Submissions will appear in your Netlify dashboard under "Forms".
To transfer this to the contractor:
- GitHub: Settings -> General -> Transfer ownership.
- Netlify: Site settings -> General -> Transfer site.