-
+
= markdownFile('directory') ?>
diff --git a/content/pages/lid-worden.php b/content/pages/lid-worden.php
index acf46c1..094c908 100644
--- a/content/pages/lid-worden.php
+++ b/content/pages/lid-worden.php
@@ -1,39 +1,43 @@
-= markdownFile('become-member/intro') ?>
+
+
+ = markdownFile('become-member/intro') ?>
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
+ let form = document.getElementById('bank-form');
+ form.action = url + email;
+ form.submit();
+ }
+
-= markdownFile('become-member/bottom') ?>
+ = markdownFile('become-member/bottom') ?>
+
+
diff --git a/lib/Website/Blog.php b/lib/Website/Blog.php
index d450d87..94bb337 100644
--- a/lib/Website/Blog.php
+++ b/lib/Website/Blog.php
@@ -59,7 +59,7 @@ public function getContent(): string
*/
public function getTimestamp(): int
{
- return $this->timestamp;
+ return $this->timestamp ?? 0;
}
public function getDate(): string
diff --git a/lib/Website/Page.php b/lib/Website/Page.php
index ab76447..841c3b5 100644
--- a/lib/Website/Page.php
+++ b/lib/Website/Page.php
@@ -29,6 +29,11 @@ public function getHtml(): string
$markdown = $this->getMarkdownContent();
$markdown = str_replace('---', '', $markdown);
$html = MarkdownExtra::defaultTransform($markdown);
+ ob_start();
+ include __ROOT__ .'/templates/section-html.php';
+ $html = ob_get_contents();
+ ob_end_clean();
+
} catch (InvalidArgumentException $e) {
}
diff --git a/lib/functions.php b/lib/functions.php
index baff5c8..79fb139 100644
--- a/lib/functions.php
+++ b/lib/functions.php
@@ -23,5 +23,5 @@ function markdownFile(string $fileId): string
$text = file_get_contents($file);
- return MarkdownExtra::defaultTransform($text);
+ return markdown($text);
}
\ No newline at end of file
diff --git a/pub/style.css b/pub/style.css
index 34ad9b1..0e1893b 100644
--- a/pub/style.css
+++ b/pub/style.css
@@ -1115,6 +1115,10 @@ video {
right:0px;
}
+.top-2 {
+ top:0.5rem;
+}
+
.bottom-0 {
bottom:0px;
}
@@ -1147,6 +1151,10 @@ video {
margin:auto;
}
+.m-2 {
+ margin:0.5rem;
+}
+
.mx-auto {
margin-left:auto;
margin-right:auto;
@@ -1157,6 +1165,11 @@ video {
margin-right:0px;
}
+.my-4 {
+ margin-top:1rem;
+ margin-bottom:1rem;
+}
+
.mb-2 {
margin-bottom:0.5rem;
}
@@ -1165,6 +1178,14 @@ video {
margin-top:1rem;
}
+.mt-8 {
+ margin-top:2rem;
+}
+
+.mb-4 {
+ margin-bottom:1rem;
+}
+
.block {
display:block;
}
@@ -1231,8 +1252,8 @@ video {
appearance:none;
}
-.grid-cols-5 {
- grid-template-columns:repeat(5, minmax(0, 1fr));
+.grid-cols-1 {
+ grid-template-columns:repeat(1, minmax(0, 1fr));
}
.flex-row {
@@ -1293,9 +1314,9 @@ video {
background-color:rgb(234 88 12 / var(--tw-bg-opacity));
}
-.bg-gray-200 {
+.bg-gray-100 {
--tw-bg-opacity:1;
- background-color:rgb(229 231 235 / var(--tw-bg-opacity));
+ background-color:rgb(243 244 246 / var(--tw-bg-opacity));
}
.bg-white {
@@ -1332,12 +1353,16 @@ video {
object-fit:cover;
}
+.p-8 {
+ padding:2rem;
+}
+
.p-2 {
padding:0.5rem;
}
-.p-8 {
- padding:2rem;
+.p-1 {
+ padding:0.25rem;
}
.p-6 {
@@ -1348,10 +1373,6 @@ video {
padding:1rem;
}
-.p-1 {
- padding:0.25rem;
-}
-
.px-4 {
padding-left:1rem;
padding-right:1rem;
@@ -1387,6 +1408,10 @@ video {
padding-bottom:2rem;
}
+.pt-16 {
+ padding-top:4rem;
+}
+
.pt-4 {
padding-top:1rem;
}
@@ -1411,10 +1436,6 @@ video {
padding-right:0.5rem;
}
-.pb-16 {
- padding-bottom:4rem;
-}
-
.pb-8 {
padding-bottom:2rem;
}
@@ -1452,6 +1473,11 @@ video {
line-height:2.5rem;
}
+.text-2xl {
+ font-size:1.5rem;
+ line-height:2rem;
+}
+
.text-sm {
font-size:0.875rem;
line-height:1.25rem;
@@ -1462,11 +1488,6 @@ video {
line-height:2.25rem;
}
-.text-2xl {
- font-size:1.5rem;
- line-height:2rem;
-}
-
.text-lg {
font-size:1.125rem;
line-height:1.75rem;
@@ -1494,6 +1515,10 @@ video {
text-transform:uppercase;
}
+.italic {
+ font-style:italic;
+}
+
.leading-tight {
line-height:1.25;
}
@@ -1537,6 +1562,11 @@ video {
color:rgb(251 146 60 / var(--tw-text-opacity));
}
+.text-zinc-500 {
+ --tw-text-opacity:1;
+ color:rgb(113 113 122 / var(--tw-text-opacity));
+}
+
.no-underline {
text-decoration-line:none;
}
@@ -1661,6 +1691,10 @@ video {
flex:none;
}
+ .md\:grid-cols-5 {
+ grid-template-columns:repeat(5, minmax(0, 1fr));
+ }
+
.md\:py-32 {
padding-top:8rem;
padding-bottom:8rem;
diff --git a/templates/header.php b/templates/header.php
index a59fb1e..b8d663f 100644
--- a/templates/header.php
+++ b/templates/header.php
@@ -8,9 +8,11 @@
$menuItems = include Registry::getInstance()->getContentDirectory().'/data/topmenu.php';
?>
-
+
+
+
+
- = include './header/social-media.php' ?>