Add favicon(s)
@@ -14,7 +14,7 @@ tmp_dir = "tmp"
|
||||
follow_symlink = false
|
||||
full_bin = ""
|
||||
include_dir = []
|
||||
include_ext = ["go", "tpl", "tmpl", "html", "scss", "js", "xml"]
|
||||
include_ext = ["go", "tpl", "tmpl", "html", "scss", "js", "xml", "png"]
|
||||
include_file = []
|
||||
kill_delay = "0s"
|
||||
log = "build-errors.log"
|
||||
|
||||
35
static/favicon.svg
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 26.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 256 256" style="enable-background:new 0 0 256 256;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{enable-background:new ;}
|
||||
.st1{fill:#E42A6D;}
|
||||
.st2{display:none;}
|
||||
.st3{display:none;enable-background:new ;}
|
||||
.st4{display:inline;fill:#FFFFFF;}
|
||||
.st5{fill:#FFFFFF;}
|
||||
</style>
|
||||
<g class="st0">
|
||||
<path class="st1" d="M185.9,0.4v212.2h-25.6c-3.8,0-7-0.6-9.5-1.8c-2.6-1.2-5.1-3.3-7.6-6.3L42.9,77.9c0.4,3.8,0.7,7.5,0.8,11
|
||||
c0.1,3.5,0.2,6.9,0.2,10v113.8H0.6V0.4h25.9c2.1,0,3.9,0.1,5.4,0.3c1.5,0.2,2.8,0.6,3.9,1.1c1.2,0.5,2.3,1.3,3.4,2.3
|
||||
c1.1,1,2.3,2.3,3.6,3.9l101,127.5c-0.5-4.1-0.8-8-1-11.9c-0.2-3.8-0.3-7.5-0.3-10.9V0.4H185.9z"/>
|
||||
</g>
|
||||
<circle class="st2" cx="171.9" cy="171.9" r="84.1"/>
|
||||
<g class="st3">
|
||||
<path class="st4" d="M188.5,187.7c0,5.8-0.7,11.1-2.2,15.9c-1.5,4.8-3.6,8.9-6.6,12.3c-2.9,3.4-6.6,6.1-11.1,7.9
|
||||
c-4.4,1.9-9.7,2.8-15.7,2.8c-2.7,0-5.4-0.1-8-0.4s-5.4-0.8-8.3-1.4l1.3-14.1c0.1-1.2,0.6-2.2,1.5-3c0.9-0.8,2.1-1.1,3.6-1.1
|
||||
c0.8,0,1.8,0.1,3,0.4c1.2,0.3,2.6,0.4,4.3,0.4c2.3,0,4.4-0.3,6.1-1s3.2-1.7,4.3-3.2s2-3.5,2.6-5.9c0.6-2.4,0.9-5.4,0.9-9v-66.9
|
||||
h24.2V187.7z"/>
|
||||
</g>
|
||||
<g>
|
||||
<circle cx="171.9" cy="140.1" r="63.8"/>
|
||||
<circle cx="171.9" cy="253.3" r="92"/>
|
||||
</g>
|
||||
<g class="st0">
|
||||
<path class="st5" d="M188.5,197.7c0,5.8-0.7,11.1-2.2,15.9c-1.5,4.8-3.6,8.9-6.6,12.3c-2.9,3.4-6.6,6.1-11.1,7.9
|
||||
c-4.4,1.9-9.7,2.8-15.7,2.8c-2.7,0-5.4-0.1-8-0.4s-5.4-0.8-8.3-1.4l1.3-14.1c0.1-1.2,0.6-2.2,1.5-3c0.9-0.8,2.1-1.1,3.6-1.1
|
||||
c0.8,0,1.8,0.1,3,0.4c1.2,0.3,2.6,0.4,4.3,0.4c2.3,0,4.4-0.3,6.1-1s3.2-1.7,4.3-3.2s2-3.5,2.6-5.9c0.6-2.4,0.9-5.4,0.9-9v-66.9
|
||||
h24.2V197.7z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
BIN
static/favicon/android-chrome-192x192.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
static/favicon/android-chrome-512x512.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
static/favicon/event/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
static/favicon/event/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 839 B |
BIN
static/favicon/event/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
static/favicon/event/favicon.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
static/favicon/profile/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
static/favicon/profile/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 848 B |
BIN
static/favicon/profile/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
static/favicon/profile/favicon.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
19
static/favicon/site.webmanifest
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "",
|
||||
"short_name": "",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/favicon/android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/favicon/android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"theme_color": "#e42a6d",
|
||||
"background_color": "#ffffff",
|
||||
"display": "standalone"
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<title>{{.title}}</title>
|
||||
|
||||
{{template "head_common.html" }}
|
||||
{{template "head_common.html" .}}
|
||||
</head>
|
||||
|
||||
<body class="profile">
|
||||
|
||||
@@ -1,2 +1,14 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="/njump/static/styles.css?v=20230914" />
|
||||
|
||||
{{if eq .type "profile"}}
|
||||
<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}}
|
||||
<link rel="manifest" href="/njump/static/favicon/site.webmanifest">
|
||||
<meta name="theme-color" content="#e42a6d">
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>njump - the nostr static gateway</title>
|
||||
<meta name="description" content="" />
|
||||
|
||||
{{template "head_common.html" }}
|
||||
{{template "head_common.html" .}}
|
||||
</head>
|
||||
|
||||
<body class="homepage">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
type="text/xml+oembed"
|
||||
href="{{.oembed}}&format=xml"
|
||||
/>
|
||||
{{ end }} {{template "head_common.html"}}
|
||||
{{ end }} {{template "head_common.html" .}}
|
||||
</head>
|
||||
|
||||
<body class="note">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<title>Nostr Event {{.kindID}} - {{.kindDescription | escapeString }}</title>
|
||||
{{end}}
|
||||
|
||||
{{template "head_common.html" }}
|
||||
{{template "head_common.html" .}}
|
||||
</head>
|
||||
|
||||
<body class="other">
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
href="/{{.npub | escapeString}}.xml"
|
||||
/>
|
||||
|
||||
{{template "head_common.html" }}
|
||||
{{template "head_common.html" .}}
|
||||
</head>
|
||||
|
||||
<body class="profile">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
<link rel="sitemap" type="application/xml" title="Sitemap for {{.hostname | escapeString}}" href="/r/{{.hostname | escapeString}}.xml">
|
||||
|
||||
{{template "head_common.html" }}
|
||||
{{template "head_common.html" .}}
|
||||
</head>
|
||||
|
||||
<body class="profile">
|
||||
|
||||