Private
Public Access
1
0

chg: pkg: remove unnecessary cdn based fonts #4

This commit is contained in:
2026-04-13 20:38:22 +02:00
parent 2e8d878337
commit 3db8a30115
20 changed files with 173 additions and 5557 deletions

View File

@@ -23,7 +23,7 @@
<div class="bshare-card">
<div class="bshare-card__eyebrow">
<i class="fa fa-crosshairs"></i> Battle Report
<i class="fas fa-crosshairs"></i> Battle Report
</div>
{# VS Header #}
@@ -52,24 +52,24 @@
{# Result badge #}
{% if resign == 'red' %}
<div class="bshare-badge bshare-badge--blue">
<i class="fa fa-trophy"></i> Blue wins
<i class="fas fa-trophy"></i> Blue wins
</div>
{% elseif resign == 'blue' %}
<div class="bshare-badge bshare-badge--red">
<i class="fa fa-trophy"></i> Red wins
<i class="fas fa-trophy"></i> Red wins
</div>
{% elseif redPts is not null and bluePts is not null %}
{% if redPts > bluePts %}
<div class="bshare-badge bshare-badge--red">
<i class="fa fa-trophy"></i> Red wins
<i class="fas fa-trophy"></i> Red wins
</div>
{% elseif bluePts > redPts %}
<div class="bshare-badge bshare-badge--blue">
<i class="fa fa-trophy"></i> Blue wins
<i class="fas fa-trophy"></i> Blue wins
</div>
{% else %}
<div class="bshare-badge bshare-badge--draw">
<i class="fa fa-minus"></i> Draw
<i class="fas fa-minus"></i> Draw
</div>
{% endif %}
{% endif %}
@@ -89,25 +89,25 @@
<div class="bshare-details">
{% if resign %}
<div class="bshare-detail">
<i class="fa fa-flag"></i>
<i class="fas fa-flag"></i>
<span>{{ resign|capitalize }} resigned</span>
</div>
{% endif %}
{% if game.redExplodedBomb %}
<div class="bshare-detail bshare-detail--bomb">
<i class="fa fa-bomb"></i>
<i class="fas fa-bomb"></i>
<span>{{ redName }} hit a mine</span>
</div>
{% endif %}
{% if game.blueExplodedBomb %}
<div class="bshare-detail bshare-detail--bomb">
<i class="fa fa-bomb"></i>
<i class="fas fa-bomb"></i>
<span>{{ blueName }} hit a mine</span>
</div>
{% endif %}
{% if game.updated %}
<div class="bshare-detail">
<i class="fa fa-calendar"></i>
<i class="fas fa-calendar"></i>
<span>{{ game.updated|date('Y-m-d H:i') }}</span>
</div>
{% endif %}
@@ -115,10 +115,10 @@
<div class="bshare-cta">
<a href="{{ path('MineSeekerBundle_gamePlay') }}" class="bshare-btn">
<i class="fa fa-play"></i> Play MineSeeker
<i class="fas fa-play"></i> Play MineSeeker
</a>
<a href="{{ path('MineSeekerBundle_homepage') }}" class="bshare-btn bshare-btn--ghost">
<i class="fa fa-home"></i> Homepage
<i class="fas fa-house"></i> Homepage
</a>
</div>

View File

@@ -28,20 +28,20 @@
{{ app.user.username }}
</a>
<a href="{{ path('MineSeekerBundle_profile_security') }}" class="hero-auth-btn hero-auth-btn--security">
<i class="fa fa-lock"></i> Security
<i class="fas fa-lock"></i> Security
</a>
<form method="post" action="{{ path('MineSeekerBundle_logout') }}">
<input type="hidden" name="_csrf_token" value="{{ csrf_token('logout') }}"/>
<button type="submit" class="hero-auth-btn hero-auth-btn--out">
<i class="fa fa-sign-out"></i> Sign out
<i class="fas fa-right-from-bracket"></i> Sign out
</button>
</form>
{% else %}
<a href="{{ path('MineSeekerBundle_login') }}" class="hero-auth-btn">
<i class="fa fa-sign-in"></i> Sign in
<i class="fas fa-right-to-bracket"></i> Sign in
</a>
<a href="{{ path('MineSeekerBundle_register') }}" class="hero-auth-btn hero-auth-btn--register">
<i class="fa fa-user-plus"></i> Register
<i class="fas fa-user-plus"></i> Register
</a>
{% endif %}
</div>
@@ -70,9 +70,9 @@
<section class="feature-block">
<div class="feature-block__inner">
<div class="feature-block__visual feature-block__visual--stats">
<i class="fa fa-bar-chart"></i>
<i class="fa fa-trophy"></i>
<i class="fa fa-history"></i>
<i class="fas fa-chart-bar"></i>
<i class="fas fa-trophy"></i>
<i class="fas fa-clock-rotate-left"></i>
</div>
<div class="feature-block__text">
<p class="feature-block__label">For registered players</p>
@@ -84,7 +84,7 @@
</p>
{% if not is_granted("IS_AUTHENTICATED_REMEMBERED") %}
<a href="{{ path('MineSeekerBundle_register') }}" class="feature-block__cta">
<i class="fa fa-user-plus"></i> Create free account
<i class="fas fa-user-plus"></i> Create free account
</a>
{% endif %}
</div>