-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
index.njk
69 lines (61 loc) · 2.7 KB
/
index.njk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
layout: base.njk
description: an enhancer/customiser for the all-in-one productivity workspace notion.so
---
<header class="flex flex-col <sm:p-4 sm:(pt-20 pb-18 px-6 items-center) bg-header border-b-1 border-dim">
<div class="items-center grid w-max max-w-full">
<div class="col-span-1 row-span-2 <sm:(mr-4 h-18 w-18) sm:(mr-6 h-36 w-36)">
<img src="{{ site_icon }}" class="w-full h-auto" alt="">
</div>
<h1 class="col-start-2 mt-auto font-mono font-bold <sm:text-lg sm:text-3xl">{{ site_name }}</h1>
<h2 class="col-start-2 mb-auto <sm:(text-xs max-w-56) sm:(text-lg max-w-sm)">{{ site_description }}</h2>
</div>
<nav>
<ul class="flex flex-row flex-wrap <sm:mt-4 sm:(justify-center mt-9 <lg:max-w-prose)">
{% for btn in landing_nav %}
<li class="<sm:(p-0.5 flex-grow) sm:p-1">
<a href="{{ btn.url }}" class="button <sm:(text-xs py-2 px-3 justify-center)">
{{ btn.icon | feather({ class: "<sm:(h-3 w-3)" }) | safe }}
<span>{{ btn.text }}</span>
</a>
</li>
{% endfor %}
{% for btn in nav %}
<li class="<sm:(p-0.5 flex-grow) sm:p-1">
<a href="{{ btn.url }}" class="button <sm:(text-xs py-2 px-3 justify-center)">
{{ btn.icon | feather({ class: "<sm:(h-3 w-3)" }) | safe }}
<span>{{ btn.text }}</span>
</a>
</li>
{% endfor %}
</ul>
</nav>
</header>
<main class="<md:text-center md:(grid grid-cols-2) justify-center px-6 pb-16 pt-10 md:w-4/5 mx-auto">
<div>
<p class="text-md px-1/20 pb-1/24">
In-app tabs, colour themes, extra sidebar features, right to left text,
database customisation, icon upload history, and more...
</p>
<img src="./assets/screenshots/app-pastel-dark.png" title="pastel dark theme" alt="" class="w-full" data-tilt>
<img src="./assets/screenshots/app-material-ocean.png" title="material ocean theme" alt="" class="w-full" data-tilt>
</div>
<div>
<img src="./assets/screenshots/app-nord.png" title="nord theme" alt="" class="w-full" data-tilt>
<img src="./assets/screenshots/app-pinky-boom.png" title="pinky boom theme" alt="" class="w-full" data-tilt>
<footer class="text-md px-1/20">
Available on Mac, Windows, Linux or in the browser.<br>
Created free and open source by <a href="https://dragonwocky.me/" class="link">dragonwocky</a>.
</footer>
</div>
</main>
<div class="fixed bottom-4 right-4 z-9 flex flex-col">
{% for btn in landing_actions %}
<button data-action="{{ btn.action }}" class="button-floating group">
<span class="tooltip opacity-0 group-hover:opacity-100 right-10 bottom-0">
{{ btn.tooltip }}
</span>
{{ btn.icon | feather | safe }}
</button>
{% endfor %}
</div>