feat: mutuals pill/button from catsky.social #4

closed
opened by vielle.dev targeting main
Changed files
+7
bskyweb
+5
bskyweb/cmd/bskyweb/server.go
···
e.GET("/robots.txt", echo.WrapHandler(staticHandler))
}
e.GET("/iframe/youtube.html", echo.WrapHandler(staticHandler))
e.GET("/static/*", echo.WrapHandler(http.StripPrefix("/static/", staticHandler)), func(next echo.HandlerFunc) echo.HandlerFunc {
return func(c echo.Context) error {
···
e.GET("/robots.txt", echo.WrapHandler(staticHandler))
}
+
// pwa files
+
e.GET("/manifest.json", echo.WrapHandler(staticHandler))
+
e.GET("/pwa-512.png", echo.WrapHandler(staticHandler))
+
e.GET("/pwa-192.png", echo.WrapHandler(staticHandler))
+
e.GET("/iframe/youtube.html", echo.WrapHandler(staticHandler))
e.GET("/static/*", echo.WrapHandler(http.StripPrefix("/static/", staticHandler)), func(next echo.HandlerFunc) echo.HandlerFunc {
return func(c echo.Context) error {
web/manifest.json bskyweb/static/manifest.json
web/pwa-192.png bskyweb/static/pwa-192.png
web/pwa-512.png bskyweb/static/pwa-512.png
+2
bskyweb/templates/base.html
···
<link rel="preload" as="font" type="font/woff2" href="{{ staticCDNHost }}/static/media/InterVariable.c504db5c06caaf7cdfba.woff2" crossorigin>
<style>
/**
* Minimum styles required to render splash.
···
<link rel="preload" as="font" type="font/woff2" href="{{ staticCDNHost }}/static/media/InterVariable.c504db5c06caaf7cdfba.woff2" crossorigin>
+
<link rel="manifest" href="/manifest.json" />
+
<style>
/**
* Minimum styles required to render splash.