Skip to content

Commit

Permalink
YKI(Frontend): Remove prompt to navigate to the old UI [deploy]
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoivisto committed Nov 24, 2023
1 parent 85e7785 commit 1f64ae1
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 37 deletions.
5 changes: 0 additions & 5 deletions frontend/packages/yki/public/i18n/en-GB/public.json
Original file line number Diff line number Diff line change
Expand Up @@ -465,11 +465,6 @@
"selectLevel": "Choose proficiency level",
"selectMunicipality": "Choose municipality"
},
"oldUILink": {
"text": "This is the new YKI registration page. Do you want to use the old registration page?",
"link": "https://yki.opintopolku.fi/yki?lang=en",
"linkText": "Go to the old YKI registration page"
},
"register": "Register",
"title": "National Certificates of Language Proficiency (YKI) - Registration"
}
Expand Down
5 changes: 0 additions & 5 deletions frontend/packages/yki/public/i18n/fi-FI/public.json
Original file line number Diff line number Diff line change
Expand Up @@ -465,11 +465,6 @@
"selectLevel": "Valitse taitotaso",
"selectMunicipality": "Valitse paikkakunta"
},
"oldUILink": {
"text": "Tämä on uusi YKI-ilmoittautumissivu. Haluatko käyttää vanhaa YKI-ilmoittautumissivua?",
"link": "https://yki.opintopolku.fi/yki?lang=fi",
"linkText": "Siirry vanhalle YKI-ilmoittautumissivulle"
},
"register": "Ilmoittaudu",
"title": "Yleiset kielitutkinnot (YKI) - Ilmoittautuminen"
}
Expand Down
5 changes: 0 additions & 5 deletions frontend/packages/yki/public/i18n/sv-SE/public.json
Original file line number Diff line number Diff line change
Expand Up @@ -465,11 +465,6 @@
"selectLevel": "Välj färdighetsnivå",
"selectMunicipality": "Välj ort"
},
"oldUILink": {
"text": "Den här är den nya YKI-anmälningssidan. Vill du använda den gamla anmälningssidan?",
"link": "https://yki.opintopolku.fi/yki?lang=sv",
"linkText": "Till den gamla anmälningsidan"
},
"register": "Anmäl dig",
"title": "Allmänna språkexamina (YKI) - Anmälan"
}
Expand Down
7 changes: 0 additions & 7 deletions frontend/packages/yki/src/pages/RegistrationPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,6 @@ export const RegistrationPage: FC = () => {
item
className="public-registration-page__grid-container__item-header"
>
<Alert
className="public-registration-page__link-to-old-ui"
severity={Severity.Info}
>
{t('oldUILink.text')}{' '}
<Link href={t('oldUILink.link')}>{t('oldUILink.linkText')}</Link>
</Alert>
<H1 data-testid="public-registration-page__title-heading">
{t('title')}
</H1>
Expand Down
15 changes: 0 additions & 15 deletions frontend/packages/yki/src/styles/pages/_registration-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,4 @@
}
}
}

& &__link-to-old-ui {
background-color: $color-blue-200;
color: $color-text-primary;
margin: 2rem 0;
position: relative;

& a {
font-weight: normal;
}

& svg {
color: $color-secondary;
}
}
}

0 comments on commit 1f64ae1

Please sign in to comment.