Browse Source

Ajoute le logo

master
vincent 2 days ago
parent
commit
3065d4f664
3 changed files with 6 additions and 2 deletions
  1. +2
    -0
      assets/images/logo.svg
  2. +3
    -1
      templates/_header.html.twig
  3. +1
    -1
      templates/base.html.twig

+ 2
- 0
assets/images/logo.svg
File diff suppressed because it is too large
View File


+ 3
- 1
templates/_header.html.twig View File

@ -1,7 +1,9 @@
<header>
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid">
<a class="navbar-brand" href="{{ path('app_home') }}" title="{{ long_title[app.request.locale] }} {{ versionGetter.getVersion() }}">{{ title[app.request.locale] }} </a>
<a class="navbar-brand" href="{{ path('app_home') }}" title="{{ long_title[app.request.locale] }} {{ versionGetter.getVersion() }}">
<img src="{{ asset('images/logo.svg') }}" alt="{{ title[app.request.locale] }}" width="30" height="24">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="{{ 'button.toggle_navigation'|trans }}">
<span class="navbar-toggler-icon"></span>
</button>


+ 1
- 1
templates/base.html.twig View File

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{% block title %}{{ title[app.request.locale] }}{% endblock %}</title>
<link rel="icon" href="data:," />
<link rel="icon" href="{{ asset('images/logo.svg') }}" />
{% block stylesheets %}
{% endblock %}
{% block javascripts %}


Loading…
Cancel
Save