convert landing content to layout

This commit is contained in:
Vri 🌈 2023-03-18 21:17:31 +01:00
parent 140abbc846
commit 51d70fc7e9
Signed by: vrifox
GPG key ID: D40098E5B60B2197
6 changed files with 24 additions and 11 deletions

View file

@ -55,19 +55,21 @@
} }
} }
main > p { #general-description {
font-family: "playfair"; font-family: "playfair";
font-size: 2.15rem; font-size: 2.15rem;
letter-spacing: 0.1rem; letter-spacing: 0.1rem;
line-height: 2rem; line-height: 2rem;
text-align: center; text-align: center;
margin: 1.5rem; margin: 1.5rem;
&:first-of-type {
#websites-and-graphics {
line-height: 2.6rem; line-height: 2.6rem;
font-size: 3rem; font-size: 3rem;
margin-top: 6rem; margin-top: 6rem;
} }
&:last-of-type {
#cozy-town {
margin-bottom: 8rem; margin-bottom: 8rem;
} }
} }

View file

@ -1,6 +0,0 @@
---
title: "Hola 🖖"
---
Ich erstelle Websites und Grafiken
Zudem betreibe und betreue ich [Cozy Town](https://cozy.town)

View file

@ -29,6 +29,11 @@ introduction-heading:
introduction-sub: introduction-sub:
other: und Informatik ist meine Leidenschaft. other: und Informatik ist meine Leidenschaft.
home-websites-and-graphics:
other: I create Websites and Graphics
home-cozy-town:
other: Additinaly I host and maintain <a href="https://cozy.town">Cozy Town</a>
# Blog # Blog
blog-heading: blog-heading:
other: Artikel other: Artikel

View file

@ -23,12 +23,17 @@ moreposts-heading:
moreposts-more: moreposts-more:
other: more other: more
# Content # Home
introduction-heading: introduction-heading:
other: Hola, I am Vri other: Hola, I am Vri
introduction-sub: introduction-sub:
other: and Computer Science is my passion. other: and Computer Science is my passion.
home-websites-and-graphics:
other: Ich erstelle Websites und Grafiken
home-cozy-town:
other: Zudem betreibe und betreue ich <a href="https://cozy.town">Cozy Town</a>
# Blog # Blog
blog-heading: blog-heading:
other: Articles other: Articles

View file

@ -13,6 +13,13 @@
{{- define "main" }} {{- define "main" }}
<main id="main"> <main id="main">
{{ .Content }} <section id="general-description">
<p id="websites-and-graphics">
{{ i18n "home-websites-and-graphics" | safeHTML }}
</p>
<p id="cozy-town">
{{ i18n "home-cozy-town" | safeHTML }}
</p>
</section>
</main> </main>
{{- end }} {{- end }}