Skip to content

grigoreme/7code-frontend

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.
It implements a multi-language functionality with English (en) and Romanian (ro), using dynamic route [lang] and JSON-based translations.

Visiting / will automatically redirect to /en/home (default language). Users can switch languages via the links in the header, and the selection is remembered across page reloads.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Features

  • Dynamic language routing: /en/home, /ro/home, /en/about, /ro/about
  • JSON-based translations (/locales/en/translations.json, /locales/ro/translations.json)
  • Language switcher in the header
  • Selected language persists after refresh or page change
  • Automatic redirect from / → /en/home
  • Fully built with Next.js + TypeScript, no i18n packages

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published