diff --git a/webapp/titanembeds/static/img/appicons/README.md b/webapp/titanembeds/static/img/appicons/README.md new file mode 100644 index 0000000..bf49afb --- /dev/null +++ b/webapp/titanembeds/static/img/appicons/README.md @@ -0,0 +1,8 @@ +# Beautiful icons for mobile devices +(for Safari on iOS and Google Chrome on Android) + + + +When a user decides to add a guild embed to his or her homescreen, it will use the TitanEmbeds icon instead of the current webpage view or a low resolution favicon (which often looks ugly). +There are icons available specifically optimised for iOS and Android that are used accordingly. diff --git a/webapp/titanembeds/static/img/appicons/icon_128x128.png b/webapp/titanembeds/static/img/appicons/icon_128x128.png new file mode 100644 index 0000000..a39996e Binary files /dev/null and b/webapp/titanembeds/static/img/appicons/icon_128x128.png differ diff --git a/webapp/titanembeds/static/img/appicons/icon_192x192.png b/webapp/titanembeds/static/img/appicons/icon_192x192.png new file mode 100644 index 0000000..d4f212b Binary files /dev/null and b/webapp/titanembeds/static/img/appicons/icon_192x192.png differ diff --git a/webapp/titanembeds/static/img/appicons/icon_196x196.png b/webapp/titanembeds/static/img/appicons/icon_196x196.png new file mode 100644 index 0000000..b7b0f87 Binary files /dev/null and b/webapp/titanembeds/static/img/appicons/icon_196x196.png differ diff --git a/webapp/titanembeds/static/img/appicons/icon_50x50@2x.png b/webapp/titanembeds/static/img/appicons/icon_50x50@2x.png new file mode 100644 index 0000000..1bb6a71 Binary files /dev/null and b/webapp/titanembeds/static/img/appicons/icon_50x50@2x.png differ diff --git a/webapp/titanembeds/static/img/appicons/icon_58x58@1x.png b/webapp/titanembeds/static/img/appicons/icon_58x58@1x.png new file mode 100644 index 0000000..d85710b Binary files /dev/null and b/webapp/titanembeds/static/img/appicons/icon_58x58@1x.png differ diff --git a/webapp/titanembeds/static/img/appicons/icon_60x60@3x.png b/webapp/titanembeds/static/img/appicons/icon_60x60@3x.png new file mode 100644 index 0000000..9f9028d Binary files /dev/null and b/webapp/titanembeds/static/img/appicons/icon_60x60@3x.png differ diff --git a/webapp/titanembeds/static/img/appicons/icon_76x76@1x.png b/webapp/titanembeds/static/img/appicons/icon_76x76@1x.png new file mode 100644 index 0000000..bda9f1d Binary files /dev/null and b/webapp/titanembeds/static/img/appicons/icon_76x76@1x.png differ diff --git a/webapp/titanembeds/static/img/appicons/icon_76x76@2x.png b/webapp/titanembeds/static/img/appicons/icon_76x76@2x.png new file mode 100644 index 0000000..fe46c53 Binary files /dev/null and b/webapp/titanembeds/static/img/appicons/icon_76x76@2x.png differ diff --git a/webapp/titanembeds/templates/embed.html.j2 b/webapp/titanembeds/templates/embed.html.j2 index dc6ab4f..6c1d4e3 100644 --- a/webapp/titanembeds/templates/embed.html.j2 +++ b/webapp/titanembeds/templates/embed.html.j2 @@ -13,6 +13,11 @@ {% include 'seo_meta.html.j2' %} + + + + + {% with title="Visit " + guild['name'] + " embed", description="Visit " + guild['name'] + " on Titan Embeds and chat with your friends from the comfort of your own website. This page is 100% embeddable, iFrameable and looks good on any webpages. Titan is hassle free and designed as easy to setup!", image=generate_guild_icon( guild['id'], guild['icon']) %} {% include "opengraph_tags.html.j2" %} {% endwith %} @@ -376,4 +381,4 @@ } - + \ No newline at end of file diff --git a/webapp/titanembeds/templates/seo_meta.html.j2 b/webapp/titanembeds/templates/seo_meta.html.j2 index 7f976fc..0a252e5 100644 --- a/webapp/titanembeds/templates/seo_meta.html.j2 +++ b/webapp/titanembeds/templates/seo_meta.html.j2 @@ -1,4 +1,15 @@ - \ No newline at end of file + + + + + + + + + + + + \ No newline at end of file diff --git a/webapp/titanembeds/templates/site_layout.html.j2 b/webapp/titanembeds/templates/site_layout.html.j2 index 2074184..34bfea9 100644 --- a/webapp/titanembeds/templates/site_layout.html.j2 +++ b/webapp/titanembeds/templates/site_layout.html.j2 @@ -12,6 +12,10 @@ {{ title }} - Titan Embeds for Discord + + + + {% include 'seo_meta.html.j2' %} {% with title=title, description="Embed your Discord server in any website. Titan is hassle free and designed as easy to setup." %} @@ -83,4 +87,4 @@ {% block script %}{% endblock %} - + \ No newline at end of file