feat: add Home page
This commit is contained in:
parent
87c694eec3
commit
007cb46ab7
1
fractal/src/components/99-pages/home/home.config.yml
Normal file
1
fractal/src/components/99-pages/home/home.config.yml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
name: Home
|
5
fractal/src/components/99-pages/home/home.njk
Normal file
5
fractal/src/components/99-pages/home/home.njk
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<div class="max-w-4xl mx-auto px-4">
|
||||||
|
{% render "@logo" %}
|
||||||
|
{% render "@page-title" %}
|
||||||
|
{% render "@footer" %}
|
||||||
|
</div>
|
|
@ -10,7 +10,7 @@
|
||||||
<link rel="stylesheet" href="{{ '/build/tailwind.css' | path }}">
|
<link rel="stylesheet" href="{{ '/build/tailwind.css' | path }}">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="bg-gray-100">
|
<body>
|
||||||
{{ yield | safe }}
|
{{ yield | safe }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue