Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/generalforsamling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { isAugust, isMsgExpired, isValentinesSeason } from "./utils/date";
import WelcomeScreen from "./pages/welcome-screen";
import { AutoReload } from "./components/auto-reload";
import { useMessage } from "./hooks/use-message";
import { GeneralforsamlingScreen } from "./pages/generalforsamling-screen";

export default function App() {
const { data: message } = useMessage();
Expand All @@ -22,7 +23,7 @@ export default function App() {
return () => clearInterval(interval);
}, []);

const visibleScreens = [CalendarScreen, TransportScreen];
const visibleScreens = [CalendarScreen, TransportScreen, GeneralforsamlingScreen];
if (isAugust()) {
visibleScreens.push(WelcomeScreen);
}
Expand Down
17 changes: 17 additions & 0 deletions src/pages/generalforsamling-screen.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export const GeneralforsamlingScreen = () => {
return (
<div className="flex flex-col items-center justify-center w-full">
<div className="flex flex-col items-center justify-center bg-background/80 border-2 shadow-lg rounded-2xl h-150 p-8 max-w-5xl w-full text-center max-h-150 overflow-hidden">
<h1 className="text-7xl font-semibold text-gray-700 mb-6">Generalforsamling idag!</h1>
<p className="text-lg text-gray-600 mb-4 italic">Meld deg på her</p>
<img
src="/generalforsamling.png"
alt="Generalforsamling"
className="mx-auto mb-6 w-48 h-48 object-contain"
/>
<p className="text-2xl text-gray-600 mb-4">Det blir mat, premier og demokrati! 😎</p>
<p className="text-2xl text-gray-600 mb-4">Så håper å se deg der 🫵</p>
</div>
</div>
);
};