Next.jsReact启动器

FOYM-Green-Planet — Next.js 启动器模板

作者 digitalRM

FOYM 系列的第二套网站模板,以虚构环保组织“Green Planet”为蓝本,使用 Next.js 与 React 组件构建,可免费使用和修改,采用 MIT 许可证。

看看你的网站会是什么样

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

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

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

全部页面与视图 2

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

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

值得关注的模板亮点

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

01

FOYM 模板系列的第二套模板,以虚构环保组织“Green Planet”为原型

02

在 MIT 许可证下发布,可免费使用和修改

03

使用 Next.js 的 app 目录结构,页面内容按 components/sections 中的区块组件拆分

04

README 明确列出需要定制的区块文件:Hero.jsx、Information.jsx、SectionThree.jsx、Footer.jsx

05

components/ui 中标记为“1”的文件(如 header.jsx、contact-dialog.jsx、mobile-drawer.jsx、trees-chart.jsx)需要编辑

06

自带 FOYM 宣传横幅,README 给出了从 layout.js 和 sections 文件夹中移除的具体步骤

模板详细介绍

该模板是 FOYM 模板系列的第二套作品(Green Planet #2),由 Ruslan Mukhamedvaleev 在 MIT 许可证下发布。它以一个虚构的环保组织“Green Planet”为原型,供组织类网站参考和改造。README 说明这是作者在启动 FOYM 之前几周设计的一个网站的改编版本,比第一套 FOYM 模板更复杂,但代码组织方式相似。

模板基于 Node.js 与 npm 环境运行,使用 Next.js 的 app 目录结构。页面内容按区块拆分在 components/sections 文件夹中,包括 Hero.jsx、Information.jsx、SectionThree.jsx 和 Footer.jsx,README 建议在这些文件中完成全站各区块的定制。components/ui 文件夹中另有若干以“1”开头标记的文件需要编辑,包括 contact-dialog.jsx、header.jsx、mobile-drawer.jsx、trees-chart-2.jsx 和 trees-chart.jsx。

模板自带一个 FOYM 宣传横幅(components/sections/999 - banner.jsx),README 提供了从 app/layout.js 中删除对应 import 与 <Banner /> 组件、并删除该文件本身的步骤。站点元数据(metadataBase、title、description、openGraph 等)在 app/layout.js 中配置,README 提示将 openGraph.png 上传到 public 文件夹。

README 未提供关于具体依赖版本、浏览器兼容性、可访问性、性能表现或生产部署方式的说明,也未列出除 Node.js、npm 和 IDE 之外的其他前置条件。

Next.jsReact启动器

适合你的项目吗?

适用场景

  • 为环保或非营利组织搭建展示型网站原型
  • 作为学习 Next.js app 目录与组件化页面结构的参考项目
  • 在 MIT 许可证下改造为自有组织官网的起点
  • 需要按区块(Hero、Information、Footer 等)快速替换内容的静态站点搭建

适合人群

  • 希望以现成区块结构快速起步的环保类或组织类网站开发者
  • 熟悉 Node.js、npm 与 React 组件开发的前端人员
  • 需要 MIT 许可证下可自由修改模板的个人或团队

上手与定制指南

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

  1. 1

    前置条件:安装 Node.js、npm 和一个 IDE

  2. 2

    克隆仓库:git clone https://github.com/digitalRM/FOYM-Green-Planet.git

  3. 3

    安装依赖:npm install

  4. 4

    在 components/sections 与 components/ui 中按 README 标注的文件进行定制,并在 app/layout.js 中修改 metadata

  5. 5

    启动开发服务器:npm run dev;如需移除 FOYM 横幅,按 README 删除 app/layout.js 中的 import 与 <Banner /> 以及 components/sections/999 - banner.jsx

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

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

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料一般 · 73 / 100
技术栈
Next.js · React
网站类型
启动器
这个分数如何计算

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

这个项目需要核对什么

记录的仓库更新时间
2024-07-16
截图检查日期
2026-10-14

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

审核声明: codex-user-requested-batch-review-20261015 · 2026-10-15

查看当时使用的来源资料

SHA-256: 992c674b71645bf2d6f6f5ab6fa62b72f9df5c7c243d7479319b0f3fc2fb4fcd

2026-10-14T01:52:35.853Z

来源文件 / 仓库
![Green Planet](https://github.com/digitalRM/FOYM-Green-Planet/assets/70782025/2c77ba4f-4928-43c2-8b57-00518a4faa89)

Template Series - Green Planet #2
---
This is a template for organizations modeled after a made-up environmental organization called “Green Planet.”  It is entirely free to use and customize. FOYM, a project by Ruslan Mukhamedvaleev, created this website under the MIT license. 

![Green Planet Website](https://github.com/digitalRM/FOYM-Green-Planet/assets/70782025/af5bb8e9-52af-475f-970b-70bec25c51e4)

This is an adapted version of a website I designed a few weeks before I started FOYM. It’s more complex than the first FOYM template, but it is organized very similarly in the code. - Ruslan


Getting Started
---

To get a local copy up and running, follow these steps:

### Prerequisites

- [Node.js](https://nodejs.org/en)
- [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
- An IDE

### Installation

Clone the repository

```bash
git clone https://github.com/digitalRM/FOYM-Green-Planet.git
```

Install required packages

```bash
npm install
```

Customize the entire website across all the sections inside the `components/sections` folder
```js
1 - Hero.jsx
2 - Information.jsx
3 - SectionThree.jsx
4 - Footer.jsx
```

There are also important files to edit in the `components/ui` folder. They are all marked with 1 in the front. 
```js
1 - contact-dialog.jsx
1 - header.jsx
1 - mobile-drawer.jsx
1 - trees-chart-2.jsx
1 - trees-chart.jsx
```

Delete Banner in `app/layout.js`

```js
// Delete this import below when you are ready to remove the banner
import Banner from "@/components/sections/999 - banner";

{/* This is the banner for the FOYM website. Feel free to delete this! */}
<Banner />
```
Delete Banner from the `components/sections` folder
```js
999 - banner.jsx
```

Customize your metadata in `app/layout.js`
```js
// This is the metadata for the website. Change the values to match your website. Upload the openGraph.png to your public folder
export const metadata = {
  metadataBase: new URL('https://planet.foym.org/'),
  title: "Green Planet - An FOYM Template",
  description: "This is a template for organizations modeled after a made-up environmental organization called “Green Planet.”  It is entirely free to use and customize. FOYM, a project by Ruslan Mukhamedvaleev, created this website under the MIT license.",
  openGraph: {
    title: "Green Planet - An FOYM Template",
    description: "This is a template for organizations modeled after a made-up environmental organization called “Green Planet.”  It is entirely free to use and customize. FOYM, a project by Ruslan Mukhamedvaleev, created this website under the MIT license.",
    url: 'https://planet.foym.org/',
    siteName: 'Green Planet - An FOYM Template',
    images: [
      {
        url: '/openGraph.png',
        width: 1600,
        height: 900,
        alt: 'An image of the website\s name "Green Planet - An FOYM. Template" and star like characters in the background pointing at the name',
      },
    ], 
    locale: 'en_US',
    type: 'website',
  },
}
```

Run the development server

```bash
npm run dev
```

## Contact 

If you are having trouble setting this up, please feel free to contact me via the [foym](https://www.foym.org) website. 

## License

This project is licensed under the MIT License - see the `LICENSE` file for details.


反馈内容错误

看看同类模板

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