2018-05-06 01:34:48 +09:00
|
|
|
block vars
|
|
|
|
|
2022-05-29 10:57:06 +09:00
|
|
|
block loadClientEntry
|
|
|
|
- const clientEntry = getClientEntry();
|
|
|
|
|
2016-12-29 07:49:51 +09:00
|
|
|
doctype html
|
|
|
|
|
2022-05-29 10:57:06 +09:00
|
|
|
//
|
|
|
|
-
|
2022-07-19 15:07:18 +09:00
|
|
|
___ _ _
|
|
|
|
/ __\__ _| | ___| | _____ _ _
|
|
|
|
/ / / _` | |/ __| |/ / _ \ | | |
|
|
|
|
/ /__| (_| | | (__| < __/ |_| |
|
|
|
|
\____/\__,_|_|\___|_|\_\___|\__, |
|
|
|
|
|___/
|
|
|
|
|
2022-07-19 11:00:45 +09:00
|
|
|
Thank you for using Calckey!
|
2022-05-29 10:57:06 +09:00
|
|
|
If you are reading this message... how about joining the development?
|
2022-07-19 15:07:18 +09:00
|
|
|
https://codeberg.org/thatonecalculator/calckey
|
2016-12-29 07:49:51 +09:00
|
|
|
|
2017-03-26 22:03:56 +09:00
|
|
|
html
|
2016-12-29 07:49:51 +09:00
|
|
|
|
|
|
|
head
|
|
|
|
meta(charset='utf-8')
|
2022-07-19 11:00:45 +09:00
|
|
|
meta(name='application-name' content='Calckey')
|
2017-03-18 00:02:41 +09:00
|
|
|
meta(name='referrer' content='origin')
|
2022-07-19 13:47:32 +09:00
|
|
|
meta(name='theme-color' content= themeColor || '#31748f')
|
|
|
|
meta(name='theme-color-orig' content= themeColor || '#31748f')
|
2022-02-03 00:51:41 +09:00
|
|
|
meta(property='twitter:card' content='summary')
|
2022-07-19 11:00:45 +09:00
|
|
|
meta(property='og:site_name' content= instanceName || 'Calckey')
|
2019-09-27 05:12:56 +09:00
|
|
|
meta(name='viewport' content='width=device-width, initial-scale=1')
|
2020-02-14 23:55:31 +09:00
|
|
|
link(rel='icon' href= icon || '/favicon.ico')
|
2019-09-27 05:12:56 +09:00
|
|
|
link(rel='apple-touch-icon' href= icon || '/apple-touch-icon.png')
|
2017-11-18 22:39:09 +09:00
|
|
|
link(rel='manifest' href='/manifest.json')
|
2022-06-29 11:33:32 +09:00
|
|
|
link(rel='prefetch' href='/static-assets/badges/info.jpg')
|
|
|
|
link(rel='prefetch' href='/static-assets/badges/not-found.jpg')
|
|
|
|
link(rel='prefetch' href='/static-assets/badges/error.jpg')
|
2022-02-09 13:23:29 +09:00
|
|
|
link(rel='stylesheet' href='/assets/fontawesome/css/all.css')
|
2022-05-29 10:58:54 +09:00
|
|
|
link(rel='modulepreload' href=`/assets/${clientEntry.file}`)
|
|
|
|
|
|
|
|
each href in clientEntry.css
|
|
|
|
link(rel='preload' href=`/assets/${href}` as='style')
|
2017-05-18 05:06:55 +09:00
|
|
|
|
2022-05-29 10:57:06 +09:00
|
|
|
each href in clientEntry.css
|
|
|
|
link(rel='preload' href=`/assets/${href}` as='style')
|
|
|
|
|
2018-05-06 01:34:48 +09:00
|
|
|
title
|
|
|
|
block title
|
2022-07-19 11:00:45 +09:00
|
|
|
= title || 'Calckey'
|
2018-05-06 01:34:48 +09:00
|
|
|
|
|
|
|
block desc
|
2021-04-20 23:26:17 +09:00
|
|
|
meta(name='description' content= desc || '✨🌎✨ A interplanetary communication platform ✨🚀✨')
|
2018-05-06 01:34:48 +09:00
|
|
|
|
|
|
|
block meta
|
2021-08-26 12:48:57 +09:00
|
|
|
if privateMode
|
|
|
|
meta(name='robots' content='noindex')
|
2017-05-18 05:06:55 +09:00
|
|
|
|
2018-12-15 23:19:04 +09:00
|
|
|
block og
|
2022-07-19 12:50:15 +09:00
|
|
|
meta(property='og:title' content= title || 'Calckey')
|
2021-08-26 12:48:57 +09:00
|
|
|
meta(property='og:description' content= desc || '✨🌎✨ A interplanetary communication platform ✨🚀✨')
|
2022-02-03 00:51:41 +09:00
|
|
|
meta(property='og:image' content= img)
|
2018-12-15 23:19:04 +09:00
|
|
|
|
2020-12-26 10:01:32 +09:00
|
|
|
style
|
|
|
|
include ../style.css
|
2020-10-17 20:12:00 +09:00
|
|
|
|
2022-05-01 22:51:07 +09:00
|
|
|
script.
|
|
|
|
var VERSION = "#{version}";
|
2022-05-29 10:57:06 +09:00
|
|
|
var CLIENT_ENTRY = "#{clientEntry.file}";
|
2022-05-01 22:51:07 +09:00
|
|
|
|
2020-12-26 10:01:32 +09:00
|
|
|
script
|
|
|
|
include ../boot.js
|
2020-02-15 08:29:59 +09:00
|
|
|
|
2020-10-17 20:12:00 +09:00
|
|
|
body
|
2017-03-26 06:58:29 +09:00
|
|
|
noscript: p
|
|
|
|
| JavaScriptを有効にしてください
|
|
|
|
br
|
2017-12-07 23:48:46 +09:00
|
|
|
| Please turn on your JavaScript
|
2021-03-05 13:51:22 +09:00
|
|
|
div#splash
|
2022-04-11 23:11:11 +09:00
|
|
|
img#splashIcon(src= icon || '/static-assets/splash.png')
|
2022-07-19 13:47:32 +09:00
|
|
|
span#splashText
|
|
|
|
block randomMOTD
|
|
|
|
= randomMOTD
|
2022-04-11 23:11:11 +09:00
|
|
|
div#splashSpinner
|
2022-05-19 15:24:35 +09:00
|
|
|
<svg class="spinner bg" viewBox="0 0 152 152" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<g transform="matrix(1,0,0,1,12,12)">
|
|
|
|
<circle cx="64" cy="64" r="64" style="fill:none;stroke:currentColor;stroke-width:24px;"/>
|
|
|
|
</g>
|
|
|
|
</svg>
|
|
|
|
<svg class="spinner fg" viewBox="0 0 152 152" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<g transform="matrix(1,0,0,1,12,12)">
|
|
|
|
<path d="M128,64C128,28.654 99.346,0 64,0C99.346,0 128,28.654 128,64Z" style="fill:none;stroke:currentColor;stroke-width:24px;"/>
|
|
|
|
</g>
|
|
|
|
</svg>
|
2019-07-18 00:11:39 +09:00
|
|
|
block content
|