diff --git a/src/App.tsx b/src/App.tsx index 025345c5..1b8c34eb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -57,9 +57,11 @@ const GlobalStyle = createGlobalStyle` const App: React.FC = () => { const userContext = useContext(UserContext); - const domainComponents = getDomainComponents(); const subdomain = domainComponents?.length > 0 && domainComponents[0]; + if (subdomain === 'nrw') { + window.open('https://partnerschule.corona-school.de', '_self'); + } const cooperationMode = getCooperationModeForSubdomain(subdomain); if (subdomain && cooperationMode) { // render the special page for cooperations with states of Germany diff --git a/src/assets/stateCooperations.ts b/src/assets/stateCooperations.ts index 00d76e2d..11dd6ed4 100644 --- a/src/assets/stateCooperations.ts +++ b/src/assets/stateCooperations.ts @@ -1,11 +1,3 @@ import { StateCooperationInfo } from '../utils/RegistrationCooperationUtils'; -import Icons from './icons'; -export const supportedStateCooperations: StateCooperationInfo[] = [ - { - name: 'Nordrhein-Westfalen', - abbrev: 'NW', - subdomain: 'nrw', - coatOfArms: Icons.CoatOfArmsNRW, - }, -]; +export const supportedStateCooperations: StateCooperationInfo[] = []; diff --git a/src/components/forms/registration/EmailField.tsx b/src/components/forms/registration/EmailField.tsx index 3c843c28..24334b06 100644 --- a/src/components/forms/registration/EmailField.tsx +++ b/src/components/forms/registration/EmailField.tsx @@ -13,7 +13,7 @@ export const EmailField: React.FC = (props) => { return ( = (props) => { validateTrigger: 'onSubmit', }, ]} + extra="Trage hier deine persönliche E-Mail-Adresse ein. Stelle dabei sicher, dass du Zugriff auf diese E-Mail-Adresse hast. Nach der Registrierung erhältst du eine Verifizierungsmail von uns, in der du deine Anmeldung bestätigen musst." > diff --git a/src/routes/RegisterTutee.tsx b/src/routes/RegisterTutee.tsx index ea6ecfb3..ac7514b2 100644 --- a/src/routes/RegisterTutee.tsx +++ b/src/routes/RegisterTutee.tsx @@ -627,6 +627,7 @@ const RegisterTutee: React.FC = ({ }, ]} initialValue={formData.teacherEmail} + extra="Beachte bitte, dass du hier nicht deine eigene, sondern die E-Mail-Adresse deiner Lehrkraft angeben musst. Mit dieser Angabe können wir dich deiner Schule zuordnen." > = ({ - Du hast schon ein Account? Hier{' '} + Du hast schon einen Account? Hier{' '} anmelden