The information system "Electronic Campus of Igor Sikorsky Kyiv Polytechnic Institute" is an automated system supporting educational process informatization. It provides digital communication tools for students, faculty, and department heads, enhancing educational quality through modern technology.
- CAMPUS_API_BASE_PATH - Campus API URL. Dev value:
https://dev-api.campus.cloud.kpi.ua - MAIN_COOKIE_DOMAIN - Main site cookie domain name (for ecampus-token). Dev value:
localhost - ROOT_COOKIE_DOMAIN - Root site cookie domain name (for SID). Dev value:
localhost - NEXT_PUBLIC_RECAPTCHA_KEY - Google ReCaptcha v3 public key. Dev value:
6LeMy30qAAAAAIC6KUhNfReP-Us5wkrkp3FLfOgl
npm i
npm run devnpm run buildnpm run startnpm run storybookdocker build ./ --file ./Dockerfile --tag kpiua/ecampus.kpi.ua:latestdocker run --rm -it -p 3000:3000/tcp kpiua/ecampus.kpi.ua:latest docker run --rm -it -e CAMPUS_API_BASE_PATH=https://dev-api.campus.cloud.kpi.ua -p 80:80/tcp kpiua/ecampus.kpi.ua:latestor
docker run --rm -it \
-e CAMPUS_API_BASE_PATH=https://dev-api.campus.cloud.kpi.ua \
-e MAIN_COOKIE_DOMAIN=localhost \
-e ROOT_COOKIE_DOMAIN=localhost \
-e NEXT_PUBLIC_RECAPTCHA_KEY=6LeMy30qAAAAAIC6KUhNfReP-Us5wkrkp3FLfOgl \
-p 3000:3000/tcp kpiua/ecampus.kpi.ua:latestTranslations are located in en.json and uk.json files inside /src/messages/ folder for English and ukrainian languages accordingly. When adding a new translations, follow the same naming convention as in these files: property naming is in kebab-case.
You can use following tags in translations, they are defined globally and will be transformed automatically:
<p>— will transform to<Paragraph>component.<br></br>— will transform into<br/>.<h1> ... <h6>— will transform into<Heading1> ... <Heading6>.<ul>— will transform into<UlList>.<li>— will transform into<li>.<tel>— will transform into a link with provided telephone number.<email>— will transform into a link with provided email address.
For more information see src/i18n/request.tsx file.