Skip to content

Commit

Permalink
fix(webui): add favicons
Browse files Browse the repository at this point in the history
  • Loading branch information
natelandau committed Sep 6, 2024
1 parent 70b5154 commit f9527b2
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/valentina/webui/components/PageLayout.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@
<title>Valentina Noir
{% if title %}: {{ title }}{% endif %}
</title>
<link rel="icon"
href="{{ url_for('static', filename='favicon.svg') }}"
type="image/svg+xml">
<link rel="icon"
href="{{ url_for('static', filename='favicon-32x32.png') }}"
type="image/png"
sizes="32x32">
<link rel="apple-touch-icon"
href="{{ url_for('static', filename='apple-touch-icon.png') }}"
type="image/png"
sizes="180x180">
<script src="https://unpkg.com/htmx.org@2.0.1" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel="stylesheet"
Expand Down
Binary file added src/valentina/webui/static/apple-touch-icon.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 src/valentina/webui/static/favicon-32x32.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 src/valentina/webui/static/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/valentina/webui/templates/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Error {{ status_code }}</title>
<link rel="icon"
href="{{ url_for('static', filename='favicon.svg') }}"
type="image/svg+xml">
<link rel="icon"
href="{{ url_for('static', filename='favicon-32x32.png') }}"
type="image/png"
sizes="32x32">
<link rel="apple-touch-icon"
href="{{ url_for('static', filename='apple-touch-icon.png') }}"
type="image/png"
sizes="180x180">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
Expand Down

0 comments on commit f9527b2

Please sign in to comment.