纯 HTML/CSS/JS 单页模板,无框架、无构建步骤、无依赖
smallbiz-website — HTML 启动器模板
作者 git-agent-swarm
面向本地服务商家的单页网站模板,使用原生 HTML/CSS/JS,无需构建步骤,联系表单可写入 Cloud Firestore。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 2
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
移动优先响应式布局,手机单列、桌面多列,带动画汉堡菜单
包含跳转链接、表单标签与内联错误、可见焦点状态和减少动效支持
调色板与字号集中在 CSS 自定义属性,改几个变量即可换品牌
联系表单通过 Firebase Web SDK 写入 Cloud Firestore,规则限制为仅创建并校验字段
含 Firebase Hosting 配置与 GitLab Pages CI 配置
模板详细介绍
这是一个面向本地服务型商家(如园艺、水电、咖啡馆、沙龙、承包商、牙科诊所等)的单页网站模板。页面结构包含固定导航、带行动按钮与信任数据的首屏、服务网格、项目图库、关于、客户评价轮播、联系表单和页脚。模板使用语义化 HTML、CSS 自定义属性与原生 JavaScript,不依赖框架,也没有构建步骤,直接以静态文件方式提供服务即可。样式上采用移动优先的响应式布局,手机端单列、桌面端多列,并配有动画汉堡菜单。可访问性方面包含跳转链接、带标签的表单字段与内联错误提示、可见焦点状态以及对 prefers-reduced-motion 的支持。主题定制集中在 css/styles.css 顶部的 :root 变量,修改调色板与字号比例即可换品牌。联系表单通过 Firebase Web SDK 将提交内容写入 Cloud Firestore 的 /leads 集合,配合 firestore.rules 实现仅创建、字段校验、禁止客户端读取或修改;Firebase 采用延迟加载。演示站点托管在 Firebase Hosting,仓库同时包含用于 GitLab Pages 的 CI 配置。使用前需自行配置 Firebase 项目并核对额度与收费;演示图片、字体、图标等第三方素材需单独核对许可。
适合你的项目吗?
适用场景
- 为园艺、水电、清洁等本地服务商家快速搭建单页展示站
- 作为咖啡馆、沙龙、诊所等本地门店的落地页起点
- 用作静态站点与 Firestore 表单收集的练习或演示项目
- 在无构建工具链的前提下交付可定制的客户网站
适合人群
- 需要单页展示与线索收集的本地服务商家
- 希望直接编辑 HTML 与 CSS 变量、不引入框架的开发者
- 需要静态托管(Firebase Hosting 或 GitLab Pages)的部署场景
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
无需构建:克隆后直接用 python3 -m http.server 8000 等静态服务器打开,或直接打开 index.html
- 2
业务名称与文案在 index.html 修改,颜色、字体与间距在 css/styles.css 的 :root 变量修改
- 3
联系表单依赖 Cloud Firestore:需自行创建 Firebase 项目、配置 js/firebase-form.js 并部署 firestore.rules
- 4
演示图片、字体、图标等第三方素材需按各自许可单独核对
- 5
启用 Firebase 相关功能前需核对 Firebase 的额度与收费
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 联系表单依赖 Cloud Firestore:需自行创建 Firebase 项目、配置 js/firebase-form.js 并部署 firestore.rules,否则表单无法收集线索。
- 查看提交的线索需使用 Firebase 控制台或 Admin SDK,并需执行 firebase deploy 部署规则与托管。
- GitLab Pages 部署依赖仓库中的 .gitlab-ci.yml 配置,需在 GitLab 环境中使用。
- 项目图库默认使用内联 SVG/CSS 渐变占位,替换为真实照片需自行准备并核对图片许可。
- README 提及 Firebase 集成;启用相关动态功能前需自行配置,并核对 Firebase 的额度与收费。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Submissions are written to **Cloud Firestore** from the browser via the Firebase web SDK (`js/firebase-form.js`) — no server to run or maintain.
README 原文
The site owner reads incoming leads in the Firebase console or via the Admin SDK. Deploy rules + hosting with `firebase deploy`.
README 原文
a `.gitlab-ci.yml` is also included for GitLab Pages CI.
README 原文
https://github.com/git-agent-swarm/smallbiz-website/blob/main/LICENSEhttps://github.com/git-agent-swarm/smallbiz-website/blob/main/README.mdProject photos | swap the `.gallery-item` blocks for `<img>` tags
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-03。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 80 / 100
- 技术栈
- HTML
- 网站类型
- 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-06-19
- 截图检查日期
- 2026-10-03
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 HTML。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
审核声明: [email protected] · 2026-10-04
查看当时使用的来源资料
SHA-256: 374ab6e2bea746731469a1e7adf3baab712b6f49e94c05e2aa9c461589ce35ec
2026-10-03T22:51:00.807Z
来源文件 / 仓库# smallbiz-website — Cedar & Stone A fast, modern, fully responsive **single-page website for a local service business**, built with plain HTML, CSS, and JavaScript — no frameworks, no build step, no dependencies. Clone it, swap the text and colors, and it's ready to ship. It's set up as a realistic demo for a fictional landscaping company, but it's really a **reusable template** for any local business (plumber, cafe, salon, contractor, dentist). 🔗 **Live demo:** **https://cedarstone-demo.web.app** (hosted on Firebase)      ## Features - **Mobile-first & responsive** — one column on phones, multi-column on desktop, with an animated hamburger menu. - **Accessible** — semantic landmarks, a skip link, labeled form fields with inline error messages, visible focus states, and `prefers-reduced-motion` support. - **Fast** — no frameworks or images to download; hero/illustrations are inline SVG and CSS gradients, so it loads almost instantly. - **Themeable** — the whole palette and type scale live in CSS custom properties at the top of `css/styles.css`; change a few variables to rebrand. - **Interactive, without bloat** — scroll-reveal animations, an auto-rotating testimonial slider with clickable dots, and accessible form validation in vanilla JS. - **Real backend — leads captured in Firestore.** The contact form writes straight to Cloud Firestore (no server to run), protected by tight security rules (`firestore.rules`): create-only on `/leads`, every field validated, and no client can read, update, or delete. Firebase is loaded lazily so an early submit never misses. - **Deployed on Firebase Hosting** — live at [cedarstone-demo.web.app](https://cedarstone-demo.web.app) (config in `firebase.json`); a `.gitlab-ci.yml` is also included for GitLab Pages CI. ## Sections Sticky nav · hero with CTAs and trust stats · services grid · project gallery · about · testimonials slider · contact form · footer. ## Run it locally No build needed — it's static files. Just serve the folder: ```bash git clone https://gitlab.com/broussardkobey67/smallbiz-website.git cd smallbiz-website python3 -m http.server 8000 # then open http://localhost:8000 ``` (Or just open `index.html` directly in a browser.) ## Make it yours | To change… | Edit… | |---|---| | Business name, copy, services | `index.html` | | Colors, fonts, spacing | the `:root` variables in `css/styles.css` | | Logo / favicon | `assets/favicon.svg` and the inline `.brand-mark` SVG | | Project photos | swap the `.gallery-item` blocks for `<img>` tags | | Where the form sends | wire the submit handler in `js/main.js` to an email/CRM endpoint | ## The contact form (Firestore backend) Submissions are written to **Cloud Firestore** from the browser via the Firebase web SDK (`js/firebase-form.js`) — no server to run or maintain. Security is enforced by `firestore.rules`: - **create-only** on the `/leads` collection — anyone can submit, nobody can read - every field is **validated** (types, lengths, email format, server timestamp) - **everything else is denied** (no read/update/delete, no other collections) The site owner reads incoming leads in the Firebase console or via the Admin SDK. Deploy rules + hosting with `firebase deploy`. > The Firebase web API key in the config is public by design — it only > identifies the project; access is governed entirely by the Firestore rules. ## Public Proof Context Built by Kobey Dev Services as a local-business website and lead-capture demo. - Portfolio: https://kobeydev.com - Live demo: https://cedarstone-demo.web.app - GitHub org: https://github.com/git-agent-swarm - Google Developer profile: https://me.developers.google.com/u/116492041557080639666 ## License MIT © Kobey Broussard — free to use and adapt for client work.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

startbootstrap-simple-sidebar
An off canvas sidebar navigation Bootstrap HTML template created by Start Bootstrap
HTML · 启动器

adminkit
AdminKit is a free & open-source HTML dashboard & admin template based on Bootstrap 5
HTML · 后台

Landing-Page
Tailwind CSS Starter Template - Landing Page
HTML · 企业官网

light-bootstrap-dashboard
Light Bootstrap Dashboard is an admin dashboard template designed to be beautiful and simple.
HTML · 后台

sing-app
💥Free and open-source admin dashboard template built with Bootstrap 4.5 💥
HTML · 后台

startbootstrap-modern-business
A multipurpose Bootstrap full website template created by Start Bootstrap
HTML · 启动器
