Skip to content

Repository files navigation

nidora-web

Nidora static website in React, built with Vite.

Requirements

  • Node.js ^20.19.0 || >=22.12.0 — enforced by the engines field in package.json; CI runs Node 22
  • npm

Getting Started

npm install
npm run dev

Open http://localhost:3000 to view the app. Changes are applied instantly via hot module replacement.

Available Scripts

Script Description
npm run dev (or npm start) Start the Vite dev server on port 3000 with HMR.
npm run build Production build into build/ (minified, hashed filenames).
npm run preview Serve the contents of build/ locally to verify a production build.
npm run type-check Type-check the app and tooling configs with tsc --build.
npm run lint Lint with ESLint (flat config, typescript-eslint + react-hooks).

Project Structure

  • index.html — Vite entry HTML (SEO/OG tags, structured data, theme bootstrap script)
  • src/index.tsx — React entry point
  • src/components/ — page sections and shared components
  • src/i18n/en / tr translations and language context
  • src/styles/ — global stylesheet
  • src/assets/ — images imported from code (hashed at build time)
  • public/ — files copied verbatim to the site root (favicon.ico, manifest.json, robots.txt, sitemap.xml, logo.png, videos/bg.mp4)

Configuration

Build and test configuration lives in vite.config.ts. Static assets that must keep a stable URL belong in public/ and are referenced with an absolute path (e.g. /logo.png); anything imported from src/ is fingerprinted by the bundler.

Deployment

Pushing to main runs .github/workflows/workflow.yml, which type-checks, lints, builds, and deploys build/ to S3 with a CloudFront invalidation.

About

Nidora static website in React

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages