A universal Next.js template with support for Polish (PL) and English (EN) languages, pre-configured with SEO best practices and essential tools to kickstart web projects.
- Multilingual Support: Polish (PL) and English (EN) with
next-intlfor seamless internationalization. - SEO Optimized: Configured for search engine optimization out of the box.
- Next.js with Turbopack: Uses Next.js 15.5.5 with Turbopack for faster development and builds.
- Styling: SCSS support via
sassfor flexible and modular styling. - Linting: ESLint with Next.js configuration for code quality.
- TypeScript: Fully typed with TypeScript for better developer experience.
- Swiper: Integrated for creating responsive sliders and carousels.
- Node.js (version 20.x or higher recommended)
- npm (version 10.x or higher)
- Clone the repository:
git clone https://github.com/your-username/your-repo.git
- Navigate to the project directory:
cd your-repo - Install dependencies:
npm install
- Start development server:
Runs the app in development mode with Turbopack. Open
npm run dev
http://localhost:3000to view it in the browser. - Build for production:
Creates an optimized production build with Turbopack.
npm run build
- Start production server:
Runs the built app in production mode.
npm run start
- Run linter:
Checks code for linting errors using ESLint.
npm run lint
/app: Contains Next.js app router pages and layouts./public: Static assets like images and fonts./styles: SCSS files for styling./locales: Translation files for Polish (PL) and English (EN)./components: Reusable React components./lib: Utility functions and helpers.
- Language Switching: Use
next-intlto manage translations. Add or modify translation files in/localesfor PL and EN. - SEO Configuration: Update metadata in
app/layout.tsxor page-specific metadata for SEO optimization. - Styling: Write SCSS in
/stylesand import into components or layouts. - Adding Sliders: Use the
swiperlibrary to create carousels. Refer to Swiper documentation for details.
- Core:
next: 15.5.5 (App Router with Turbopack)next-intl: ^4.3.12 (Internationalization)react: 19.1.0react-dom: 19.1.0swiper: ^12.0.2 (Responsive sliders)
- Dev Dependencies:
eslint: ^9 (Linting)eslint-config-next: 15.5.5 (Next.js ESLint config)sass: ^1.93.2 (SCSS support)typescript: ^5 (Type safety)@types/node,@types/react,@types/react-dom: Type definitions
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature). - Commit your changes (
git commit -m 'Add your feature'). - Push to the branch (
git push origin feature/your-feature). - Open a Pull Request.
MIT License. See LICENSE for more information.