forked from usevital/notessential
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.vue
178 lines (162 loc) · 5.12 KB
/
default.vue
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<template>
<div
class="flex flex-col gap-8 sm:gap-16 bg-[color:var(--brand-colour)] h-dvh"
>
<!-- NAVBAR -->
<nav
class="sm:px-[calc(5%+2rem)] text-[color:var(--big-text-colour)] select-none font-bold p-8 flex flex-col sm:flex-row items-center text-base justify-between gap-6 max-w-full border-b border-b-slate-800"
>
<NuxtLink
class="font-[500] italic text-lg flex items-center flex-row gap-4 tracking-wider"
to="/"
>
<LogoType />
</NuxtLink>
<NuxtLink
class="text-[0.5rem] sm:text-[1rem] internalFont"
to="/alternatives"
>
{{ $t("layout.nav.alternatives") }}
</NuxtLink>
</nav>
<!-- MAIN CONTENT -->
<main
class="flex flex-auto justify-center flex-col mx-[5%] sm:mx-[calc(5%+2rem)] max-w-full"
>
<slot />
</main>
<!-- FOOTER -->
<LogoScroll />
<div class="flex justify-center flex-col gap-8">
<footer
class="flex flex-col gap-0 items-center pb-8 border-t border-t-slate-800 bg-[#0f0f0f]"
>
<div
class="flex flex-col sm:flex-row items-center sm:items-start sm:justify-center py-6 gap-8 mx-[calc(5%+2rem)] sm:mx-0"
>
<div class="flex flex-col items-center sm:items-start gap-4 pt-2">
<ColourableLogo color="var(--brand-blue)" class="h-4 w-full" />
<div
class="flex flex-col gap-1 font-[500] text-[var(--text-colour)] text-sm"
>
<NELink
class="font-medium text-white hover:underline"
to="https://github.com/blryface/notessential"
external
>{{ $t("layout.footer.open_source") }}</NELink
>
</div>
</div>
<div class="flex flex-row gap-6 sm:gap-8">
<div
class="flex flex-col gap-2 font-[500] text-[var(--text-colour)] text-sm"
>
<span class="font-bold text-base">{{
$t("layout.footer.about")
}}</span>
<span
>{{ $t("layout.footer.credit_creator") }}
<NELink to="https://blurryface.xyz" external
>Blurryface</NELink
></span
>
<span
>{{ $t("layout.footer.credit_designed") }}
<NELink to="https://worldwidepixel.ca" external
>WorldWidePixel</NELink
></span
>
</div>
<div
class="flex flex-col gap-2 font-[500] text-[var(--text-colour)] text-sm"
>
<span class="font-bold text-base">{{
$t("layout.footer.resources")
}}</span>
<NELink to="/contributing"
><LucidePenBox class="h-5" />{{
$t("layout.footer.contributing")
}}
</NELink>
<NELink to="/experiments"
><LucideWrench class="h-5" />{{
$t("layout.footer.experiments")
}}
</NELink>
</div>
<div
class="flex flex-col gap-2 font-[500] text-[var(--text-colour)] text-sm"
>
<span class="font-bold text-base">{{
$t("layout.footer.interact")
}}</span>
<NELink to="https://crowdin.com/project/notessential" external
><LucideGlobe class="h-5" />Crowdin
</NELink>
<NELink to="https://discord.gg/wncdz7e8jy" external
><LucideMessageCircle class="h-5" />Discord
</NELink>
</div>
</div>
</div>
<span class="flex flex-col gap-2 items-center">
<span
class="font-[500] text-slate-400 text-xs text-center mx-[calc(5%+2rem)] sm:mx-0"
>
{{ $t("layout.footer.disclaimer") }}
</span>
</span>
</footer>
</div>
</div>
</template>
<style>
.internalFont {
font-family: Internal, InternalBold, Geist, Inter;
}
.internalBold {
font-family: InternalBold, Internal, Geist, Inter;
}
.monocraftFont {
font-family: Monocraft;
}
:root {
font-family: Geist, Inter, Helvetica;
--brand-colour: rgb(0, 0, 0);
--brand-background: rgb(0, 0, 0);
--brand-background-old: rgb(0, 86, 234);
--text-colour: rgb(227, 245, 255);
--big-text-colour: rgb(227, 245, 255);
--brand-scrollbar: rgb(0, 86, 234);
--brand-logo: rgb(227, 245, 255);
--brand-red: #fa6f5a;
--brand-orange: #faa55a;
--brand-yellow: #fadd5a;
--brand-green: #9dfa5a;
--brand-blue: #5a95fa;
--brand-purple: #ba5afa;
--brand-rose: #fa5a87;
scrollbar-color: var(--brand-scrollbar) var(--brand-colour);
}
.brand-gradient {
background: linear-gradient(
90deg,
rgb(0, 106, 255) 0%,
rgb(31, 180, 255) 100%
);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
background-clip: text;
}
.brand-gradient-bg {
background: linear-gradient(
90deg,
rgb(0, 106, 255) 0%,
rgb(31, 180, 255) 100%
);
}
body {
background-color: var(--brand-background);
color: var(--text-colour);
}
</style>