mirror of
https://github.com/chobbledotcom/avo-coffee.git
synced 2026-11-30 05:23:44 +00:00
No description
- SCSS 73%
- HTML 18.8%
- Nix 3.8%
- JavaScript 2.7%
- Liquid 1.3%
- Other 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Replace R-J-dev/bunny-deploy, which overwrote files in place in the storage zone and could serve stale objects after a successful upload. The zone has been imported as a Bunny Site, so deploys now go to an immutable deploys/<id>/ directory and publishing moves the router. The deploy job is now limited to main, since the action publishes whatever it deploys. Drop the storage zone password, pull zone id and replication timeout inputs, which the new action no longer takes. |
||
| .github/workflows | ||
| _lib | ||
| bin | ||
| src | ||
| .eleventy.js | ||
| .envrc | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Avo Coffee Website
A minimal, responsive website for Avo Coffee, a family-run cafe in Haslingden, Rossendale offering freshly prepared food and great coffee.
Website Structure
Main Content Areas
- Pages:
src/pages/- Main site pages including home, about, menu, and contact - Blog Posts:
src/blog/- Individual blog posts and news updates - Snippets:
src/snippets/- Reusable content blocks that can be inserted into any page - Assets:
src/assets/- Images, logos, and other static files- Photos:
src/assets/photos/- Photos
- Photos:
Layout & Design
- Layouts:
src/_layouts/- Page templates and structure - Styling:
src/css/- SCSS style files - Site Data:
src/_data/- Global site configuration
Editing Content
Site Configuration
Edit src/_data/site.json to update:
- Site name
- Contact information
- Social media links
- Hours and address
Homepage Content
The homepage sections can be edited in:
src/snippets/home-intro.md- Introduction sectionsrc/snippets/home-menu.md- Featured menu items
Blog Posts
Add new blog posts in the src/blog/ directory with the following data at the top of the file:
---
title: Post Title
description: Brief summary for SEO
---
And name the file YYYY-MM-DD-blog-post-name.md
Development
- Run
nix developto enter the development environment - Run
npm run serveto preview the site locally - Run
npm run buildto build the site for production - Run
bin/lintto format code with Biome
License
Licensed under the AGPL-3.0 License.