Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Added Imprint
Added Privacy
  • Loading branch information
DerCed committed Feb 14, 2024
1 parent 58e7b0d commit 7867582
Show file tree
Hide file tree
Showing 17 changed files with 329 additions and 485 deletions.
6 changes: 6 additions & 0 deletions app/imprint/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import Imprint from "../../src/components/Imprint/Imprint";
import HackHPIWrapper from "../../src/components/Theme/HackHPIWrapper";

export default function Page(){
return <HackHPIWrapper><Imprint/></HackHPIWrapper>
}
15 changes: 15 additions & 0 deletions app/layout.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@font-face {
font-family: "Neo Sans";
src: url("/fonts/NeoSansStdRegular.otf") format("opentype");
}

@font-face {
font-family: Neo Sans;
font-weight: bold;
src: url("/fonts/NeoSansStdBold.otf") format("opentype");
}
@font-face {
font-family: Neo Sans;
font-weight: 100;
src: url("/fonts/NeoSansStdLight.otf") format("opentype");
}
17 changes: 11 additions & 6 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ import React from "react";
import {AppRouterCacheProvider} from "@mui/material-nextjs/v13-appRouter";
import HackHPIWrapper from "../src/components/Theme/HackHPIWrapper";
import Footer from "../src/components/Footer/Footer";
import './layout.css'

export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {

export default function RootLayout({children,}: { children: React.ReactNode }) {
return (
<html lang="en">
<head>
Expand All @@ -19,13 +17,20 @@ export default function RootLayout({
</title>
<meta name={"description"}
content={"Explore the future of urban living at HPI in Potsdam. Join motivated students for two days of innovation, workshops, and collaboration with top-notch sponsors offering support and expertise. Tackle a challenge and dive into the world of smart cities."}/>

</head>
<body>
<AppRouterCacheProvider>
<div style={{position: "relative", minHeight: "100vh"}}>
<div style={{paddingBottom: "17rem"}}>
<HackHPIWrapper>
{children}
</HackHPIWrapper>
<Footer/>
</div>
<div style={{position: "absolute", bottom: 0, width: "100%", height: "17rem"}}>
<Footer/>
</div>
</div>
</AppRouterCacheProvider>
</body>
</html>
Expand Down
287 changes: 287 additions & 0 deletions app/privacy/page.tsx

Large diffs are not rendered by default.

38 changes: 0 additions & 38 deletions src/components/About.astro

This file was deleted.

46 changes: 0 additions & 46 deletions src/components/Faq.astro

This file was deleted.

143 changes: 0 additions & 143 deletions src/components/Footer.astro

This file was deleted.

6 changes: 4 additions & 2 deletions src/components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ function Footer() {
}} elevation={10}>
<Container maxWidth={"xl"}>
<Grid container spacing={2}>
<Grid item xs={3} sx={{display: matches ? undefined: "none"}}>
<img src={HackHpiLogo.src} style={{height: "5rem", width: "auto"}} alt={"Logo of HPI"}/>
<Grid item xs={3} sx={{display: matches ? undefined : "none"}}>
<Link href={"/"}>
<img src={HackHpiLogo.src} style={{height: "5rem", width: "auto"}} alt={"Logo of HPI"}/>
</Link>
</Grid>
<Grid item xs>
<Typography variant={"h5"} gutterBottom>HPI</Typography>
Expand Down
31 changes: 0 additions & 31 deletions src/components/Header.astro

This file was deleted.

56 changes: 0 additions & 56 deletions src/components/Hero.astro

This file was deleted.

Loading

0 comments on commit 7867582

Please sign in to comment.