From 87f803ca3ea3c47a6cdd1281cdbbe1d44128b45f Mon Sep 17 00:00:00 2001 From: Ojakoo Date: Wed, 21 Dec 2022 16:41:50 +0200 Subject: [PATCH 1/3] Update readme. --- README.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8d175d2..c14c60b 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,25 @@ This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next * **[React](https://facebook.github.io/react/)** (17.x) * **[Typescript](https://www.typescriptlang.org/)** (4.x) * **[Next.js](https://nextjs.org/)** (12.x) -* [Testcafe](https://devexpress.github.io/testcafe/) - E2E Testing framework +* **[Testcafe](https://devexpress.github.io/testcafe/)** - E2E Testing framework ## Installation -1. Clone/download repo -2. Install node v16 ([`nvm`](https://github.com/nvm-sh/nvm)) -3. `cp .env.local.example .env.local` -4. `npm install` + +Install node v16 with **[Node Version Manager](https://github.com/nvm-sh/nvm#installing-and-updating)**. + +Set up your SSH key authentication in GitLab Profile Settings. Then clone the repository and checkout the master branch: +```bash +git clone git@gitlab.com:sahkoinsinoorikilta/vtmk/web2.0-frontend.git +cd web2.0-frontend +git checkout master +``` + +Create local env file for development and install dependencies: +```bash +cp .env.local.example .env.local +npm install +``` ## Getting Started From 03e6131fe8ea285687ccc54b6902c2a99fd92381 Mon Sep 17 00:00:00 2001 From: Ojakoo Date: Wed, 21 Dec 2022 16:58:25 +0200 Subject: [PATCH 2/3] #47 add 2022 honors --- src/views/HonoraryPage/HonoraryPageView.tsx | 26 +++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/views/HonoraryPage/HonoraryPageView.tsx b/src/views/HonoraryPage/HonoraryPageView.tsx index 8d380a4..7b38e61 100644 --- a/src/views/HonoraryPage/HonoraryPageView.tsx +++ b/src/views/HonoraryPage/HonoraryPageView.tsx @@ -22,6 +22,7 @@ const HonoraryPageView: React.FC = () => (
  • Tapani Jokinen 1996–
  • Kaj G. Lindén 1999–
  • Jorma Kyyrä 2011–
  • +
  • Seppo Saastamoinen 2022-
  • Oltermannit

    Oltermanni on yhdyshenkilö killan ja opettajakunnan välillä. Valtuusto valitsee oltermannin kolmeksi vuodeksi kerrallaan.

    @@ -82,6 +83,7 @@ const HonoraryPageView: React.FC = () => (
  • 2019 Ville Kapanen
  • 2020 Anni Parkkila, Aliisa Pietilä
  • 2021 Essi Jukkala
  • +
  • 2022 Erna Virtanen, Tuukka Syrjänen
  • Standaari

    Standaari voidaan hallituksen päätöksellä lahjoittaa killan toimintaan myönteisesti vaikuttaneille tahoille. Standaarit on numeroitu lahjoittamisjärjestyksessä.

    @@ -195,6 +197,14 @@ const HonoraryPageView: React.FC = () => (
  • 2021 Tuukka Syrjänen
  • 2021 Timi Tiira
  • +

    Hopeiset ansiomerkit

    Killan hallitus voi myöntää hopeitosen ansiomerkin killan jäsenelle tai perustellusta syystä myös muulle henkilölle tunnustuksena erityisestä kiinnostuksesta kiltaa kohtaan sekä ansioituneesta toiminnasta killan hyväksi.

    + From e7ef69d75f7089cc241bafd79538046d1453f0cb Mon Sep 17 00:00:00 2001 From: Ojakoo Date: Sun, 25 Dec 2022 14:53:36 +0200 Subject: [PATCH 3/3] fix spelling mistake --- src/i18n/locales/en/common.json | 2 +- src/views/SignUpPage/SignUpPageView.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/i18n/locales/en/common.json b/src/i18n/locales/en/common.json index e263453..3caeb3a 100644 --- a/src/i18n/locales/en/common.json +++ b/src/i18n/locales/en/common.json @@ -48,7 +48,7 @@ "Se aukeaa": "Signup opens at", - "Ilmoittauminen sulkeutuu": + "Ilmoittautuminen sulkeutuu": "Signup closes at", "Ilmoittauminen on umpeutunut!": diff --git a/src/views/SignUpPage/SignUpPageView.tsx b/src/views/SignUpPage/SignUpPageView.tsx index a97b3f1..f8e7ec4 100644 --- a/src/views/SignUpPage/SignUpPageView.tsx +++ b/src/views/SignUpPage/SignUpPageView.tsx @@ -112,7 +112,7 @@ const SignUpPageView: React.FC = ({ const questions = signUpForm.questions.map((q) => signupFormQuestionToQuestion(q, i18n.language)); form = ( <> -

    {`${t("Ilmoittauminen sulkeutuu")} ${endDateStr}`}.

    +

    {`${t("Ilmoittautuminen sulkeutuu")} ${endDateStr}`}.