add about page and refine home page

This commit is contained in:
David Rodenkirchen
2024-05-27 08:47:47 +02:00
parent a2897194d7
commit a27d28498c
6 changed files with 48 additions and 9 deletions
+2 -8
View File
@@ -1,6 +1,5 @@
from __future__ import annotations
from dataclasses import KW_ONLY, field
from typing import * # type: ignore
import rio
@@ -24,13 +23,8 @@ class Home(rio.Component):
margin_right=1
),
comps.NewsPost(
header="Voll der Fließtext",
article_text=from_root("ezgg_website/assets/demo_article_1.txt"),
header="Startschuss für Homepage",
article_text=from_root("ezgg_website/assets/news_27_05_24.md"),
date="24.05.2024"
),
comps.NewsPost(
header="Lorem Ipsum",
article_text=from_root("ezgg_website/assets/demo_article_2.txt"),
date="12.02.1884"
)
))