Skip to content

Commit

Permalink
feat: add favicon + spotify-artists-verify
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Jan 20, 2019
1 parent 3808bd6 commit 97266b3
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 0 deletions.
Binary file added static/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/apple-touch-icon-60x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions static/create_favicon.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh

# based on https://gist.github.com/nateware/900d2d09f4884ac0c073

if [ ! -f input.png ]; then
echo "You should have an input.png file here"
exit 1
fi

convert -resize x16 -gravity center -crop 16x16+0+0 -flatten -colors 256 input.png output-16x16.ico
convert -resize x32 -gravity center -crop 32x32+0+0 -flatten -colors 256 input.png output-32x32.ico
convert output-16x16.ico output-32x32.ico favicon.ico
convert -resize x152 input.png apple-touch-icon-152x152.png
convert -resize x120 input.png apple-touch-icon-120x120.png
convert -resize x76 input.png apple-touch-icon-76x76.png
convert -resize x60 input.png apple-touch-icon-60x60.png
Binary file added static/favicon.ico
Binary file not shown.
Binary file added static/output-16x16.ico
Binary file not shown.
Binary file added static/output-32x32.ico
Binary file not shown.
4 changes: 4 additions & 0 deletions static/spotify-artists-verify/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<h1>Spotify Artists: verification</h1>
<h2>Artist: <b>Camembert au lait crew</b></h2>
<h3>Contact name: <b>Manfred Touron</b></h3>
<h3>Contact email: <b><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="442a2b313704272529212926213630253128252d30273621336a262d3e">[email&#160;protected]</a></b></h3><script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script>

0 comments on commit 97266b3

Please sign in to comment.