Skip to content

Commit e6ae10a

Browse files
authored
Merge pull request #198 from HackHPI/develop
RELEASE 07.02
2 parents 614c5f5 + 94a3a87 commit e6ae10a

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

src/components/Faq/Faq.jsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ let faqs = [
3434
title: "What's so special about HackHPI?",
3535
text: "There are very few hackathons focusing on social issues; we want to fix that and give you the chance to change the world for the better by building applications that truly matter! You will also have the opportunity to get in touch with our awesome partners, slip into their shoes and solve real-world challenges using their APIs and expertise."
3636
}, {
37-
title: "Will HackHPI 2025 take place onsite?",
38-
text: "Yes, and that's quite a sure thing. We believe that Hackathons need the human contact that only in-person events can provide, and we're glad to announce that the HackHPI 2025 will be an in-presence only event!"
37+
title: "Will HackHPI 2026 take place onsite?",
38+
text: "Yes, and that's quite a sure thing. We believe that Hackathons need the human contact that only in-person events can provide, and we're glad to announce that the HackHPI 2026 will be an in-presence only event!"
3939
}, {
4040
title: "Are there any costs for me?",
41-
text: "Nope! HackHPI is completely free, and we provide you with food, drinks (and a lot of caffeine! :D) during the whole Hackathon. Unfortunately, we are not able to provide travel reimbursements."
41+
text: "Nope! HackHPI is completely free, and we provide you with food, drinks (and a lot of caffeine! :D) during the whole Hackathon. Unfortunately, we are not able to provide travel reimbursements, but during the registration process you can apply for a travel scholarship that our partner QuantCo offers."
4242
// TODO: Add 'However, as an attendee, your confirmation email will include a link to our DB Event Ticket to receive a discount when booking via DB.' when confirmed
4343
}, {
4444
title: "Where can I stay during the Hackathon?",
@@ -48,7 +48,7 @@ let faqs = [
4848
text: "Take the S7 or RB 23 from Berlin Central Station (\"Berlin Hauptbahnhof\") towards Potsdam and exit at Potsdam Griebnitzsee."
4949
}, {
5050
title: "How should I prepare?",
51-
text: "Bring your laptop and a charger, comfortable clothes, and, above all, motivation to hack! You can dive into the topic of health in advance, but there will be introductory sessions as well."
51+
text: "Bring your laptop and a charger, comfortable clothes, and, above all, motivation to hack! You can dive into the topic of agriculture, climate, and tech in advance, but there will be introductory sessions as well."
5252
}
5353
]
5454
},
@@ -62,14 +62,14 @@ let faqs = [
6262
},
6363
{
6464
title: "Who can attend and are there any requirements to attend?",
65-
text: "If you’re a university or high-school student, you're good to go! We believe that diverse teams come up with more creative solutions. A hackathon should be a way to experience teamwork and work on your abilities. We therefore encourage every major to apply, and give a warm welcome to young professionals as well. However, due to german law, every participant has to be at least 18 years old. There are no further requirements"
65+
text: "If you’re a university or high-school student, you're good to go! We believe that diverse teams come up with more creative solutions. A hackathon should be a way to experience teamwork and work on your abilities. We therefore encourage every major to apply, and give a warm welcome to young professionals as well. However, due to german law, every participant has to be at least 18 years old. There are no further requirements."
6666
},
6767
{
6868
title: "How can we apply as a team?",
6969
text: "Teams will consist of about 5 people. In the registration form, you will be able to fill in with whom you would like to be in a team. However, everyone has to register themselves!"
7070
},
7171
{
72-
title: "When will applications close??",
72+
title: "When will applications close?",
7373
text: "Applications will open 16th January - 28th February."
7474
},
7575
{
@@ -83,7 +83,7 @@ let faqs = [
8383
items: [
8484
{
8585
title: "What are the challenges?",
86-
text: "All challenges are connected to the subject of health, but we cannot tell you what awaits you. And honestly, who wants to miss the thrill of a surprise challenge? Anyway, the exact challenges will be announced at the event, so stay tuned!"
86+
text: "All challenges are connected to the theme of agriculture, climate, and tech, but we cannot tell you what awaits you. And honestly, who wants to miss the thrill of a surprise challenge? Anyway, the exact challenges will be announced at the event, so stay tuned!"
8787
},
8888
{
8989
title: "What are the prizes?",

src/components/Registration/GroupManager/GroupManager.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { GroupRest } from "../../../rest/GroupRest";
1414
export function GroupManager(props) {
1515
const [loadingNewTeam, setLoadingNewTeam] = useState(false);
1616
const [fetchingExistingTeam, setFetchingExistingTeam] = useState(false);
17-
const [group, setGroup] = useState(false);
17+
const [group, setGroup] = useState(props.value || false);
1818
const [groupInput, setGroupInput] = useState("");
1919
const [groupInputError, setGroupInputError] = useState(false);
2020
const [groupName, setGroupName] = useState("");

src/components/Registration/Registration.jsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ const travelSponsorship = [
204204
{
205205
fullWidth: true,
206206
input:
207-
"Our partner, Quantco, provides travel scholarships for participants from around the globe. Applying is easy — just submit your CV and select the checkbox below.",
207+
"Our partner, QuantCo, provides travel scholarships for participants from around the globe. Applying is easy — just submit your CV and select the checkbox below.",
208208
type: INPUT_TYPES.TYPOGRAPHY,
209209
},
210210
{
@@ -216,7 +216,7 @@ const travelSponsorship = [
216216
{
217217
formLabel: "",
218218
input: [
219-
"I consent to sharing my contact information and CV with our partner, Quantco, and authorize them to contact me.",
219+
"I consent to sharing my contact information and CV with our partner, QuantCo, and authorize them to contact me.",
220220
],
221221
name: "travelStipend",
222222
type: INPUT_TYPES.CHECKBOX,
@@ -280,6 +280,7 @@ function Registration() {
280280
<GroupManager
281281
eventId={"c11a427e-f679-49b6-8574-b0d3211ad123"}
282282
onGroupChange={(change) => handleChange("group", change)}
283+
value={values.group}
283284
/>
284285
),
285286
},
@@ -345,7 +346,7 @@ function Registration() {
345346
return previous && false;
346347
}
347348

348-
if (current.regex && !values[current.name].match(current.regex)){
349+
if (current.regex && !values[current.name].match(current.regex)) {
349350
return previous && false;
350351
}
351352

0 commit comments

Comments
 (0)