Add an app icon

It doesn’t cover all use cases (see [this article](https://css-tricks.com/favicon-quiz/), but it’s
a good start.
This commit is contained in:
2018-07-01 07:24:44 +02:00
parent 4668089901
commit 6b3d36ff21
8 changed files with 393 additions and 1 deletions

View File

@@ -2,8 +2,17 @@
<html>
<head>
<title>Calendar.Social</title>
<link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', filename='images/calendar-social-icon-16.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='images/calendar-social-icon-32.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='images/calendar-social-icon-96.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='images/calendar-social-icon-192.png') }}">
{% block head %}
<style>
header > h1 > img {
height: 1em;
}
footer {
margin-top: 3em;
font-weight: bold;
@@ -15,7 +24,10 @@
</head>
<body>
<header>
<h1>Calendar.social</h1>
<h1>
<img src="{{ url_for('static', filename='images/calendar-social-icon.svg') }}">
Calendar.social
</h1>
<nav class="menu">
{% if current_user.is_authenticated %}
{{ _('Logged in as %(username)s', username=current_user.username) }}