Skip to content

Commit 0cef398

Browse files
committed
WIP for #1197
1 parent 4e8e85f commit 0cef398

23 files changed

Lines changed: 1877 additions & 984 deletions

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ spring-security-migration.md
3030
pom.xml.versionsBackup
3131
dependency.tree
3232
PlaygroundTest.java
33-
ERRORS.md
33+
ERRORS.md
34+
website

public-gui/src/App.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {Privacy} from "./routes/Privacy.jsx";
1414
import {InstallApp} from "./routes/InstallApp.jsx";
1515
import {TiqrAuth} from "./routes/TiqrAuth.jsx";
1616
import {ServiceDesk} from "./routes/ServiceDesk.jsx";
17+
import {Verify} from "./routes/Verify.jsx";
1718

1819
function App() {
1920

@@ -47,6 +48,7 @@ function App() {
4748
<Route path="/install-app" element={<InstallApp/>}/>
4849
<Route path="/servicedesk" element={<ServiceDesk/>}/>
4950
<Route path="/servicedesk-en" element={<ServiceDesk/>}/>
51+
<Route path="/verify" element={<Verify/>}/>
5052
<Route path="*" element={<NotFound/>}/>
5153
</Routes>
5254
</div>

public-gui/src/App.scss

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ h5 {
8181

8282
&.with-collapse-fields {
8383
padding: 35px 0;
84+
gap: 0;
8485
width: 100%;
85-
h3 {
86+
h2, h3 {
8687
padding: 0 35px 12px 35px;
8788
}
8889
}
@@ -101,5 +102,28 @@ h5 {
101102

102103
}
103104

105+
table.servicedesk-table {
106+
width: 100%;
107+
border-collapse: collapse;
108+
margin: 12px 0;
109+
font-size: 14px;
104110

111+
th, td {
112+
text-align: left;
113+
padding: 8px 12px;
114+
border: 1px solid var(--sl-color-grey-100);
115+
}
116+
117+
thead tr {
118+
background-color: var(--sl-color-neutral-50);
119+
120+
th {
121+
font-weight: 600;
122+
}
123+
}
124+
125+
tbody tr {
126+
background-color: white;
127+
}
128+
}
105129

public-gui/src/assets/verify.svg

Lines changed: 1 addition & 0 deletions
Loading

public-gui/src/components/InfoLinkField.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
padding: 16px 24px 16px 35px;
66

77
border-top: 1px solid var(--sl-color-grey-100);
8-
border-bottom: 1px solid var(--sl-color-grey-100);
8+
9+
&:last-child {
10+
border-bottom: 1px solid var(--sl-color-grey-100);
11+
}
912

1013
.info-link-field-inner {
1114
display: flex;

public-gui/src/components/Navigation.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {useAppStore} from "../stores/AppStore.js";
77
import {Button, ButtonType} from "@surfnet/sds";
88
import {LanguageSelector} from "./LanguageSelector.jsx";
99

10-
const tabNames = ["home", "about", "support"]
10+
const tabNames = ["home", "about", "support", "verify", "servicedesk"]
1111

1212
export const Navigation = ({mobile, path}) => {
1313

public-gui/src/index.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,12 @@ $tablet-width-cutoff: 821px;
2828
flex-direction: column;
2929
gap: 25px;
3030
}
31+
32+
strong {
33+
font-weight: 600;
34+
}
35+
36+
p.section-label {
37+
font-weight: 600;
38+
margin-bottom: 10px;
39+
}

public-gui/src/locale/en.js

Lines changed: 6 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ const en = {
55
tabs: {
66
home: "Home",
77
support: "Help",
8-
about: "About eduID"
8+
about: "About eduID",
9+
verify: "Verify",
10+
servicedesk: "Service Desk"
911
},
1012
header: {
1113
mineEduID: "My eduID",
@@ -18,9 +20,9 @@ const en = {
1820
eduID: "eduID",
1921
title: "Easily prove who you are",
2022
whatCanYouDo: "What is eduID for?",
21-
info1: "Verify your identity for education and research in the Netherlands",
22-
info2: "Log in to a growing number of websites and online services",
23-
info3: "For students, staff, and professionals",
23+
info1: "Log in to a growing number of education and research services, whether you're a student, staff member, or professional.",
24+
info2: "Your eduID stays with you throughout your entire career, from your studies to work and courses later in life.",
25+
info3: "You always have full insight into and control over your personal data.",
2426
readMore: "Learn more about eduID",
2527
eduIdApp: "Want to log in faster and more securely?",
2628
appInfo: "With the <strong>eduID app</strong>, you can log in without a password or checking your email. Installation is quick and easy.",
@@ -29,47 +31,6 @@ const en = {
2931
appStoreAlt: "Download on the App Store",
3032
googlePlayAlt: "Get it on Google Play",
3133
},
32-
about: {
33-
eduID: "About eduID",
34-
title: "One account for educational and research institutions",
35-
why: "What is eduID?",
36-
whyInfo1: "eduID helps students, staff, and professionals easily prove their identity at educational and research institutions in the Netherlands. Students are increasingly attending courses at multiple institutions. Previously, students couldn't log in to one institution using an account from another. Staff, professionals, and guests experience the same problems and are often active at multiple institutions.",
37-
whyInfo2: "eduID solves this problem by providing one account to verify your identity across multiple Dutch educational and research institutions.",
38-
register: "How to get an eduID?",
39-
registerInfo: "Creating an eduID is simple. Press <strong>Create an eduID</strong> at the top of the page. After creating your eduID, you may need to verify your identity through an official party, such as your school, university, or bank.",
40-
logins: "How to confirm your identity?",
41-
loginsInfo: "In most cases, you must prove your identity through an official party before you can fully use your eduID. You can do this in the following ways:",
42-
43-
magicLink: "Code in email",
44-
password: "Password",
45-
passKey: "Passkey",
46-
identity: "How to use eduID?",
47-
identityInfo1: "You can use eduID to log in to websites and online services in the Netherlands. We recommend using the eduID app for the most secure and convenient experience. The app lets you log in without a password, and two-factor authentication (2FA) adds an extra layer of security.",
48-
identityInfo2: "Prefer not to download an app? You can also log in using:",
49-
institution: "Via a Dutch educational institution",
50-
institutionInfo: "Log in to your institution, which will then share details like your name and role (student, lecturer, etc.) with us.",
51-
bank: "Via a Dutch banking app",
52-
bankInfo: "Log in to your bank, which will provide us with your name and date of birth. No payment is required.",
53-
european: "With a European ID",
54-
europeanInfo: "Show your ID and a verification code at an eduID Service Desk (online or at an institution).",
55-
manage: "Where can you find your data?",
56-
manageInfo: "In <a href='{{url}}'>My eduID</a>, you can view your name, email address, and security settings. You can also check which websites and services you’ve accessed with eduID and download or delete your data."
57-
},
58-
support: {
59-
eduID: "Help",
60-
title: "When you need assistance",
61-
studying: "Do you study in the Netherlands?",
62-
connect: "Connect your educational institution",
63-
studyInfo: "Before you can use eduID for services in Dutch education, we need to verify your identity. That’s why we ask you to add the following information to your eduID:",
64-
informationBullet1: "Your full name, verified by an official party",
65-
informationBullet2: "Proof that you are a student",
66-
informationBullet3: "Your current institutionValidation of your full name by a third party",
67-
allAtOnce: "You can add this information all at once by connecting your educational institution to eduID. To do this, press <strong>Add an institution</strong> in the eduID app or <a href='{{url}}'>My eduID</a>.",
68-
mobileScreenshotAlt: "Screenshot of the eduID app showing where to add an institution",
69-
note: "<strong>Note</strong>: did you create an eduID last school year? You may need to connect your institution again.",
70-
help: "Need more help?",
71-
helpInfo: "Have a look at the <a href=\"https://servicedesk.surf.nl/wiki/x/MIJsB\">eduID documentation</a> and the <a href=\"https://servicedesk.surf.nl/wiki/x/ToJsB\">FAQ</a>, or send an email to <a href='mailto:help@eduid.nl'>help@eduid.nl</a>. We’ll get back to you as soon as possible."
72-
},
7334
privacy: {
7435
eduID: "Privacy Policy",
7536
title: "Version October 18, 2024"
@@ -78,33 +39,12 @@ const en = {
7839
eduID: "Terms of Use",
7940
title: "Version June 17, 2024"
8041
},
81-
servicedesk: {
82-
title: "Servicedesk",
83-
info:"For more information about how, when and by which service desk you can verify your eduID using a code, please visit our" +
84-
" <a href='https://servicedesk.surf.nl/wiki/pages/viewpage.action?pageId=166920533'>Wiki</a>"
85-
},
8642
footer: {
8743
terms: "Terms of Use",
88-
termsLink: "https://support.surfconext.nl/terms-en",
8944
privacy: "Privacy Policy",
90-
privacyLink: "https://support.surfconext.nl/privacy-en",
9145
surfLink: "https://surf.nl",
9246
surfLogoLabel: "SURF",
9347
euLogoAlt: "Funded by the European Union. NextGenerationEU."
9448
},
95-
faq: [
96-
{
97-
q: "question 1",
98-
a: "answer 1 with {{variable}} interpolation"
99-
},
100-
{
101-
q: "question 2",
102-
a: "answer 2 with <code>HTML</code> formatting"
103-
},
104-
{
105-
q: "question 3",
106-
a: "answer 3"
107-
}
108-
]
10949
}
11050
export default en;

public-gui/src/locale/nl.js

Lines changed: 3 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ const nl = {
55
tabs: {
66
home: "Home",
77
support: "Help",
8-
about: "Over eduID"
8+
about: "Over eduID",
9+
verify: "Verificatie",
10+
servicedesk: "Servicedesk"
911
},
1012
header: {
1113
mineEduID: "Mijn eduID",
@@ -29,34 +31,6 @@ const nl = {
2931
appStoreAlt: "Download in de App Store",
3032
googlePlayAlt: "Ontdek het op Google Play",
3133
},
32-
about: {
33-
eduID: "Over eduID",
34-
title: "Eén account voor onderwijs- en onderzoeksinstellingen",
35-
why: "Wat is eduID?",
36-
whyInfo1: "eduID is één account waarmee je eenvoudig inlogt bij verschillende onderwijs- en onderzoeksinstellingen in Nederland, of je nu student, medewerker of professional bent.",
37-
whyInfo2: "eduID is de oplossing: één account waarmee je bij verschillende Nederlandse onderwijs- en onderzoeksinstellingen kunt bewijzen wie je bent.",
38-
register: "Hoe gebruik je eduID?",
39-
createEduId: "1. Maak een eduID aan",
40-
createEduIdInfo: "Klik op 'eduID aanmaken' en volg de stappen.</br>. Gebruik een persoonlijk e-mailadres dat je blijft gebruiken, ook als je van school of baan verandert.",
41-
logins: "Waar vind je je account en gegevens terug?",
42-
loginsInfo: "Heb je een eduID aangemaakt? Dan vind je in <a href='{{}}' target='_blank'>Mijn eduID</a> alle gegevens, zoals je naam, e-mailadres en hoe je eduID beveiligd is. Deze gegevens kun je beheren en aanpassen als je dat wilt. In Mijn eduID kun je ook zien bij welke websites en diensten je bent ingelogd met eduID.",
43-
44-
},
45-
support: {
46-
eduID: "Help",
47-
title: "Voor als je er niet uit komt",
48-
studying: "Studeer je in Nederland?",
49-
connect: "Koppel je onderwijsinstelling",
50-
studyInfo: "We moeten eerst zeker zijn wie je bent. Alleen zo kun je eduID gebruiken voor diensten in het Nederlandse onderwijs. Daarom vragen we je deze gegevens toe te voegen aan je eduID:",
51-
informationBullet1: "Je volledige naam, bevestigd door een officiële partij",
52-
informationBullet2: "Bewijs dat je student bent",
53-
informationBullet3: "Je huidige instelling",
54-
allAtOnce: "Je kunt deze gegevens in één keer toevoegen door je onderwijsinstelling te koppelen met eduID. Druk hiervoor op <strong>Voeg instelling toe</strong> in de eduID app of <a href='{{url}}'>Mijn eduID</a>.",
55-
mobileScreenshotAlt: "Screenshot van de eduID app waarop te zien is waar je een instelling toevoegt",
56-
note: "<strong>Let op:</strong> heb je vorig schooljaar al een eduID gemaakt? Dan moet je misschien opnieuw je instelling koppelen",
57-
help: "Meer hulp nodig?",
58-
helpInfo: "Bekijk de <a href=\"https://servicedesk.surf.nl/wiki/x/L4JsB\">eduID documentatie</a> en de <a href=\"https://servicedesk.surf.nl/wiki/x/UIJsB\">veelgestelde vragen</a>. Als je er niet uit komt kun je een e-mail sturen naar <a href='mailto:help@eduID.nl'>help@eduid.nl</a>. We komen zo snel mogelijk bij je terug."
59-
},
6034
privacy: {
6135
eduID: "Privacyverklaring",
6236
title: "Versie 18 oktober 2024"
@@ -65,20 +39,12 @@ const nl = {
6539
eduID: "Gebruiksvoorwaarden",
6640
title: "Versie 17 juni 2024"
6741
},
68-
servicedesk: {
69-
title: "Servicedesk",
70-
info:"Meer informatie over hoe, wanneer en bij welke service desk je je eduID met behulp van een code kan verifiëren? Kijk dan op onze" +
71-
" <a href='https://servicedesk.surf.nl/wiki/pages/viewpage.action?pageId=166920530'>Wiki</a>",
72-
},
7342
footer: {
7443
terms: "Gebruiksvoorwaarden",
75-
termsLink: "https://eduid.nl/terms",
7644
privacy: "Privacyverklaring",
77-
privacyLink: "https://eduid.nl/privacy",
7845
surfLink: "https://surf.nl",
7946
surfLogoLabel: "SURF",
8047
euLogoAlt: "Funded by the European Union. NextGenerationEU."
8148
},
82-
8349
}
8450
export default nl;

0 commit comments

Comments
 (0)