From 007cb46ab731353536c28b7fb69a5b7408832142 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 1 Jan 2023 21:06:42 +0000 Subject: [PATCH] feat: add Home page --- fractal/src/components/99-pages/home/home.config.yml | 1 + fractal/src/components/99-pages/home/home.njk | 5 +++++ fractal/src/components/_preview.njk | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 fractal/src/components/99-pages/home/home.config.yml create mode 100644 fractal/src/components/99-pages/home/home.njk diff --git a/fractal/src/components/99-pages/home/home.config.yml b/fractal/src/components/99-pages/home/home.config.yml new file mode 100644 index 00000000..4ddadb23 --- /dev/null +++ b/fractal/src/components/99-pages/home/home.config.yml @@ -0,0 +1 @@ +name: Home diff --git a/fractal/src/components/99-pages/home/home.njk b/fractal/src/components/99-pages/home/home.njk new file mode 100644 index 00000000..45847bf6 --- /dev/null +++ b/fractal/src/components/99-pages/home/home.njk @@ -0,0 +1,5 @@ +
+ {% render "@logo" %} + {% render "@page-title" %} + {% render "@footer" %} +
diff --git a/fractal/src/components/_preview.njk b/fractal/src/components/_preview.njk index 4784054b..8779abf6 100644 --- a/fractal/src/components/_preview.njk +++ b/fractal/src/components/_preview.njk @@ -10,7 +10,7 @@ - + {{ yield | safe }}