From 9f935b5dd093eaad1c7758e8b54f110772a1bd9b Mon Sep 17 00:00:00 2001 From: Daniel Wilkowski Date: Thu, 17 Oct 2024 11:22:23 +0200 Subject: [PATCH] Remove icons from homepage --- app/Domain/Icon/FontAwesomeFree.php | 5 ----- app/Domain/Icon/FontAwesomePro.php | 5 ----- resources/views/components/viewers.twig | 5 ----- resources/views/home.twig | 3 --- 4 files changed, 18 deletions(-) diff --git a/app/Domain/Icon/FontAwesomeFree.php b/app/Domain/Icon/FontAwesomeFree.php index ed2df4fd3f..6b52cffc61 100644 --- a/app/Domain/Icon/FontAwesomeFree.php +++ b/app/Domain/Icon/FontAwesomeFree.php @@ -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', diff --git a/app/Domain/Icon/FontAwesomePro.php b/app/Domain/Icon/FontAwesomePro.php index 083fc9fc19..d1afbe5013 100644 --- a/app/Domain/Icon/FontAwesomePro.php +++ b/app/Domain/Icon/FontAwesomePro.php @@ -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', diff --git a/resources/views/components/viewers.twig b/resources/views/components/viewers.twig index 090e4afcf7..fceea952dc 100644 --- a/resources/views/components/viewers.twig +++ b/resources/views/components/viewers.twig @@ -1,10 +1,5 @@

- {% if local %} - {{ icon('viewersOnlineLocal') }} - {% else %} - {{ icon('viewersOnlineGlobal') }} - {% endif %} {{ title }}

diff --git a/resources/views/home.twig b/resources/views/home.twig index 6635339ae4..79da842ce7 100644 --- a/resources/views/home.twig +++ b/resources/views/home.twig @@ -12,7 +12,6 @@

- {{ icon('forumNews') }} Co nowego na forum?

@@ -138,7 +137,6 @@

- {{ icon('microblogsPopular') }} Popularne wpisy na mikroblogu

- {{ icon('reputationRanking') }} Reputacja użytkowników