diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml deleted file mode 100644 index d7fe848..0000000 --- a/.github/workflows/pages.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Deploy to GitHub Pages - -on: - push: - branches: [main] - -permissions: - contents: read - pages: write - id-token: write - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout Repository - uses: actions/checkout@v3 - - name: Install, Build, and Upload - uses: withastro/action@v0 - - deploy: - needs: build - runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 diff --git a/src/app/page.tsx b/src/app/page.tsx index 0fd7308..d327b5c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,6 +10,7 @@ import Team from "../components/Team/Team"; import Speakers from "../components/Speakers/Speakers"; import {Features} from "../components/Features/Features"; import LandingImage from "../components/LandingImage/LandingImage"; +import {Location} from "../components/Location/Location"; export default function Page() { return ( @@ -20,6 +21,7 @@ export default function Page() { + diff --git a/src/assets/images/locationImage.webp b/src/assets/images/locationImage.webp new file mode 100644 index 0000000..ac5adec Binary files /dev/null and b/src/assets/images/locationImage.webp differ diff --git a/src/assets/images/sponsors/DreesSommer.webp b/src/assets/images/sponsors/DreesSommer.webp new file mode 100644 index 0000000..d310fdf Binary files /dev/null and b/src/assets/images/sponsors/DreesSommer.webp differ diff --git a/src/assets/images/sponsors/berta-rudi_logo_negativ_sw.svg b/src/assets/images/sponsors/berta-rudi_logo_negativ_sw.svg new file mode 100644 index 0000000..cf0bcdc --- /dev/null +++ b/src/assets/images/sponsors/berta-rudi_logo_negativ_sw.svg @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/Gallery/Gallery.jsx b/src/components/Gallery/Gallery.jsx index 06b5368..d945c8f 100644 --- a/src/components/Gallery/Gallery.jsx +++ b/src/components/Gallery/Gallery.jsx @@ -55,147 +55,77 @@ import DSC03006 from '../../assets/images/event/DSC03006_1920.webp' import DSC03022 from '../../assets/images/event/DSC03022_1920.webp' import DSC03032 from '../../assets/images/event/DSC03032_1920.webp' +let images = { + name: "2023", + subtitle: "about://building-trust-in-digital-state", + items: [ + DSC02572, + DSC02594, + DSC02601, + DSC02604, + DSC02609, + DSC02617, + DSC02619, + DSC02630, + DSC02632, + DSC02635, + DSC02638, + DSC02639, + DSC02643, + DSC02645, + DSC02646, + DSC02659, + DSC02677, + DSC02680, + DSC02762, + DSC02810, + DSC02820, + DSC02823, + DSC02824, + DSC02830, + DSC02868, + DSC02870, + DSC02872, + DSC02876, + DSC02879, + DSC02886, + DSC02889, + DSC02903, + DSC02908, + DSC02914, + DSC02919, + DSC02920, + DSC02923, + DSC02926, + DSC02928, + DSC02931, + DSC02941, + DSC02946, + DSC02949, + DSC02957, + DSC02962, + DSC02969, + DSC02974, + DSC02983, + DSC02992, + DSC02998, + DSC03006, + DSC03022, + DSC03032, -/* -const images={} -await Astro.glob("/src/assets/images/*.jpg").then((files) => { - files.forEach((file) => { - const name = file.default.src.split(".")[0].split("/").pop() - images[name]=file.default - }); -}); -k -places.forEach((place)=>{ - const image = images[place.name] - if(image) - place.image=image - else - place.image = fallbackImage -}) -console.log(images) -*/ -let faqs = [ - { - name: "2023", - subtitle: "about://building-trust-in-digital-state", - items: [ - DSC02572, - DSC02594, - DSC02601, - DSC02604, - DSC02609, - DSC02617, - DSC02619, - DSC02630, - DSC02632, - DSC02635, - DSC02638, - DSC02639, - DSC02643, - DSC02645, - DSC02646, - DSC02659, - DSC02677, - DSC02680, - DSC02762, - DSC02810, - DSC02820, - DSC02823, - DSC02824, - DSC02830, - DSC02868, - DSC02870, - DSC02872, - DSC02876, - DSC02879, - DSC02886, - DSC02889, - DSC02903, - DSC02908, - DSC02914, - DSC02919, - DSC02920, - DSC02923, - DSC02926, - DSC02928, - DSC02931, - DSC02941, - DSC02946, - DSC02949, - DSC02957, - DSC02962, - DSC02969, - DSC02974, - DSC02983, - DSC02992, - DSC02998, - DSC03006, - DSC03022, - DSC03032, - - ] - }, - { - name: "2022", - items: [ - { - title: "Lorem 2", - text: "Some Text" - } - ] - }, - { - name: "2021", - items: [ - { - title: "Lorem 2", - text: "Some Text" - } - ] - } -] + ] +} export function Gallery() { - const [selectedIndex, setSelectedIndex] = React.useState(0); - - const handleListItemClick = ( - event, - index, - ) => { - setSelectedIndex(index); - }; return ( Gallery - {/* - - - { - faqs.map((faq, idx) => ( - handleListItemClick(event, idx)} - sx={{padding: 2}} - > - - - - {faq.name} - - )) - } - - - */} - {faqs[selectedIndex].items.map((item, i) => ( + {images.items.map((item, i) => ( document.getElementById("signupForm").scrollIntoView({ behavior: "smooth", block: "start", inline: "nearest" })} + startIcon={} + onClick={() => document.getElementById("location").scrollIntoView({ behavior: "smooth", block: "start", inline: "nearest" })} > - Sign Up closed + Directions + How to get to the event + + + + + {showMap ? ( + + + + ) : ( + + + + setShowMap(true)}> + + + + Click to enable Google Maps + + + )} + + + + + + + + Address + August-Bebel-Str. 88, 14482 Potsdam + + Get Directions: + + + + + + + By Car + There are multiple parking spaces available near the Location. We endorse + however, the use of Public Transport. + + + By Train + Please use the DB Navigator App to get directions to the Station, Potsdam + Griebnitzsee. + To get a Discount on your Ticket, you can use the DB event ticket, which was sent to you via E-Mail. + + + + + + + ) +} \ No newline at end of file diff --git a/src/components/Registration/Registration.jsx b/src/components/Registration/Registration.jsx index bc0769e..44eca09 100644 --- a/src/components/Registration/Registration.jsx +++ b/src/components/Registration/Registration.jsx @@ -31,6 +31,7 @@ import { Mail, Send } from "@mui/icons-material"; // types: 0 = empty, 1 = textfield, 2 = date, 3 = select, 4 = radio +const registrationClosed = true; const personalData = [ { formLabel: 'First name', @@ -427,27 +428,22 @@ function Registration() { } - return ( + function renderRegistration() { + if (registrationClosed) { + return ( + + + Registration is closed! + + + We are currently reviewing all applications and will reach out to you soon. + + + ) + } - - - Registration - Apply now before March 15th! - - - - Registration is closed! - - - We are currently reviewing all applications and will reach out to you soon. - - + return( + <> {steps.map((step, index) => ( @@ -498,10 +494,21 @@ function Registration() { ))} - Read our privacy + Read our privacy policy for information on how we handle your data and what you rights are. - + + ) + } + + return ( + + + + Registration + {!registrationClosed ? Apply now before March 15th! : undefined} + {renderRegistration()} ) diff --git a/src/components/Sponsors/Sponsors.jsx b/src/components/Sponsors/Sponsors.jsx index 92132a1..22732a7 100644 --- a/src/components/Sponsors/Sponsors.jsx +++ b/src/components/Sponsors/Sponsors.jsx @@ -7,34 +7,58 @@ import HolySquad from "../../assets/images/sponsors/holySquad.png"; import DB from "../../assets/images/sponsors/db.svg"; import Potsdam from "../../assets/images/sponsors/potsdam.webp"; import AxelSpringer from "../../assets/images/sponsors/axelspringer.webp"; +import BertaRudi from "../../assets/images/sponsors/berta-rudi_logo_negativ_sw.svg"; +import Starwit from "../../assets/images/sponsors/cropped-logo-starwit-white.png"; +import DreesSommer from "../../assets/images/sponsors/DreesSommer.webp"; + function Sponsors() { const sponsors = [ { - logo: ClimateTechHub.src, - alt: "Logo of Climate Tech Hub", - link: "https://www.climate-tech-hub.com/" - }, { + logo: BertaRudi.src, + alt: "Logo of Berta Rudi", + link: "https://berta-rudi.com/?utm_source=crossmedial&utm_medium=hpihack&utm_campaign=hackathon" + }, + { + logo: AxelSpringer.src, + alt: "Logo of Axel Springer", + link: "https://www.axelspringer.com/" + }, + { logo: ESchool.src, alt: "Logo of HPI E-School", link: "https://hpi.de/entrepreneurship/home.html" - }, { + }, + { + logo: Potsdam.src, + alt: "Logo of the City of Potsdam", + link: "https://www.potsdam.de/de" + }, + { + logo: DreesSommer.src, + alt: "Logo of Drees & Sommer", + link: "https://www.dreso.com/" + }, + { + logo: Starwit.src, + alt: "Logo of Starwit", + link: "https://starwit-technologies.de/" + }, + { + logo: ClimateTechHub.src, + alt: "Logo of Climate Tech Hub", + link: "https://www.climate-tech-hub.com/" + }, + { logo: HolySquad.src, alt: "Logo of HolySquad", link: "https://de.weareholy.com/" - }, { + }, + { logo: DB.src, alt: "Logo of Deutsche Bahn", link: "https://www.deutschebahn.com/" - }, { - logo: Potsdam.src, - alt: "Logo of the City of Potsdam", - link: "https://www.potsdam.de/de" - }, { - logo: AxelSpringer.src, - alt: "Logo of Axel Springer", - link: "https://www.axelspringer.com/" }, ] diff --git a/src/components/TimeTable/TimeTable.jsx b/src/components/TimeTable/TimeTable.jsx index 80b6381..25b1076 100644 --- a/src/components/TimeTable/TimeTable.jsx +++ b/src/components/TimeTable/TimeTable.jsx @@ -13,43 +13,43 @@ import {IconContainer} from "../Features/Features"; const dayOne = [ { - time: "08:00 - 09:00", + time: "09:10 - 11:00", icon: , title: "Check-In", person: "", }, { - time: "09:00 - 10:00", + time: "09:30 - 11:00", icon: , title: "Breakfast & Get to know each other", person: "", }, { - time: "10:00 - 11:00", + time: "11:00 - 12:00", icon: , title: "Introduction & Speakers", person: "", }, { - time: "11:00 - 12:00", + time: "12:00 - 13:00", icon: , title: "Challenge Input Sessions", person: "", }, { - time: "12:00 - 13:00", + time: "13:00 - 14:00", icon: , title: "Lunch", person: "", }, { - time: "13:00 - 18:00", + time: "14:00 - 18:00", icon: , title: "Idea-Workshop", person: "optional", }, { - time: "13:00 - 13:00 next day (Continuously)", + time: "14:00 - 13:00 next day (Continuously)", icon: , title: "Start Hacking Time", person: "", diff --git a/src/components/VerifiedChecker/VerifiedChecker.jsx b/src/components/VerifiedChecker/VerifiedChecker.jsx index f8edaf1..06f253e 100644 --- a/src/components/VerifiedChecker/VerifiedChecker.jsx +++ b/src/components/VerifiedChecker/VerifiedChecker.jsx @@ -17,7 +17,7 @@ export function VerifiedChecker() { return ( } severity="success"> - Your E-Mail has been verified! + Thank you for verifying your participation! ) diff --git a/src/components/WhatToExpect/WhatToExpect.jsx b/src/components/WhatToExpect/WhatToExpect.jsx index 8aa2350..94f4395 100644 --- a/src/components/WhatToExpect/WhatToExpect.jsx +++ b/src/components/WhatToExpect/WhatToExpect.jsx @@ -1,9 +1,15 @@ -import {Box, Container, Grid, Typography} from "@mui/material"; +"use client" +import {Box, Container, Grid, IconButton, Typography} from "@mui/material"; import {WindowCard} from "../WindowCard/WindowCard.jsx"; import HackHPIWrapper from "../Theme/HackHPIWrapper.jsx"; +import {PlayArrow} from "@mui/icons-material"; +import {useState} from "react"; function WhatToExpect() { + const [playVideo, setPlayVideo] = useState(false) + const vimeoVideoId = "867922224" + return ( @@ -28,13 +34,34 @@ function WhatToExpect() { -