2018-05-05 16:34:48 +00:00
|
|
|
block vars
|
|
|
|
|
2022-05-29 01:57:06 +00:00
|
|
|
block loadClientEntry
|
2022-12-20 04:05:36 +00:00
|
|
|
- const clientEntry = config.clientEntry;
|
2022-05-29 01:57:06 +00:00
|
|
|
|
2016-12-28 22:49:51 +00:00
|
|
|
doctype html
|
|
|
|
|
2022-05-29 01:57:06 +00:00
|
|
|
//
|
|
|
|
-
|
2023-09-26 16:06:21 +00:00
|
|
|
_____ _ _
|
|
|
|
/ ___| | | |
|
2023-12-09 02:01:42 +00:00
|
|
|
\ `--.| |__ __ _ _ __| | _____ _ _
|
2023-09-26 16:06:21 +00:00
|
|
|
`--. \ '_ \ / _` | '__| |/ / _ \ | | |
|
|
|
|
/\__/ / | | | (_| | | | < __/ |_| |
|
|
|
|
\____/|_| |_|\__,_|_| |_|\_\___|\__, |
|
|
|
|
__/ |
|
|
|
|
|___/
|
|
|
|
|
|
|
|
Thank you for using Sharkey!
|
2022-05-29 01:57:06 +00:00
|
|
|
If you are reading this message... how about joining the development?
|
2023-12-09 02:01:42 +00:00
|
|
|
https://git.joinsharkey.org/Sharkey/Sharkey
|
2023-09-04 04:33:38 +00:00
|
|
|
|
2016-12-28 22:49:51 +00:00
|
|
|
|
2017-03-26 13:03:56 +00:00
|
|
|
html
|
2016-12-28 22:49:51 +00:00
|
|
|
|
|
|
|
head
|
|
|
|
meta(charset='utf-8')
|
2023-09-26 16:06:21 +00:00
|
|
|
meta(name='application-name' content='Sharkey')
|
2017-03-17 15:02:41 +00:00
|
|
|
meta(name='referrer' content='origin')
|
2022-02-09 12:25:48 +00:00
|
|
|
meta(name='theme-color' content= themeColor || '#86b300')
|
|
|
|
meta(name='theme-color-orig' content= themeColor || '#86b300')
|
2023-09-26 16:06:21 +00:00
|
|
|
meta(property='og:site_name' content= instanceName || 'Sharkey')
|
2023-11-09 12:21:39 +00:00
|
|
|
meta(property='instance_url' content= instanceUrl)
|
2019-09-26 20:12:56 +00:00
|
|
|
meta(name='viewport' content='width=device-width, initial-scale=1')
|
2020-02-14 14:55:31 +00:00
|
|
|
link(rel='icon' href= icon || '/favicon.ico')
|
2023-09-16 08:05:17 +00:00
|
|
|
link(rel='apple-touch-icon' href= appleTouchIcon || '/apple-touch-icon.png')
|
2017-11-18 13:39:09 +00:00
|
|
|
link(rel='manifest' href='/manifest.json')
|
2023-09-26 16:06:21 +00:00
|
|
|
link(rel='search' type='application/opensearchdescription+xml' title=(title || "Sharkey") href=`${url}/opensearch.xml`)
|
2023-06-09 05:00:53 +00:00
|
|
|
link(rel='prefetch' href=serverErrorImageUrl)
|
|
|
|
link(rel='prefetch' href=infoImageUrl)
|
|
|
|
link(rel='prefetch' href=notFoundImageUrl)
|
2023-02-09 08:00:45 +00:00
|
|
|
//- https://github.com/misskey-dev/misskey/issues/9842
|
2023-09-30 19:53:52 +00:00
|
|
|
link(rel='stylesheet' href='/assets/phosphor-icons/bold/style.css')
|
2023-12-05 19:58:53 +00:00
|
|
|
link(rel='stylesheet' href='/static-assets/fonts/sharkey-icons/style.css')
|
2022-12-20 04:05:36 +00:00
|
|
|
link(rel='modulepreload' href=`/vite/${clientEntry.file}`)
|
2023-11-02 22:14:36 +00:00
|
|
|
script(src='/client-assets/libopenmpt.js')
|
2022-12-20 04:05:36 +00:00
|
|
|
|
|
|
|
if !config.clientManifestExists
|
|
|
|
script(type="module" src="/vite/@vite/client")
|
2022-05-29 01:58:54 +00:00
|
|
|
|
2022-12-14 08:32:52 +00:00
|
|
|
if Array.isArray(clientEntry.css)
|
|
|
|
each href in clientEntry.css
|
2022-12-20 04:05:36 +00:00
|
|
|
link(rel='stylesheet' href=`/vite/${href}`)
|
2022-05-29 01:57:06 +00:00
|
|
|
|
2018-05-05 16:34:48 +00:00
|
|
|
title
|
|
|
|
block title
|
2023-09-30 16:52:13 +00:00
|
|
|
= title || 'Sharkey'
|
2018-05-05 16:34:48 +00:00
|
|
|
|
|
|
|
block desc
|
2021-04-20 14:26:17 +00:00
|
|
|
meta(name='description' content= desc || '✨🌎✨ A interplanetary communication platform ✨🚀✨')
|
2018-05-05 16:34:48 +00:00
|
|
|
|
|
|
|
block meta
|
2017-05-17 20:06:55 +00:00
|
|
|
|
2018-12-15 14:19:04 +00:00
|
|
|
block og
|
2023-09-26 16:06:21 +00:00
|
|
|
meta(property='og:title' content= title || 'Sharkey')
|
2023-07-07 22:08:16 +00:00
|
|
|
meta(property='og:description' content= desc || '✨🌎✨ A interplanetary communication platform ✨🚀✨')
|
2022-02-02 15:51:41 +00:00
|
|
|
meta(property='og:image' content= img)
|
2023-05-20 01:35:23 +00:00
|
|
|
meta(property='twitter:card' content='summary')
|
2018-12-15 14:19:04 +00:00
|
|
|
|
2020-12-26 01:01:32 +00:00
|
|
|
style
|
|
|
|
include ../style.css
|
2020-10-17 11:12:00 +00:00
|
|
|
|
2022-05-01 13:51:07 +00:00
|
|
|
script.
|
|
|
|
var VERSION = "#{version}";
|
2022-05-29 01:57:06 +00:00
|
|
|
var CLIENT_ENTRY = "#{clientEntry.file}";
|
2023-11-02 22:14:36 +00:00
|
|
|
window.libopenmpt = window.Module;
|
2022-05-01 13:51:07 +00:00
|
|
|
|
2020-12-26 01:01:32 +00:00
|
|
|
script
|
|
|
|
include ../boot.js
|
2020-02-14 23:29:59 +00:00
|
|
|
|
2020-10-17 11:12:00 +00:00
|
|
|
body
|
2017-03-25 21:58:29 +00:00
|
|
|
noscript: p
|
|
|
|
| JavaScriptを有効にしてください
|
|
|
|
br
|
2017-12-07 14:48:46 +00:00
|
|
|
| Please turn on your JavaScript
|
2021-03-05 04:51:22 +00:00
|
|
|
div#splash
|
2022-04-11 14:11:11 +00:00
|
|
|
img#splashIcon(src= icon || '/static-assets/splash.png')
|
2023-12-22 12:10:21 +00:00
|
|
|
span#splashText
|
|
|
|
block randomMOTD
|
|
|
|
= randomMOTD
|
2022-04-11 14:11:11 +00:00
|
|
|
div#splashSpinner
|
2022-05-19 06:24:35 +00: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-17 15:11:39 +00:00
|
|
|
block content
|