-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
374 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
FROM node:lts AS runtime | ||
WORKDIR /app | ||
FROM nginx:alpine | ||
|
||
COPY . . | ||
|
||
RUN npm install | ||
RUN npm run build | ||
|
||
ENV HOST=0.0.0.0 | ||
ENV PORT=80 | ||
COPY ./out /usr/share/nginx/html/ | ||
EXPOSE 80 | ||
CMD node ./dist/server/entry.mjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
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"; | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<html lang="en"> | ||
<head> | ||
<meta charSet="UTF-8"/> | ||
<meta name="viewport" content="width=device-width"/> | ||
<link rel="icon" type="image/svg" href="/HackHPI_white.svg"/> | ||
<title> | ||
HackHPI 2024 | tomorrow's reality, today's vision. smart cities edition. | ||
</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> | ||
<HackHPIWrapper> | ||
{children} | ||
</HackHPIWrapper> | ||
<Footer/> | ||
</AppRouterCacheProvider> | ||
</body> | ||
</html> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import LandingImage2 from "../src/components/LandingImage/LandingImage2"; | ||
import {VerifiedChecker} from "../src/components/VerifiedChecker/VerifiedChecker"; | ||
import WhatToExpect from "../src/components/WhatToExpect/WhatToExpect"; | ||
import Sponsors from "../src/components/Sponsors/Sponsors"; | ||
import Registration from "../src/components/Registration/Registration"; | ||
import Newsletter from "../src/components/Newsletter/Newsletter"; | ||
import {TimeTable} from "../src/components/TimeTable/TimeTable"; | ||
import {Gallery} from "../src/components/Gallery/Gallery"; | ||
import {Faq} from "../src/components/Faq/Faq"; | ||
import Team from "../src/components/Team/Team"; | ||
|
||
export default function Page() { | ||
return ( | ||
<> | ||
<LandingImage2 /> | ||
<VerifiedChecker /> | ||
<WhatToExpect /> | ||
<Sponsors /> | ||
<Registration/> | ||
<Newsletter /> | ||
<TimeTable /> | ||
<Gallery /> | ||
<Faq /> | ||
<Team /> | ||
</> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* @type {import('next').NextConfig} | ||
*/ | ||
const nextConfig = { | ||
output: 'export', | ||
|
||
// Optional: Change links `/me` -> `/me/` and emit `/me.html` -> `/me/index.html` | ||
// trailingSlash: true, | ||
|
||
// Optional: Prevent automatic `/me` -> `/me/`, instead preserve `href` | ||
// skipTrailingSlashRedirect: true, | ||
|
||
// Optional: Change the output directory `out` -> `dist` | ||
// distDir: 'dist', | ||
} | ||
|
||
module.exports = nextConfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
'use client' | ||
import { | ||
Card, | ||
Container, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
'use client' | ||
import {Typography} from "@mui/material"; | ||
import {useEffect, useState} from "react"; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.