Added favicons (#13)
@ -53,6 +53,7 @@ with {
|
||||
cp -av ${octopod-css}/production/images/* /www/static/images/
|
||||
cp -av ${octopod-css}/production/styles/* /www/static/styles/
|
||||
cp -av ${octopod-css}/production/vendors/outline/* /www/static/vendors/outline/
|
||||
cp -av ${octopod-css}/favicons/* /www/
|
||||
'';
|
||||
|
||||
config = {
|
||||
|
BIN
octopod-css/favicons/android-icon-144x144.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
octopod-css/favicons/android-icon-192x192.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
octopod-css/favicons/android-icon-36x36.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
octopod-css/favicons/android-icon-48x48.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
octopod-css/favicons/android-icon-72x72.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
octopod-css/favicons/android-icon-96x96.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
BIN
octopod-css/favicons/apple-icon-114x114.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
octopod-css/favicons/apple-icon-120x120.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
octopod-css/favicons/apple-icon-144x144.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
octopod-css/favicons/apple-icon-152x152.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
octopod-css/favicons/apple-icon-180x180.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
octopod-css/favicons/apple-icon-57x57.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
octopod-css/favicons/apple-icon-60x60.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
octopod-css/favicons/apple-icon-72x72.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
octopod-css/favicons/apple-icon-76x76.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
octopod-css/favicons/apple-icon-precomposed.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
octopod-css/favicons/apple-icon.png
Normal file
After Width: | Height: | Size: 28 KiB |
2
octopod-css/favicons/browserconfig.xml
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>
|
BIN
octopod-css/favicons/favicon-16x16.png
Normal file
After Width: | Height: | Size: 675 B |
BIN
octopod-css/favicons/favicon-32x32.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
octopod-css/favicons/favicon-96x96.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
BIN
octopod-css/favicons/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
41
octopod-css/favicons/manifest.json
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
"name": "App",
|
||||
"icons": [
|
||||
{
|
||||
"src": "\/android-icon-36x36.png",
|
||||
"sizes": "36x36",
|
||||
"type": "image\/png",
|
||||
"density": "0.75"
|
||||
},
|
||||
{
|
||||
"src": "\/android-icon-48x48.png",
|
||||
"sizes": "48x48",
|
||||
"type": "image\/png",
|
||||
"density": "1.0"
|
||||
},
|
||||
{
|
||||
"src": "\/android-icon-72x72.png",
|
||||
"sizes": "72x72",
|
||||
"type": "image\/png",
|
||||
"density": "1.5"
|
||||
},
|
||||
{
|
||||
"src": "\/android-icon-96x96.png",
|
||||
"sizes": "96x96",
|
||||
"type": "image\/png",
|
||||
"density": "2.0"
|
||||
},
|
||||
{
|
||||
"src": "\/android-icon-144x144.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image\/png",
|
||||
"density": "3.0"
|
||||
},
|
||||
{
|
||||
"src": "\/android-icon-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image\/png",
|
||||
"density": "4.0"
|
||||
}
|
||||
]
|
||||
}
|
BIN
octopod-css/favicons/ms-icon-144x144.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
octopod-css/favicons/ms-icon-150x150.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
octopod-css/favicons/ms-icon-310x310.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
octopod-css/favicons/ms-icon-70x70.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
@ -100,6 +100,77 @@ headWidget projectNameEv = do
|
||||
projectNameDyn <- holdDyn "Octopod" $ ("Octopod – " <>) . uProjectName <$> projectNameEv
|
||||
el "title" $ dynText projectNameDyn
|
||||
|
||||
-- favicon attributes
|
||||
|
||||
elAttr "link"
|
||||
( "href" =: "/apple-icon-57x57.png"
|
||||
<> "rel" =: "apple-touch-icon"
|
||||
<> "sizes" =: "57x57") blank
|
||||
elAttr "link"
|
||||
( "href" =: "/apple-icon-60x60.png"
|
||||
<> "rel" =: "apple-touch-icon"
|
||||
<> "sizes" =: "60x60") blank
|
||||
elAttr "link"
|
||||
( "href" =: "/apple-icon-72x72.png"
|
||||
<> "rel" =: "apple-touch-icon"
|
||||
<> "sizes" =: "72x72") blank
|
||||
elAttr "link"
|
||||
( "href" =: "/apple-icon-76x76.png"
|
||||
<> "rel" =: "apple-touch-icon"
|
||||
<> "sizes" =: "76x76") blank
|
||||
elAttr "link"
|
||||
( "href" =: "/apple-icon-114x114.png"
|
||||
<> "rel" =: "apple-touch-icon"
|
||||
<> "sizes" =: "114x114") blank
|
||||
elAttr "link"
|
||||
( "href" =: "/apple-icon-120x120.png"
|
||||
<> "rel" =: "apple-touch-icon"
|
||||
<> "sizes" =: "120x120") blank
|
||||
elAttr "link"
|
||||
( "href" =: "/apple-icon-144x144.png"
|
||||
<> "rel" =: "apple-touch-icon"
|
||||
<> "sizes" =: "144x144") blank
|
||||
elAttr "link"
|
||||
( "href" =: "/apple-icon-152x152.png"
|
||||
<> "rel" =: "apple-touch-icon"
|
||||
<> "sizes" =: "152x152") blank
|
||||
elAttr "link"
|
||||
( "href" =: "/apple-icon-180x180.png"
|
||||
<> "rel" =: "apple-touch-icon"
|
||||
<> "sizes" =: "180x180") blank
|
||||
elAttr "link"
|
||||
( "href" =: "/android-icon-192x192.png"
|
||||
<> "rel" =: "icon"
|
||||
<> "sizes" =: "192x192"
|
||||
<> "type" =: "image/png") blank
|
||||
elAttr "link"
|
||||
( "href" =: "/favicon-32x32.png"
|
||||
<> "rel" =: "icon"
|
||||
<> "sizes" =: "32x32"
|
||||
<> "type" =: "image/png") blank
|
||||
elAttr "link"
|
||||
( "href" =: "/favicon-96x96.png"
|
||||
<> "rel" =: "icon"
|
||||
<> "sizes" =: "96x96"
|
||||
<> "type" =: "image/png") blank
|
||||
elAttr "link"
|
||||
( "href" =: "/favicon-16x16.png"
|
||||
<> "rel" =: "icon"
|
||||
<> "sizes" =: "16x16"
|
||||
<> "type" =: "image/png") blank
|
||||
elAttr "link"
|
||||
( "href" =: "/manifest.json"
|
||||
<> "rel" =: "manifest") blank
|
||||
elAttr "meta"
|
||||
( "content" =: "#ffffff"
|
||||
<> "name" =: "msapplication-TileColor") blank
|
||||
elAttr "meta"
|
||||
( "content" =: "/ms-icon-144x144.png"
|
||||
<> "name" =: "msapplication-TileImage") blank
|
||||
elAttr "meta"
|
||||
( "content" =: "#ffffff"
|
||||
<> "name" =: "theme-color") blank
|
||||
|
||||
-- | Common headers of all pages. Displays the project name.
|
||||
headerWidget :: (MonadWidget t m, EventWriter t (Last ProjectName) m) => m ()
|
||||
headerWidget =
|
||||
|