Browse Source

Update favicon for new logo.

Andy Hochhaus 2 years ago
parent
commit
8fcb9eafae

+ 5 - 3
Makefile

@@ -16,8 +16,10 @@ GSS := $(wildcard src/www/gss/*.gss) \
 
 JS := $(wildcard src/www/js/*.js)
 
+PNG := $(wildcard src/www/img/*.png)
+
 all: go $(RDIR)/compiled.css $(RDIR)/compiled.js $(RDIR)/logo.svg \
-	$(RDIR)/favicon.ico $(RDIR)/roboto.woff
+	$(RDIR)/*.png $(RDIR)/roboto.woff
 
 $(RDIR)/compiled.css: | $(RDIR)
 
@@ -79,8 +81,8 @@ $(RDIR)/compiled.js: $(JS) $(RDIR)/compiled.css $(BINDIR)/www/soy/skeleton.soy.j
 $(RDIR)/logo.svg: src/www/img/logo.svg
 	cp src/www/img/logo.svg $(RDIR)/logo.svg
 
-$(RDIR)/favicon.ico: src/www/img/favicon.ico
-	cp src/www/img/favicon.ico $(RDIR)/favicon.ico
+$(RDIR)/*.png: $(GSS)
+	cp src/www/img/*.png $(RDIR)
 
 $(RDIR)/roboto.woff: src/www/roboto.woff
 	cp src/www/roboto.woff $(RDIR)/roboto.woff

BIN
src/www/img/apple-touch-icon-144x144.png


BIN
src/www/img/apple-touch-icon-152x152.png


BIN
src/www/img/favicon-16x16.png


BIN
src/www/img/favicon-32x32.png


BIN
src/www/img/favicon.ico


BIN
src/www/img/favicon.xcf


File diff suppressed because it is too large
+ 0 - 1824
src/www/img/mammoth.ai


File diff suppressed because it is too large
+ 0 - 692
src/www/img/mammoth_mail_wide.ai


BIN
src/www/img/mstile-144x144.png


+ 7 - 1
src/www/skeleton.htm

@@ -13,7 +13,13 @@ of contributors.
     <title>Mammoth Mail</title>
     <meta name="viewport" content="width=device-width, user-scalable=no">
     <link rel="stylesheet" href="{{res "/r/compiled.css"}}">
-    <link rel="shortcut icon" href="{{res "/r/favicon.ico"}}" sizes="16x16 32x32 48x48 64x64 128x128">
+    <link rel="icon" type="image/png" href="{{res "/r/favicon-32x32.png"}}" sizes="32x32">
+    <link rel="icon" type="image/png" href="{{res "/r/favicon-16x16.png"}}" sizes="16x16">
+    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{res "/r/apple-touch-icon-152x152.png"}}">
+    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{res "/r/apple-touch-icon-144x144.png"}}">
+    <meta name="application-name" content="Mammoth Mail">
+    <meta name="msapplication-TileColor" content="#fffff">
+    <meta name="msapplication-TileImage" content="https://mammothmail.com/mstile-144x144.png">
   </head>
   <body>
     {{if .Skeleton.Outside}}