Next.jsReact企业官网

Agency — Next.js 企业官网模板

作者 trinhquocthinh

基于 Next.js 与 TypeScript 构建的响应式企业/代理机构官网模板,使用 SCSS Modules 组织样式,包含首页、关于、服务、项目、博客与联系页面。

看看你的网站会是什么样

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

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

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

全部页面与视图 3

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

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

值得关注的模板亮点

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

01

使用 Next.js App Router 组织首页、关于、服务、项目、博客和联系等页面

02

TypeScript 编写,配合 ESLint、Prettier 和类型检查脚本

03

SCSS 与 CSS Modules 组件级样式,品牌色和字体集中在 _variables.scss 中调整

04

内置 useScroll、useSlider、useAccordion 三个交互 hook

05

提供开发、构建、lint、格式化、发布和打包分析等 yarn 脚本

06

README 给出移动端、平板、桌面和大屏四档响应式断点

模板详细介绍

这是一个面向代理机构或数字工作室的企业官网模板,仓库名为 Agency,演示站点为 Adex Digital Studio。项目使用 Next.js 的 App Router 组织页面,源码位于 src/app 下,包含首页、关于、服务、项目、博客和联系等路由;组件放在 src/components,其中 sections/home 存放首页分区组件,另有 Header、Footer、Layout 等通用组件。样式采用 SCSS 与 CSS Modules,全局变量和 mixin 分别放在 src/styles/_variables.scss 与 _mixins.scss,品牌色和字体可在这些文件中调整。项目提供 useScroll、useSlider、useAccordion 三个自定义 hook,分别用于滚动位置、图片轮播和折叠面板交互。

技术栈方面,README 列出 Next.js、TypeScript、SCSS/Sass、Ionicons 图标、Google Fonts(Manrope 字体)、ESLint 与 Prettier,并提到 next-seo、next-sitemap 和 Zod。脚本覆盖开发、构建、生产启动、lint、类型检查、格式化、发布版本和打包分析。响应式断点分为移动端 575px 及以下、平板 576–991px、桌面 992–1199px、大屏 1200px 及以上。

使用限制:模板内容为演示性质,联系信息、品牌色和文案需要替换;演示图片、字体、图标等第三方素材的许可需单独核对,代码的 MIT 许可不覆盖这些素材。仓库未提供后端、数据库或表单提交服务的实现说明,联系页与订阅功能的具体行为需自行确认。

Next.js企业官网

适合你的项目吗?

适用场景

  • 为代理机构或数字工作室搭建展示服务与案例的官网
  • 作为 Next.js + TypeScript + SCSS 项目结构的学习参考
  • 在已有页面结构上替换品牌色、字体和文案,快速形成自有站点

适合人群

  • 需要多页面企业官网结构的开发者
  • 使用 Next.js 与 TypeScript 的前端团队
  • 希望用 SCSS Modules 管理样式的项目

上手与定制指南

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

  1. 1

    需要 Node.js 18 或更高版本,以及 npm 或 yarn

  2. 2

    克隆仓库后执行 npm install 或 yarn install 安装依赖

  3. 3

    使用 yarn dev 启动开发服务器,默认访问 http://localhost:3000

  4. 4

    构建命令为 yarn build,输出目录为 .next

  5. 5

    演示图片、字体和图标等第三方素材需按各自许可单独核对

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 模板的视觉设计参考了现有代理机构网站,若需商用请自行确认设计相似度与第三方素材(图片、字体、图标)的授权情况。
  • README 中的联系信息(网站、邮箱、电话)为演示占位内容,正式发布前需替换为自有信息。
  • 字体来自 Google Fonts,图标来自 Ionicons,这些第三方素材的许可需单独核对,MIT 代码许可不覆盖它们。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

Design inspiration from modern agency websites

README 原文

Website: [https://adex-agency.com](https://adex-agency.com)

README 原文

Fonts:** Google Fonts (Manrope)

README 原文
https://github.com/trinhquocthinh/Agency/blob/main/LICENSEhttps://github.com/trinhquocthinh/Agency/blob/main/README.md

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

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

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

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

查看当时使用的来源资料

SHA-256: 4cb06d175bc6774223fb976d3bdc1ecad66e2671d843d8d1ae2d4ebfd0933392

2026-10-02T19:24:46.555Z

来源文件 / 仓库
# Adex Digital Studio - Agency Website

A modern, responsive agency website built with Next.js 14, TypeScript, and SCSS. This project showcases digital services, portfolio projects, and provides a professional online presence for Adex Digital Studio.

## 🚀 Features

- **Server-Side Rendering (SSR)** with Next.js 14
- **TypeScript** for type safety and better developer experience
- **SCSS Modules** for component-scoped styling
- **Responsive Design** optimized for all devices
- **SEO Optimized** with Next.js Metadata API & next-seo
- **Image Optimization** with Next.js Image component (AVIF/WebP)
- **Interactive Components** with smooth animations
- **Modern Performance** with optimized loading and caching
- **Security Hardened** with comprehensive security headers
- **Code Quality** with ESLint, TypeScript, and Prettier

## 🛠 Tech Stack

- **Framework:** Next.js 14
- **Language:** TypeScript
- **Styling:** SCSS/Sass with CSS Modules
- **Icons:** Ionicons
- **Fonts:** Google Fonts (Manrope)
- **Package Manager:** Yarn
- **Linting:** ESLint + Prettier
- **SEO:** next-seo, next-sitemap
- **Validation:** Zod
- **Development:** Hot reload with Next.js dev server

## 📚 Documentation

- **[QUICK-REFERENCE.md](QUICK-REFERENCE.md)** - Quick reference guide (English/Tiếng Việt)
- **[OPTIMIZATION-SUMMARY.md](OPTIMIZATION-SUMMARY.md)** - Full optimization summary
- **[TOM-TAT-TOI-UU.md](TOM-TAT-TOI-UU.md)** - Tóm tắt tối ưu hóa (Tiếng Việt)
- **[docs/CONFIGURATION.md](docs/CONFIGURATION.md)** - Complete configuration guide
- **[docs/RECOMMENDED-PACKAGES.md](docs/RECOMMENDED-PACKAGES.md)** - Additional packages guide
- **[docs/RELEASE.md](docs/RELEASE.md)** - Release workflow documentation

## 📁 Project Structure

```
src/
├── app/                    # Next.js 14 App Router
│   ├── layout.tsx         # Root layout with metadata
│   ├── page.tsx           # Home page
│   ├── about/             # About page
│   ├── services/          # Services page
│   ├── projects/          # Projects page
│   ├── blog/              # Blog page
│   └── contact/           # Contact page
├── components/            # Reusable React components
│   ├── Header.tsx         # Navigation header
│   ├── Footer.tsx         # Site footer
│   ├── Layout.tsx         # Page layout wrapper
│   └── sections/          # Page sections
│       └── home/          # Home page sections
├── hooks/                 # Custom React hooks
│   ├── useScroll.ts       # Scroll position hook
│   ├── useSlider.ts       # Image slider hook
│   └── useAccordion.ts    # Accordion functionality
├── styles/                # Global styles and utilities
│   ├── globals.scss       # Global styles
│   ├── _variables.scss    # SCSS variables
│   └── _mixins.scss       # SCSS mixins
├── types/                 # TypeScript type definitions
│   ├── index.ts           # Main type definitions
│   └── ion-icon.d.ts      # Ionicons type declarations
└── utils/                 # Utility functions
```

## 🚀 Getting Started

### Prerequisites

- Node.js 18.x or later
- npm or yarn package manager

### Installation

1. **Clone the repository**
   ```bash
   git clone https://github.com/trinhquocthinh/Agency.git
   cd agency-website
   ```

2. **Install dependencies**
   ```bash
   npm install
   # or
   yarn install
   ```

3. **Start the development server**
   ```bash
   yarn dev
   # or
   yarn dev
   ```

4. **Open your browser**
   Navigate to [http://localhost:3000](http://localhost:3000)

## 📝 Available Scripts

### Development
- `yarn dev` - Start development server
- `yarn build` - Build for production
- `yarn start` - Start production server

### Code Quality
- `yarn lint` - Run ESLint
- `yarn lint:fix` - Fix ESLint issues
- `yarn lint:strict` - Run ESLint with no warnings allowed
- `yarn type-check` - Run TypeScript type checking
- `yarn format` - Format code with Prettier
- `yarn format:check` - Check code formatting

### Release Management
- `yarn release` - Create a patch release (1.0.0 → 1.0.1)
- `yarn release:patch` - Create a patch release
- `yarn release:minor` - Create a minor release (1.0.0 → 1.1.0)
- `yarn release:major` - Create a major release (1.0.0 → 2.0.0)

### Utilities
- `yarn clean` - Clean build directories
- `yarn analyze` - Analyze bundle size

See [docs/RELEASE.md](docs/RELEASE.md) for detailed release workflow documentation.

## 🎨 Customization

### Colors & Branding

Update brand colors in `src/styles/_variables.scss`:

```scss
// Primary brand colors
$violet-blue-crayola: hsla(234, 50%, 64%, 1);
$charcoal: hsla(218, 22%, 26%, 1);
$white: hsla(0, 0%, 100%, 1);
```

### Typography

Modify fonts in `src/app/layout.tsx` and `src/styles/_variables.scss`:

```scss
$ff-manrope: 'Manrope', sans-serif;
```

### Content

Update website content by editing the respective page files in `src/app/`:
- Home: `src/app/page.tsx`
- About: `src/app/about/page.tsx`
- Services: `src/app/services/page.tsx`
- etc.

## 📱 Responsive Design

The website is fully responsive with breakpoints:
- Mobile: 575px and below
- Tablet: 576px - 991px
- Desktop: 992px - 1199px
- Large Desktop: 1200px and above

## 🔧 Component Architecture

### Reusable Components

- **Header**: Navigation with mobile menu
- **Footer**: Site footer with newsletter signup
- **Layout**: Page wrapper with common elements
- **Sections**: Modular page sections

### Custom Hooks

- **useScroll**: Track scroll position for sticky header
- **useSlider**: Image carousel functionality
- **useAccordion**: Expandable content sections

## 🌐 SEO & Performance

- **Metadata API**: Dynamic meta tags for each page
- **Image Optimization**: Next.js Image component with lazy loading
- **Font Optimization**: Google Fonts with display swap
- **Core Web Vitals**: Optimized for performance metrics

## 🚀 Deployment

### Vercel (Recommended)

1. **Connect your repository** to Vercel
2. **Configure build settings** (auto-detected for Next.js)
3. **Deploy** with automatic CI/CD

### Other Platforms

The project supports deployment on:
- Netlify
- AWS Amplify
- Google Cloud Platform
- Self-hosted servers

Build command: `yarn build`
Output directory: `.next`

## 🤝 Contributing

1. Fork the repository
2. Create a feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

## 📄 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## 📞 Contact

**Adex Digital Studio**
- Website: [https://adex-agency.com](https://adex-agency.com)
- Email: [email protected]
- Phone: 00 (123) 456 78 90

## 🙏 Acknowledgments

- Design inspiration from modern agency websites
- Next.js team for the amazing framework
- Ionicons for beautiful icons
- Google Fonts for typography

---

Built with ❤️ by [Adex Digital Studio](https://github.com/trinhquocthinh)
反馈内容错误

看看同类模板

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