• Product
  • Solutions
  • Developers
  • Demo
  • Promotion
  • Company
EdgeOne Logo
Back to Templates

Enterprise Website Template

A modern enterprise website template built with Next.js and Tailwind CSS, supporting static site generation (SSG).

View Demo
FrameworkNext.js
Use CaseBrand Websites
A modern enterprise website template built with Next.js and Tailwind CSS, supporting static site generation (SSG).

Enterprise Website Template

A modern enterprise website template built with Next.js and Tailwind CSS, supporting static site generation (SSG).

Technology Stack

  • Frontend Framework: Next.js 15.3.1+
  • Style Scheme: Tailwind CSS V4
  • UI Components: shadcn/ui
  • Type System: TypeScript
  • Code Standards: ESLint + Prettier

Features

  • ๐Ÿ“ฑ Responsive design, perfectly adapted to various devices
  • ๐ŸŽจ Modern UI design, based on the shadcn/ui component library
  • ๐Ÿš€ Static site generation (SSG), excellent performance
  • ๐Ÿ” SEO friendly
  • ๐Ÿ’ป TypeScript support, providing complete type definitions

Page List

  • ๐Ÿ  Homepage (/)
  • ๐Ÿ“„ About Us (/about)
  • ๐Ÿ› ๏ธ Service Introduction (/services)
  • ๐Ÿ“ฐ News Center (/news)
  • ๐Ÿ“ Blog (/blog)
  • ๐Ÿ‘ฅ Team Introduction (/team)
  • ๐Ÿ’ผ Job List (/careers)
  • ๐Ÿ“ž Contact Us (/contact)
  • ๐Ÿš€ Get Started (/get-started)

Quick Start

  1. Clone the project
git clone [project address]
cd [project directory]
  1. Install dependencies
npm install
# or
yarn install
  1. Start the development server
npm run dev
# or
yarn dev
  1. Build the production version
npm run build
# or
yarn build

Integrating with CMS(Optional)

The project provides a script to integrate with Contentful CMS, which can pull blog data from Contentful to Markdown.

The project provides a data structure that can be directly imported into Contentful: contentful space import --content-file contentful-export.json --space-id ${your-space-id}

Configure environment variables locally:

Project Structure

โ”œโ”€โ”€ public/          # Static resources
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/  # Components
โ”‚   โ”‚   โ”œโ”€โ”€ cards/   # Card components
โ”‚   โ”‚   โ”œโ”€โ”€ layouts/ # Layout components
โ”‚   โ”‚   โ””โ”€โ”€ ui/      # UI components
โ”‚   โ”œโ”€โ”€ config/      # Configuration files
โ”‚   โ”œโ”€โ”€ pages/       # Pages
โ”‚   โ””โ”€โ”€ styles/      # Style files
โ”œโ”€โ”€ .eslintrc.js    # ESLint configuration
โ”œโ”€โ”€ .prettierrc     # Prettier configuration
โ”œโ”€โ”€ next.config.js  # Next.js configuration
โ””โ”€โ”€ tailwind.config.js # Tailwind configuration

Configuration File Explanation

The project uses multiple configuration files to manage data:

  • config/articles.ts: Blog article data
  • config/careers.ts: Job information
  • config/get-started.ts: Quick start guide
  • config/team.ts: Team member information

Development Guidelines

Component Development Standards

  1. Develop all components using TypeScript
  2. Use PascalCase for component naming
  3. Ensure proper Props type definitions are added
  4. Follow the project's established style guidelines

Style Development Standards

  1. Prioritize using Tailwind CSS class names
  2. Follow responsive design principles
  3. Maintain consistency in color and spacing

Page Development Standards

  1. Use the MainLayout component as the page layout
  2. Implement appropriate SEO optimization
  3. Ensure responsive performance on pages

Contribution Guidelines

  1. Fork the project
  2. Create a feature branch
  3. Submit changes
  4. Push to the branch
  5. Create a Pull Request

License

MIT License

Deploy

Deploy with EdgeOne Pages