Skip to content

Commit

Permalink
Remove icons from homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Oct 17, 2024
1 parent 5fec420 commit 9f935b5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 18 deletions.
5 changes: 0 additions & 5 deletions app/Domain/Icon/FontAwesomeFree.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ public function icons(): array
'loginGithub' => 'fab fa-github',

// homepage
'microblogsPopular' => 'far fa-comments',
'reputationRanking' => 'fas fa-star',
'forumNews' => 'fas fa-star',
'viewersOnlineLocal' => 'fas fa-eye',
'viewersOnlineGlobal' => 'fas fa-users',
'homepageActivityMicroblog' => 'far fa-person',
'homepageActivityPostComment' => 'far fa-comments',
'homepageActivityTopic' => 'far fa-file',
Expand Down
5 changes: 0 additions & 5 deletions app/Domain/Icon/FontAwesomePro.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ public function icons(): array
'loginGithub' => 'fa-brand fa-github',

// homepage
'microblogsPopular' => 'fa-light fa-fire-flame-curved',
'reputationRanking' => 'fa-light fa-trophy',
'forumNews' => 'fa-light fa-inbox-in',
'viewersOnlineLocal' => 'fa-light fa-eye',
'viewersOnlineGlobal' => 'fa-light fa-users',
'homepageActivityMicroblog' => 'fa-light fa-person',
'homepageActivityPostComment' => 'fa-light fa-comments',
'homepageActivityTopic' => 'fa-light fa-file',
Expand Down
5 changes: 0 additions & 5 deletions resources/views/components/viewers.twig
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
<div class="box">
<h4 class="heading">
{% if local %}
{{ icon('viewersOnlineLocal') }}
{% else %}
{{ icon('viewersOnlineGlobal') }}
{% endif %}
{{ title }}
</h4>
</div>
Expand Down
3 changes: 0 additions & 3 deletions resources/views/home.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<main class="col-md-8">
<section id="box-forum" class="box mt-4">
<h2 class="h4">
{{ icon('forumNews') }}
Co nowego na forum?
</h2>
<div class="card card-forum">
Expand Down Expand Up @@ -138,7 +137,6 @@

<section id="js-microblog" class="box">
<h4>
{{ icon('microblogsPopular') }}
Popularne wpisy na mikroblogu
</h4>
<vue-microblog
Expand Down Expand Up @@ -166,7 +164,6 @@

<section class="box mt-4">
<h4 class="heading">
{{ icon('reputationRanking') }}
Reputacja użytkowników
</h4>

Expand Down

0 comments on commit 9f935b5

Please sign in to comment.