From 178838319204db1910261780f9c72e80cb1d2315 Mon Sep 17 00:00:00 2001 From: ti ko Date: Tue, 26 Dec 2023 11:30:17 +0100 Subject: [PATCH] only-one-collection-with-data-instead-of-several-for-each-cat --- README.md | 13 +--- layouts/contact/single.html | 2 +- layouts/imprint/single.html | 5 +- layouts/index.html | 22 +++---- layouts/partials/foot.html | 8 +-- layouts/partials/head.html | 11 ++-- static/client.js | 115 ++++++++++++++++++++++++------------ static/index.js | 51 ---------------- static/nav.js | 26 ++++++++ static/style.css | 12 ++-- static/table.js | 52 ---------------- 11 files changed, 135 insertions(+), 182 deletions(-) delete mode 100644 static/index.js create mode 100644 static/nav.js delete mode 100644 static/table.js diff --git a/README.md b/README.md index 674efb0..6d2cd6e 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,8 @@ ### Steps to reach Goal -- Started with Node js and Express using [Heroku](https://tik9.herokuapp.com) +- Started with Node js and Express - Single Page App -- Now: Hugo
@@ -17,7 +16,7 @@ - Html, Markdown and CSS - Javascript -- Hugo +- Mongo db, a document data base
@@ -25,6 +24,7 @@ - [Overview](/) - [Contact](/contact) +- [Imprint](/imprint)
@@ -35,11 +35,4 @@ | Js | async/await | | hugo | static site generator |
- -### To Do - - | page | to do | done | - | ----- | ---------------------------------------------------------------- | - | menu | menu for smartphone with three horizontal lines - hamburger menu | - | debug | debug env for smartphone on localhost | \ No newline at end of file diff --git a/layouts/contact/single.html b/layouts/contact/single.html index fd491b8..4fe7583 100644 --- a/layouts/contact/single.html +++ b/layouts/contact/single.html @@ -1,6 +1,6 @@ {{ partial "head.html" }}
-

Kontakt Timo's Nachhilfe

+

Kontakt

{{.Content}} diff --git a/layouts/imprint/single.html b/layouts/imprint/single.html index 438ca54..0db83bf 100644 --- a/layouts/imprint/single.html +++ b/layouts/imprint/single.html @@ -1,6 +1,7 @@ {{ partial "head.html" }} -
-

Impressum Timo's Nachhilfe

+
+

Imprint

+ {{.Content}} {{ partial "foot.html" }} \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index c4c742b..1580c71 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,20 +1,16 @@ + {{ partial "head.html" }}

- Timo's Nachhilfe

+ style="margin-bottom: 50px; font-size: 5rem; color: #fef6e4; text-shadow: 5px 5px 0px #172c66, 10px 10px 0px #001858, 15px 15px 0px #f9bc60,20px 20px 0px #ff8e3c, 25px 25px 0px #9656a1;"> + Online math classes -
- Online Nachhilfe mit folgenden Tools:
- Google Meet
- kollaborative Whiteboards

- Meine Qualifikation:
- BWL Studium - Abschluss Dipl.-Kfm. Univ.
- Auslandssemester in Spanien
- Erfahrung mit Online - Nachhilfe +{{ partial "foot.html" }} - {{ partial "foot.html" }} + + - - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/foot.html b/layouts/partials/foot.html index 7d49b06..67d2c45 100644 --- a/layouts/partials/foot.html +++ b/layouts/partials/foot.html @@ -1,9 +1,9 @@ -
- - + + \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2fff7e4..5348fe7 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,14 +1,17 @@ - - - +
-