fix: 🚚 update icons name in club

This commit is contained in:
Alexis Gousseau 2024-09-30 15:12:27 +02:00
parent e11faf35d2
commit 0cad5080cd
16 changed files with 26 additions and 22 deletions

View file

@ -0,0 +1,4 @@
<svg width="31" height="35" viewBox="0 0 31 35" role="img" aria-hidden="true" focusable="false" version="1.1" xmlns="http://www.w3.org/2000/svg">
<text class="visually-hidden" font-size="0">{{ __('Un sac') }}</text>
<path d="M30.367 26.3255L28.8931 14.1474C28.4944 10.9458 27.7091 8.02209 23.0336 7.41802V5.32793C23.0336 2.19883 20.8347 0 17.6694 0H12.7643C9.59898 0 7.38806 2.19883 7.38806 5.32793V7.41802C2.72461 8.03417 1.96348 10.9458 1.57688 14.1474L0.102956 26.3255C-0.235325 29.0922 0.260009 31.2547 1.58897 32.7649C2.90585 34.2509 5.02011 35 7.85925 35H22.5503C25.3774 35 27.5037 34.2509 28.8689 32.7649C30.1858 31.291 30.6932 29.1284 30.367 26.3255ZM9.96142 5.32793C9.96142 3.62444 11.0367 2.54919 12.7643 2.54919H17.6694C19.397 2.54919 20.4602 3.62444 20.4602 5.32793V7.2972H9.96142V5.32793ZM26.8997 31.0614C26.0781 31.9676 24.6162 32.4387 22.5503 32.4387H7.85925C5.79332 32.4387 4.33146 31.9676 3.50992 31.0614C2.68838 30.1433 2.39842 28.6572 2.64005 26.6155L4.11399 14.4373C4.39187 12.1298 4.60932 10.4746 7.38806 10.0035V11.0183C7.38806 11.719 7.96798 12.2868 8.68078 12.2868C9.39359 12.2868 9.96142 11.7069 9.96142 11.0183V9.85847H20.4602V11.0183C20.4602 11.7069 21.0522 12.2868 21.7529 12.2868C22.4537 12.2868 23.0336 11.719 23.0336 11.0183V10.0035C25.8123 10.4746 26.0177 12.1177 26.2956 14.4253L27.7695 26.6155C28.0111 28.6572 27.7212 30.1553 26.8997 31.0614Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

View file

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View file

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

Before

Width:  |  Height:  |  Size: 435 B

After

Width:  |  Height:  |  Size: 435 B

View file

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -10,13 +10,13 @@
@if (request()->routeIs('club.home.show'))
<a class="btn btn-link text-light text-decoration-none" href="{{ route('fo.home.show') }}"
title="{{ __('Retour sur le Gaulois') }}">
@include('club.icons.chevron-left')
@include('club.icons.herringbone-left')
<span class="d-none d-md-block text-start ms-3">{{ __('Retour sur le Gaulois') }}</span>
</a>
@elseif (!empty($backButtonUrl))
<a class="btn btn-link text-light text-decoration-none" href="{{ $backButtonUrl }}"
title="{{ !empty($backButtonText) ? $backButtonText : __('Retour') }}">
@include('club.icons.chevron-left')
@include('club.icons.herringbone-left')
<span class="d-none d-md-block text-start ms-3">{{ !empty($backButtonText) ? $backButtonText : __('Retour') }}</span>
</a>
@endif
@ -80,7 +80,7 @@
</li>
<li class="nav-item">
<a class="btn btn-link text-tertiary position-relative p-1" href="{{ route('club.notifications.index') }}">
@include('club.icons.cloche')
@include('club.icons.bell')
@if (!empty($notifications_count))
<span class="position-absolute start-85 translate-middle badge rounded-pill bg-danger top-15">
{{ ($notifications_count > 99) ? '99+' : $notifications_count }}

View file

@ -19,17 +19,17 @@
</button>
</li>
<li class="nav-item">
<span class="nav-icon">@include('club.icons.poule')</span>
<span class="nav-icon">@include('club.icons.chicken')</span>
<a class="nav-link" href="{{ route('club.home.show') }}"
title="{{ __('Go to page :page', ['page' => 'Le club des gaulois']) }}">{{ __('Le club des gaulois') }}</a>
</li>
<li class="nav-item">
<span class="nav-icon">@include('club.icons.tete-poule')</span>
<span class="nav-icon">@include('club.icons.chicken-head')</span>
<a class="nav-link" href="{{ route('club.customers.index') }}"
title="{{ __('Go to page :page', ['page' => 'Mon compte']) }}">{{ __('Mon compte') }}</a>
</li>
<li class="nav-item">
<span class="nav-icon">@include('club.icons.cloche')</span>
<span class="nav-icon">@include('club.icons.bell')</span>
<a class="nav-link" href="{{ route('club.notifications.index') }}"
title="{{ __('Go to page :page', ['page' => 'Notifications']) }}">{{ __('Notifications') }}</a>
@if (!empty($notifications_count))
@ -68,12 +68,12 @@
@endif
</li>
{{-- <li class="nav-item">
<span class="nav-icon">@include('club.icons.coupe')</span>
<span class="nav-icon">@include('club.icons.trophy')</span>
<a class="nav-link" href="{{ route('club.quests.index') }}"
title="{{ __('Go to page :page', ['page' => 'La quête']) }}">{{ __('La quête') }}</a>
</li> --}}
{{-- <li class="nav-item">
<span class="nav-icon">@include('club.icons.manette')</span>
<span class="nav-icon">@include('club.icons.controller')</span>
<a class="nav-link" href="{{ route('club.games.index') }}"
title="{{ __('Go to page :page', ['page' => 'Les jeux']) }}">{{ __('Les jeux') }}</a>
</li> --}}

View file

@ -16,7 +16,7 @@
@php $userPoints = 645; @endphp
<section class="section-page-header row justify-content-center mb-5">
<div class="col-12 d-flex flex-column flex-sm-row justify-content-center align-items-center mb-3 text-center">
<span class="header-icon mb-3 mb-sm-0 me-sm-3">@include('club.icons.tete-poule')</span>
<span class="header-icon mb-3 mb-sm-0 me-sm-3">@include('club.icons.chicken-head')</span>
<h1 class="text-uppercase m-0">{{ __('Mon compte') }}</h1>
</div>
<div class="col-lg-6">
@ -60,7 +60,7 @@
<li class="list-group-item active list-group-item-action list-group-item-white">
<a class="d-flex align-items-center text-decoration-none f-bourton-base m-3 border-0 px-3" href="#FIXME: personal info"
title="{{ __('Modifier mes informations personnelles') }}" role="button">
@include('club.icons.tete-poule')
@include('club.icons.chicken-head')
<span class="fs-4 flex-grow-1 ms-3 text-start">{{ __('Informations personnelles') }}</span>
</a>
</li>
@ -74,14 +74,14 @@
{{-- <li class="list-group-item list-group-item-action list-group-item-white">
<a class="d-flex text-decoration-none f-bourton-base align-items-center m-3 border-0 px-3"
href="{{ route('club.quests.index') }}" title="{{ __('Go to page :page', ['page' => 'La quête']) }}">
@include('club.icons.coupe')
@include('club.icons.trophy')
<span class="fs-4 flex-grow-1 ms-3 text-start">{{ __('La Quête') }}</span>
</a>
</li>
<li class="list-group-item list-group-item-action list-group-item-white">
<a class="text-decoration-none f-bourton-base d-flex align-items-center m-3 border-0 px-3" href="#FIXME: parrainage"
title="{{ __('Go to page :page', ['page' => 'Parrainages']) }}">
@include('club.icons.personnes')
@include('club.icons.persons')
<span class="fs-4 flex-grow-1 ms-3 text-start">{{ __('Parrainages') }}</span>
</a>
</li> --}}
@ -92,7 +92,7 @@
<div class="col-12 d-sm-none text-center mb-4">
<a class="d-flex align-items-center text-bg-primary text-decoration-none f-bourton-base border-0 my-3 px-3 py-4 shadow"
href="#" title="{{ __('Modifier mes informations personnelles') }}" role="button">
@include('club.icons.tete-poule')
@include('club.icons.chicken-head')
<span class="fs-4 flex-grow-1 ms-3 text-start">{{ __('Informations personnelles') }}</span>
<span class="d-flex px-2">
<span class="bg-danger rounded-circle border border-0 px-2 py-1">
@ -116,14 +116,14 @@
</a>
{{-- <a class="d-flex text-bg-primary text-decoration-none f-bourton-base align-items-center m-3 border-0 px-3 py-4 shadow"
href="{{ route('club.quests.index') }}" title="{{ __('Go to page :page', ['page' => 'La quête']) }}">
@include('club.icons.coupe')
@include('club.icons.trophy')
<span class="fs-4 flex-grow-1 ms-3 text-start">{{ __('La Quête') }}</span>
<span class="d-flex px-2"></span>
<i class="fa-solid fa-chevron-left fa-xl fa-flip-horizontal" aria-hidden="true"></i>
</a>
<a class="text-decoration-none f-bourton-base text-bg-primary d-flex align-items-center m-3 border-0 px-3 py-4 shadow"
href="#FIXME: parrainage" title="{{ __('Go to page :page', ['page' => 'Parrainages']) }}">
@include('club.icons.personnes')
@include('club.icons.persons')
<span class="fs-4 flex-grow-1 ms-3 text-start">{{ __('Parrainages') }}</span>
<span class="d-flex px-2"></span>
<i class="fa-solid fa-chevron-left fa-xl fa-flip-horizontal" aria-hidden="true"></i>

View file

@ -14,7 +14,7 @@
@section('content')
<section class="section-page-header row justify-content-center mb-2">
<div class="col-12 d-flex flex-column flex-sm-row justify-content-center align-items-center mb-3 text-center">
<span class="header-icon mb-3 mb-sm-0 me-sm-3">@include('club.icons.tete-poule')</span>
<span class="header-icon mb-3 mb-sm-0 me-sm-3">@include('club.icons.chicken-head')</span>
<h1 class="text-uppercase m-0">@yield('title-page')</h1>
</div>
<div class="col-lg-6">

View file

@ -14,7 +14,7 @@
@section('content')
<section class="section-page-header row justify-content-center mb-5">
<div class="col-12 mb-3 text-center">
<span class="header-icon mb-3">@include('club.icons.manette')</span>
<span class="header-icon mb-3">@include('club.icons.controller')</span>
<h1 class="text-uppercase">{{ __('Les jeux') }}</h1>
</div>
<div class="col-md-6">

View file

@ -36,20 +36,20 @@
{{-- <li class="nav-item">
<a class="btn btn-link d-flex flex-column justify-content-center align-items-center"
href="{{ route('club.quests.index') }}" title="{{ __('Go to page :page', ['page' => 'La quête']) }}">
<span class="round-btn rounded-pill text-bg-secondary">@include('club.icons.coupe')</span>
<span class="round-btn rounded-pill text-bg-secondary">@include('club.icons.trophy')</span>
<span class="link-text link-body-emphasis mt-2">{{ __('La quête') }}</span></a>
</li>
<li class="nav-item">
<a class="btn btn-link d-flex flex-column justify-content-center align-items-center"
href="{{ route('club.games.index') }}" title="{{ __('Go to page :page', ['page' => 'Les jeux']) }}">
<span class="round-btn rounded-pill text-bg-secondary">@include('club.icons.manette')</span>
<span class="round-btn rounded-pill text-bg-secondary">@include('club.icons.controller')</span>
<span class="link-text link-body-emphasis mt-2">{{ __('Les jeux') }}</span></a>
</li> --}}
<li class="nav-item">
<a class="btn btn-link d-flex flex-column justify-content-center align-items-center"
href="{{ route('club.customers.index') }}"
title="{{ __('Go to page :page', ['page' => 'Mon compte']) }}">
<span class="round-btn rounded-pill text-bg-secondary">@include('club.icons.tete-poule')</span>
<span class="round-btn rounded-pill text-bg-secondary">@include('club.icons.chicken-head')</span>
<span class="link-text link-body-emphasis mt-2">{{ __('Mon compte') }}</span></a>
</li>
</ul>

View file

@ -15,7 +15,7 @@
<section class="section-page-header row justify-content-center mb-5">
<div class="col-12 d-flex flex-column flex-sm-row justify-content-center align-items-center mb-3 text-center">
<span class="header-icon position-relative mb-3 mb-sm-0 me-sm-3">
@include('club.icons.cloche')
@include('club.icons.bell')
@if (!empty($notifications_count))
<span class="badge-count position-absolute start-100 translate-middle bg-danger border-light rounded-circle top-0 d-flex justify-content-center align-items-center border px-2 py-1">
<span class="visually-hidden">{{ __('Nouvelles notifications') }}</span>

View file

@ -14,7 +14,7 @@
@section('content')
<section class="section-page-header row justify-content-center mb-5">
<div class="col-12 mb-3 text-center">
<span class="header-icon mb-3">@include('club.icons.coupe')</span>
<span class="header-icon mb-3">@include('club.icons.trophy')</span>
<h1 class="text-uppercase">{{ __('La quête') }}</h1>
</div>
<div class="col-md-6">