barf: add fonts for people on macos
This commit is contained in:
parent
416bb233e1
commit
8be0a210d9
11 changed files with 32 additions and 2 deletions
|
@ -51,6 +51,8 @@
|
|||
snapshot = "tank/local/root@blank";
|
||||
};
|
||||
|
||||
systemd.services."systemd-networkd-wait-online".wantedBy = lib.mkForce [];
|
||||
|
||||
fileSystems = let
|
||||
zfs = device: {
|
||||
device = device;
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
|
||||
pkgs.buildGoModule {
|
||||
name = "barf-fe";
|
||||
src = lib.sourceByRegex ./. [".*\.go$" "go.mod" "go.sum" "static" "static/clipit" ".*/.*\.webm" ".*/.*\.png" ".*/.*\.wav" ".*/.*\.svg" ".*\.html"];
|
||||
src = lib.sourceByRegex ./. [".*\.go$" "go.mod" "go.sum" "static" "static/clipit" "static/fonts" ".*/.*\.webm" ".*/.*\.png" ".*/.*\.wav" ".*/.*\.svg" ".*\.html" ".*/.*\.woff" ".*/.*\.woff2" ".*/.*\.css"];
|
||||
vendorHash = "sha256:0w1k1ykga70af3643lky701kf27pfmgc3lhznfq1v32ww365w57f";
|
||||
}
|
||||
|
|
|
@ -146,7 +146,7 @@ func main() {
|
|||
|
||||
indexTmpl, err := template.New("index").Parse(string(indexTmplBytes))
|
||||
if err != nil {
|
||||
log.Fatalf("parsing index template: %w", err)
|
||||
log.Fatalf("parsing index template: %v", err)
|
||||
}
|
||||
|
||||
db, err := sql.Open("sqlite3", *dbPath)
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=0">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
|
||||
<link rel="stylesheet" href="/static/fonts/stylesheet.css" />
|
||||
|
||||
<title>BARF | Data Collection</title>
|
||||
<script type="application/json" id="load-data">{{.}}</script>
|
||||
<style>
|
||||
|
|
BIN
web/barf/frontend/static/fonts/FranklinGothic-Medium.woff
Normal file
BIN
web/barf/frontend/static/fonts/FranklinGothic-Medium.woff
Normal file
Binary file not shown.
BIN
web/barf/frontend/static/fonts/FranklinGothic-Medium.woff2
Normal file
BIN
web/barf/frontend/static/fonts/FranklinGothic-Medium.woff2
Normal file
Binary file not shown.
BIN
web/barf/frontend/static/fonts/Tahoma-Bold.woff
Normal file
BIN
web/barf/frontend/static/fonts/Tahoma-Bold.woff
Normal file
Binary file not shown.
BIN
web/barf/frontend/static/fonts/Tahoma-Bold.woff2
Normal file
BIN
web/barf/frontend/static/fonts/Tahoma-Bold.woff2
Normal file
Binary file not shown.
BIN
web/barf/frontend/static/fonts/Tahoma.woff
Normal file
BIN
web/barf/frontend/static/fonts/Tahoma.woff
Normal file
Binary file not shown.
BIN
web/barf/frontend/static/fonts/Tahoma.woff2
Normal file
BIN
web/barf/frontend/static/fonts/Tahoma.woff2
Normal file
Binary file not shown.
26
web/barf/frontend/static/fonts/stylesheet.css
Normal file
26
web/barf/frontend/static/fonts/stylesheet.css
Normal file
|
@ -0,0 +1,26 @@
|
|||
@font-face {
|
||||
font-family: 'Franklin Gothic';
|
||||
src: url('FranklinGothic-Medium.woff2') format('woff2'),
|
||||
url('FranklinGothic-Medium.woff') format('woff');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Tahoma';
|
||||
src: url('Tahoma.woff2') format('woff2'),
|
||||
url('Tahoma.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Tahoma';
|
||||
src: url('Tahoma-Bold.woff2') format('woff2'),
|
||||
url('Tahoma-Bold.woff') format('woff');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
Loading…
Reference in a new issue