git.iko.soy/gigawork-coworking/gigawork-coworking.github.io
on master help sign in
Added favicon
commit4ba4584275223adcffb658573549a5203e40aa06 authoriko <mail@iko.soy> dateWed 1 Jan 2025, 04:18 (2 years ago) parent8bacc60
5 files changed+6−2
app/Route/Index.elm+1 app/Site.elm+3−1 public/favicon.ico public/favicon.svg+1 style.css+1−1
app/Route/Index.elm+1
@@ -175,6 +175,7 @@ view app shared =
175175 ]
176176 ]
177177 , callToAction
178+ , el [ height (px 76) ] none
178179 ]
179180 }
180181
app/Site.elm+3−1
@@ -3,6 +3,8 @@ module Site exposing (config)
33import BackendTask exposing (BackendTask)
44import FatalError exposing (FatalError)
55import Head
6+import MimeType
7+import Pages.Url
68import SiteConfig exposing (SiteConfig)
79
810
@@ -16,6 +18,6 @@ config =
1618head : BackendTask FatalError (List Head.Tag)
1719head =
1820 [ Head.metaName "viewport" (Head.raw "width=device-width,initial-scale=1")
19− , Head.sitemapLink "/sitemap.xml"
21+ , Head.icon [] (MimeType.OtherImage "svg") (Pages.Url.external "/favicon.svg")
2022 ]
2123 |> BackendTask.succeed
public/favicon.icodeleted

Binary file not shown.

public/favicon.svgnew file+1
@@ -0,0 +1 @@
1+<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none"><defs><clipPath id="a" class="frame-clip frame-clip-def"><rect width="25" height="25" rx="0" ry="0"/></clipPath></defs><g clip-path="url(#a)"><g class="fills"><rect width="25" height="25" class="frame-background" rx="0" ry="0" style="fill:#fff;fill-opacity:1"/></g><g class="frame-children"><path d="M12.5 2c6.19 0 10 2.976 10 8.25 0 5.75-3.81 8.25-10 8.25s-10-3-10-8.25S6.786 2 12.5 2M3.5 19l9 2 9-2v10.5h-18z" class="fills" style="fill:#20c391;fill-opacity:1"/></g></g></svg>
style.css+1−1
@@ -14,7 +14,7 @@
1414
1515@media (max-width:549px) {
1616 html {
17− zoom:.6!important
17+ zoom:.7!important
1818 }
1919}
2020