the images could be generated from the dolly svg but that would probably require bringing in a large dependency like inkscape and wouldn't bring huge benifits imo (&& just sticking it in tree was mentioned as best in the discord)
+3
appview/pages/templates/layouts/base.html
+3
appview/pages/templates/layouts/base.html
···
14
14
<link rel="preconnect" href="https://avatar.tangled.sh" />
15
15
<link rel="preconnect" href="https://camo.tangled.sh" />
16
16
17
+
<!-- pwa manifest -->
18
+
<link rel="manifest" href="/pwa-manifest.json" />
19
+
17
20
<!-- preload main font -->
18
21
<link rel="preload" href="/static/fonts/InterVariable.woff2" as="font" type="font/woff2" crossorigin />
19
22
+1
appview/pages/templates/user/completeSignup.html
+1
appview/pages/templates/user/completeSignup.html
+1
appview/pages/templates/user/login.html
+1
appview/pages/templates/user/login.html
···
8
8
<meta property="og:url" content="https://tangled.org/login" />
9
9
<meta property="og:description" content="login to for tangled" />
10
10
<script src="/static/htmx.min.js"></script>
11
+
<link rel="manifest" href="/pwa-manifest.json" />
11
12
<link rel="stylesheet" href="/static/tw.css?{{ cssContentHash }}" type="text/css" />
12
13
<title>login · tangled</title>
13
14
</head>
+1
appview/pages/templates/user/signup.html
+1
appview/pages/templates/user/signup.html
···
8
8
<meta property="og:url" content="https://tangled.org/signup" />
9
9
<meta property="og:description" content="sign up for tangled" />
10
10
<script src="/static/htmx.min.js"></script>
11
+
<link rel="manifest" href="/pwa-manifest.json" />
11
12
<link rel="stylesheet" href="/static/tw.css?{{ cssContentHash }}" type="text/css" />
12
13
<title>sign up · tangled</title>
13
14
+1
appview/state/router.go
+1
appview/state/router.go
appview/pages/pwa-icons/pwa-144.png
appview/pages/pwa-icons/pwa-144.png
This is a binary file and will not be displayed.
appview/pages/pwa-icons/pwa-192.png
appview/pages/pwa-icons/pwa-192.png
This is a binary file and will not be displayed.
appview/pages/pwa-icons/pwa-48.png
appview/pages/pwa-icons/pwa-48.png
This is a binary file and will not be displayed.
appview/pages/pwa-icons/pwa-512.png
appview/pages/pwa-icons/pwa-512.png
This is a binary file and will not be displayed.
appview/pages/pwa-icons/pwa-72.png
appview/pages/pwa-icons/pwa-72.png
This is a binary file and will not be displayed.
appview/pages/pwa-icons/pwa-96.png
appview/pages/pwa-icons/pwa-96.png
This is a binary file and will not be displayed.
+2
flake.nix
+2
flake.nix
···
167
167
mkdir -p appview/pages/static
168
168
# no preserve is needed because watch-tailwind will want to be able to overwrite
169
169
cp -fr --no-preserve=ownership ${packages'.appview-static-files}/* appview/pages/static
170
+
cp -fr appview/pages/pwa-icons/* appview/pages/static
170
171
export TANGLED_OAUTH_JWKS="$(${packages'.genjwks}/bin/genjwks)"
171
172
'';
172
173
env.CGO_ENABLED = 1;
···
200
201
program = toString (pkgs.writeShellScript "watch-appview" ''
201
202
echo "copying static files to appview/pages/static..."
202
203
${pkgs.coreutils}/bin/cp -fr --no-preserve=ownership ${packages'.appview-static-files}/* appview/pages/static
204
+
${pkgs.coreutils}/bin/cp -fr appview/pages/pwa-icons/* appview/pages/static
203
205
${air-watcher "appview" ""}/bin/run
204
206
'');
205
207
};