A modern enterprise website template built with Next.js and Tailwind CSS, supporting static site generation (SSG).
- Frontend Framework: Next.js 15.3.1+
- Style Scheme: Tailwind CSS V4
- UI Components: shadcn/ui
- Type System: TypeScript
- Code Standards: ESLint + Prettier
- 📱 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
- 🏠 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
)
- 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
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:
├── 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
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
- Develop all components using TypeScript
- Use PascalCase for component naming
- Ensure proper Props type definitions are added
- Follow the project's established style guidelines
- Prioritize using Tailwind CSS class names
- Follow responsive design principles
- Maintain consistency in color and spacing
- Use the MainLayout component as the page layout
- Implement appropriate SEO optimization
- Ensure responsive performance on pages
The project uses static site generation (SSG), which can be deployed to any static hosting service:
- Build the project:
npm run build
-
The generated static files are located in the
out
directory -
Deploy the
out
directory to your hosting service
- Fork the project
- Create a feature branch
- Submit changes
- Push to the branch
- Create a Pull Request