fup: add favicon and logo graphics
This commit is contained in:
parent
e4872918d5
commit
6a80243cce
5 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,7 @@ import (
|
||||||
"hg.lukegb.com/lukegb/depot/web/fup/hashfs"
|
"hg.lukegb.com/lukegb/depot/web/fup/hashfs"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:embed css js
|
//go:embed css js img
|
||||||
var static embed.FS
|
var static embed.FS
|
||||||
|
|
||||||
var Static *hashfs.FS = hashfs.New(static)
|
var Static *hashfs.FS = hashfs.New(static)
|
||||||
|
|
BIN
web/fup/fupstatic/img/fup-logo-favicon.png
Executable file
BIN
web/fup/fupstatic/img/fup-logo-favicon.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 968 B |
1
web/fup/fupstatic/img/fup-logo-favicon.svg
Executable file
1
web/fup/fupstatic/img/fup-logo-favicon.svg
Executable file
|
@ -0,0 +1 @@
|
||||||
|
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 320 320"><defs><style>.cls-1{fill:url(#linear-gradient);}.cls-2{stroke-miterlimit:10;stroke-width:4px;fill:url(#linear-gradient-2);stroke:url(#linear-gradient-3);}.cls-3{fill:#f1f2f2;}</style><linearGradient id="linear-gradient" x1="146.42" y1="145.81" x2="178.66" y2="179.5" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#bbb"/><stop offset="1" stop-color="#333"/></linearGradient><linearGradient id="linear-gradient-2" x1="277.87" y1="159.82" x2="48.88" y2="161.27" xlink:href="#linear-gradient"/><linearGradient id="linear-gradient-3" x1="245.4" y1="303.13" x2="80.76" y2="17.96" xlink:href="#linear-gradient"/></defs><rect class="cls-1" x="4.2" y="4.2" width="311.59" height="311.59" rx="12"/><rect class="cls-2" x="40.8" y="38.26" width="244.57" height="244.57" rx="12"/><path class="cls-3" d="M106.61,59.59H222.42V81.22H132.17v67.72H208.7v21.63H132.17v89.84H106.61Z"/></svg>
|
After Width: | Height: | Size: 1,023 B |
1
web/fup/fupstatic/img/fup-logo.svg
Executable file
1
web/fup/fupstatic/img/fup-logo.svg
Executable file
|
@ -0,0 +1 @@
|
||||||
|
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 320 320"><defs><style>.cls-1{fill:url(#linear-gradient);}.cls-2{stroke-miterlimit:10;stroke-width:4px;fill:url(#linear-gradient-2);stroke:url(#linear-gradient-3);}.cls-3{fill:#fff;}</style><linearGradient id="linear-gradient" x1="146.42" y1="145.81" x2="178.66" y2="179.5" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#bbb"/><stop offset="1" stop-color="#333"/></linearGradient><linearGradient id="linear-gradient-2" x1="277.87" y1="159.82" x2="48.88" y2="161.27" xlink:href="#linear-gradient"/><linearGradient id="linear-gradient-3" x1="245.4" y1="303.13" x2="80.76" y2="17.96" xlink:href="#linear-gradient"/></defs><rect class="cls-1" x="4.2" y="4.2" width="311.59" height="311.59" rx="12"/><rect class="cls-2" x="40.8" y="38.26" width="244.57" height="244.57" rx="12"/><path class="cls-3" d="M73.7,65.49h54.5V75.67H85.72v31.87h36v10.18h-36V160h-12Z"/></svg>
|
After Width: | Height: | Size: 1,004 B |
|
@ -9,6 +9,8 @@ SPDX-License-Identifier: Apache-2.0
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>fup</title>
|
<title>fup</title>
|
||||||
|
<link rel="icon" type="img/svg+xml" href="{{static "img/fup-logo-favicon.svg"}}">
|
||||||
|
<link rel="alternate icon" href="{{static "img/fup-logo-favicon.png"}}">
|
||||||
<link rel="stylesheet" type="text/css" href="{{static "css/reset.min.css"}}">
|
<link rel="stylesheet" type="text/css" href="{{static "css/reset.min.css"}}">
|
||||||
<link rel="stylesheet" type="text/css" href="{{static "css/base.css"}}">
|
<link rel="stylesheet" type="text/css" href="{{static "css/base.css"}}">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
|
Loading…
Reference in a new issue