Skip to content

chiragbhatt311/website_builder1

Repository files navigation

Sugar Sovereign

Handcrafted artisanal lollipops — elevated flavors for gifting and special occasions.

Structure

  • index.html — Home page with hero and featured products
  • shop.html — Catalog with filters
  • product.html — Product detail template
  • about.html, contact.html, faq.html, terms.html — Informational pages
  • data/products.json — Product data
  • assets/images/ — Images
  • styles/style.css — Styles
  • scripts/main.js — Client-side logic
  • .nojekyll — Prevents Jekyll processing
  • 404.html — Custom not found page
  • .github/workflows/gh-pages.yml — GitHub Pages deployment workflow
  • CNAME — Custom domain configuration

Deployment

This repo is configured to deploy to GitHub Pages via GitHub Actions:

  1. Push changes to the main branch.
  2. GitHub Actions will build and deploy the site to Pages automatically.
  3. Ensure Pages is enabled in your repo settings, with source set to GitHub Actions.

The GITHUB_TOKEN secret is automatically provided by GitHub for Actions. No additional secrets are required for static deployment.

Adding Products

Edit data/products.json to add or update products. Include all required fields.

Payment Integration

Currently, "Order" buttons link to a mailto: address. To integrate payments later, consider:

  • Embedding a Shopify Buy Button
  • Using Stripe Checkout with client-only integration (requires serverless functions or third-party services)

License

All rights reserved.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published