A premium, high-performance web platform for Electroalfa, built with Next.js, TypeScript, and Sanity CMS. This project showcases industrial equipment, turnkey solutions, and corporate news with a focus on speed, internationalization, and user experience.
- Framework: Next.js 14 (App Router)
- CMS: Sanity (Headless)
- Styling: Tailwind CSS
- State/Animations: Framer Motion
- Types: TypeScript with Zod validation
- Internationalization: Custom i18n routing (
ro,en,de,fr,it)
- Frontend: Next.js, React
- CMS: Sanity.io
- Icons: Lucide React
- Validation: Zod
- Forms: React Hook Form
- Node.js 18.x or later
- npm or yarn
-
Clone the repository:
git clone https://github.com/AndreiNeptune/electroalfa.git cd electroalfa -
Install dependencies:
npm install
-
Environment Variables: Copy
.env.exampleto.env.localand fill in your Sanity credentials.cp .env.example .env.local
-
Run Development Server:
npm run dev
-
Open the Studio: Visit
http://localhost:3000/studioto manage content.
src/app: Next.js App Router (pages and layouts)src/components: Reusable UI componentssrc/lib: Core logic, Sanity client, i18n configurationssrc/validations: Zod schemas for data integrityschemaTypes: Sanity content schemas
Developed by Andrei Neptune