Next.jsReact企业官网启动器

Restaurant-Template — Next.js 企业官网模板

作者 jonathanrao99

基于 Next.js App Router 的餐厅官网模板,面向餐车与小型餐饮,内置首页、菜单、关于、餐饮承办与下单入口页面,品牌信息由环境变量驱动。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

3 个预览视图
桌面端首页1 / 3
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 3

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-01查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

包含首页、菜单、关于、Catering 与 Order 五个页面

02

菜单页提供素食标记与辣度提示

03

品牌、联系方式、社交、SEO 与 JSON-LD 由 NEXT_PUBLIC_* 环境变量驱动

04

使用 Next.js App Router、React 与 Tailwind CSS 构建

05

以 GitHub 模板形式提供,附带 TEMPLATE.md 配置与部署清单

06

代码采用 MIT 许可

模板详细介绍

这是一个面向餐车和小型餐饮商家的 Next.js 网站模板,最初为得克萨斯州 Katy 的印度街头小吃品牌 Desi Flavors Katy 搭建。站点包含首页、菜单、关于、Catering(餐饮承办)和 Order(下单)五个页面:菜单页带素食标记与辣度提示,下单页通过外链把访客引导到 Square 及外卖平台。

品牌名、联系方式、社交链接、SEO 与 JSON-LD 结构化数据均由 NEXT_PUBLIC_* 环境变量控制,仓库提供 .env.example 作为填写参考。地图功能需要配置 NEXT_PUBLIC_GOOGLE_MAPS_API_KEY,Search Console 验证对应 NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION。

技术栈为 Next.js App Router、React 与 Tailwind CSS,动画部分使用 Framer Motion,部署路径以 Vercel 为主,git push 后由 Vercel 执行 next build。仓库以 GitHub 模板形式提供,附带 TEMPLATE.md 说明环境变量、需替换的内容与部署步骤。

许可方面,代码采用 MIT 许可,可免费使用、修改、商用和分发,分发时需保留版权与许可声明。演示图片、字体、图标等第三方素材需单独核对许可;域名、托管、支付或 AI 等外部服务可能另行收费。

Next.jsReact企业官网启动器

适合你的项目吗?

适用场景

  • 为餐车或小型餐饮店搭建带菜单展示的官网
  • 在菜单页标注素食选项与辣度,方便顾客点单
  • 通过下单页把顾客引导到 Square 或外卖平台
  • 为办公室活动或婚礼等场景展示餐饮承办服务
  • 作为学习 Next.js App Router 与 Tailwind 的参考项目

适合人群

  • 餐车经营者
  • 小型餐饮商家
  • 需要菜单与下单入口的餐饮官网项目
  • 接受通过环境变量配置品牌信息的开发者

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    需要安装 Node.js,然后运行 npm install 与 npm run dev 启动本地开发

  2. 2

    复制 .env.example 为 .env.local 并填写品牌、联系方式、社交与 SEO 等变量

  3. 3

    地图功能需配置 NEXT_PUBLIC_GOOGLE_MAPS_API_KEY

  4. 4

    部署到 Vercel 时设置 NEXT_PUBLIC_SITE_URL 为生产地址,以保证 Open Graph、robots.txt 与 sitemap.xml 正确

  5. 5

    生产构建使用 npm run build,可在构建后运行 npm start 本地验证

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 地图功能依赖 Google Maps API Key,需自行申请并配置 NEXT_PUBLIC_GOOGLE_MAPS_API_KEY;Google Maps 服务可能产生费用或受其条款限制。
  • Search Console 验证为可选,需使用自己的 Google 账号与验证令牌配置 NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION。
  • 部署路径以 Vercel 为主,使用该托管服务需注册 Vercel 账号,超出免费额度可能产生费用。
  • 下单入口为外链,指向 Square、Toast 或自有下单页等第三方服务,这些服务需单独注册并可能收费。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

add at least `NEXT_PUBLIC_GOOGLE_MAPS_API_KEY` if you want maps to work locally

README 原文

Optional: `NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION` for Search Console

README 原文

**Vercel** is the happy path: push, build, done.

README 原文

**Order link** is configured with `NEXT_PUBLIC_ORDER_URL` (e.g. Square, Toast, or your ordering page).

README 原文
https://github.com/jonathanrao99/Restaurant-Template/blob/main/LICENSEhttps://github.com/jonathanrao99/Restaurant-Template/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-01。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 88 / 100
技术栈
Next.js · React
网站类型
企业官网 · 启动器
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2026-04-07
截图检查日期
2026-10-01

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Next.js。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。

查看当时使用的来源资料

SHA-256: 35a5cdad42aefb3cd8a863bb1f1fd5a83b6974bff9e2e0f165722698d8ae971d

2026-10-01T15:23:14.535Z

来源文件 / 仓库
# Restaurant site template (Next.js + Vercel)

**Use this as a GitHub template:** see **[TEMPLATE.md](./TEMPLATE.md)** for the full checklist (env vars, content to replace, deploy).

**Demo / live example:** [restaurant-template-dfk.vercel.app](https://restaurant-template-dfk.vercel.app).

---

Brand, contact, social, SEO, and JSON-LD are driven by **`NEXT_PUBLIC_*` environment variables** (see `.env.example`). After creating a new repo from the template, copy `.env.example` → `.env.local`, fill in your values, and mirror them in Vercel.

This codebase was originally built for **Desi Flavors Katy** (Indian street food in Katy, Texas). Fork it, change the env and content, and make it yours.

If you are a developer: hi, thanks for reading. If you are here because someone dropped a GitHub link in your lap with zero explanation: also hi. The food is real, the truck is real, and the menu has opinions.

## What is actually on the site

- **Home** - Photos, energy, and a reason to stay longer than five seconds  
- **Menu** - Full spread with vegetarian flags, heat warnings, and the occasional item that will judge you if you order mild  
- **About** - The story, the truck, the “why Katy?” energy  
- **Catering** - For when your office or your cousin’s wedding needs trays, not tiny samples  
- **Order** - Big friendly buttons that send people to Square and the delivery apps so nobody gets lost  

We are not trying to win a minimalist yourgn award for an empty white page. We are trying to make you hungry and then hand you a link.

## Stack, but make it quick

Next.js (App Router), React, Tailwind, Framer Motion when a section needs a little drama, and Vercel for hosting. No separate “upload the `out/` folder” step-`git push` and let Vercel run `next build`. If you wanted a forty-bullet architecture doc, wrong README; this one believes in sunlight and garlic.

## Run it on your machine

You need Node.js. Then:

```bash
npm install
npm run dev
```

Your terminal will nag you with a URL-usually `http://localhost:3000`. Open it. Hot reload will do its thing while you pretend you are not refreshing every twelve seconds.

Production build (same command Vercel runs):

```bash
npm run build
```

Optional: `npm start` after a build to smoke-test the production server locally.

## Secrets and env files

Copy `.env.example` to `.env.local` and add at least `NEXT_PUBLIC_GOOGLE_MAPS_API_KEY` if you want maps to work locally. Optional: `NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION` for Search Console-see `GOOGLE_VERIFICATION_SETUP.md` if you are setting that up.

## Deploy

**Vercel** is the happy path: push, build, done. Set `NEXT_PUBLIC_SITE_URL` to your production URL (and your custom domain when you add one) so Open Graph, `robots.txt`, and `sitemap.xml` stay correct.

## Cool people disclaimer

Contributions and issues are welcome if you are fixing a bug or making the experience better for guests. Drive-by refactors that “simplify” the brand voice into corporate oatmeal will be read with the same suspicion as unsalted butter.

## License

Released under the [MIT License](LICENSE). You can use this template for your own restaurant, client work, or learning-just keep the copyright and license notice in copies of the source you distribute. If you fork for a new brand, updating the copyright line in `LICENSE` for your own project is fine.

---

**Order link** is configured with `NEXT_PUBLIC_ORDER_URL` (e.g. Square, Toast, or your ordering page).

Built for people who like flavor, loud colors, and websites that admit they are selling food. Business questions? Hit the contact info on the live site. Code questions? Open an issue or bribe your friend with chaat.
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。