mirror of
https://github.com/aljazceru/njump.git
synced 2026-01-18 05:44:26 +01:00
68 lines
1.7 KiB
HTML
68 lines
1.7 KiB
HTML
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="/njump/static/styles.css?v=20230914" />
|
|
|
|
{{if .IsProfile}}
|
|
<link
|
|
rel="apple-touch-icon"
|
|
sizes="180x180"
|
|
href="/njump/static/favicon/profile/apple-touch-icon.png?v=2"
|
|
/>
|
|
<link
|
|
rel="icon"
|
|
type="image/png"
|
|
sizes="32x32"
|
|
href="/njump/static/favicon/profile/favicon-32x32.png?v=2"
|
|
/>
|
|
<link
|
|
rel="icon"
|
|
type="image/png"
|
|
sizes="16x16"
|
|
href="/njump/static/favicon/profile/favicon-16x16.png?v=2"
|
|
/>
|
|
{{else}}
|
|
<link
|
|
rel="apple-touch-icon"
|
|
sizes="180x180"
|
|
href="/njump/static/favicon/event/apple-touch-icon.png?v=2"
|
|
/>
|
|
<link
|
|
rel="icon"
|
|
type="image/png"
|
|
sizes="32x32"
|
|
href="/njump/static/favicon/event/favicon-32x32.png?v=2"
|
|
/>
|
|
<link
|
|
rel="icon"
|
|
type="image/png"
|
|
sizes="16x16"
|
|
href="/njump/static/favicon/event/favicon-16x16.png?v=2"
|
|
/>
|
|
{{end}}
|
|
<meta name="theme-color" content="#e42a6d" />
|
|
<script src="https://unpkg.com/hyperscript.org@0.9.12"></script>
|
|
<script src="https://cdn.tailwindcss.com?plugins=typography"></script>
|
|
<script>
|
|
tailwind.config = {
|
|
darkMode: ['class', '.theme--dark'],
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ['Helvetica', 'ui-sans-serif', 'system-ui']
|
|
},
|
|
colors: {
|
|
lavender: '#fdf0f5',
|
|
strongpink: '#e32a6d',
|
|
crimson: '#bc1150',
|
|
garnet: '#42091e'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<script type="text/hyperscript">
|
|
on load get [navigator.userAgent.includes('Safari'), navigator.userAgent.includes('Chrome')] then if it[0] is true and it[1] is false add .safari to <body /> end
|
|
|
|
on load repeat for div in .content if div's offsetHeight == 160 add .gradient to it end end
|
|
</script>
|