Projects/nettsiden-old
Projects
/
nettsiden-old
Archived
8
0
Fork 0

Outdated banner on nerdepitsa

This commit is contained in:
Felix Albrigtsen 2021-10-05 18:08:19 +02:00
parent bdbab5be9e
commit 9162ee70a7
1 changed files with 15 additions and 1 deletions

View File

@ -11,6 +11,20 @@ use \pvv\side\Agenda;
<link rel="stylesheet" href="../css/style.css">
<link rel="stylesheet" href="../css/nav.css">
<link rel="stylesheet" href="../css/events.css">
<style>
#outDatedBanner {
width: 100%;
height: 100px;
background-color: lightgray;
margin: auto auto;
border: 1px solid salmon;
border-radius: 20px;
}
#outDatedBanner > p {
margin: auto auto;
text-align: center;
}
</style>
<meta name="theme-color" content="#024" />
<title>Sosialverkstedet</title>
@ -18,7 +32,7 @@ use \pvv\side\Agenda;
<main>
<div id="outDatedBanner"><p><br>Denne siden er trolig utdatert! Hvis du er interessert, ta kontakt i discord-kanalen. <br> This page is probably outdated! If you're interested, check in with someone in our discord-channel. </p></div>
<?php
$activity = new \pvv\side\social\NerdepitsaActivity;
$nextEvent = $activity->getNextEventFrom(new DateTimeImmutable);