Skip to content

Commit

Permalink
minor #1476 Update the favicon image (javiereguiluz)
Browse files Browse the repository at this point in the history
This PR was merged into the main branch.

Discussion
----------

Update the favicon image

We currently use an old `.ico` image. Let's keep that `.ico` file for BC reasons, but let's add a new favicon as a SVG file, which looks much better.

**Before / After**

![image](https://github.com/symfony/demo/assets/73419/c0875ef4-9fe9-4a3f-963b-e505697fb562)

Commits
-------

410e754 Update the favicon image
  • Loading branch information
javiereguiluz committed Dec 11, 2023
2 parents 935e85f + 410e754 commit 0b6e2e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% block javascripts %}
{% block importmap %}{{ importmap('app') }}{% endblock %}
{% endblock %}
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
<link rel="shortcut icon" type="image/svg+xml" href="{{ asset('favicon.svg') }}">
</head>

<body id="{% block body_id %}{% endblock %}">
Expand Down

0 comments on commit 0b6e2e4

Please sign in to comment.