Back to Templates
Enterprise Website Template
A modern enterprise website template built with Next.js and Tailwind CSS, supporting static site generation (SSG).
Framework | Next.js |
Use Case | Brand Websites |
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
- Clone the project
git clone [project address]
cd [project directory]
- Install dependencies
npm install
# or
yarn install
- Start the development server
npm run dev
# or
yarn dev
- 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 dataconfig/careers.ts
: Job informationconfig/get-started.ts
: Quick start guideconfig/team.ts
: Team member information
Development Guidelines
Component Development Standards
- Develop all components using TypeScript
- Use PascalCase for component naming
- Ensure proper Props type definitions are added
- Follow the project's established style guidelines
Style Development Standards
- Prioritize using Tailwind CSS class names
- Follow responsive design principles
- Maintain consistency in color and spacing
Page Development Standards
- Use the MainLayout component as the page layout
- Implement appropriate SEO optimization
- Ensure responsive performance on pages
Contribution Guidelines
- Fork the project
- Create a feature branch
- Submit changes
- Push to the branch
- Create a Pull Request