Skip to content

Commit

Permalink
activist-org#303 | Replaced custom icons with standard icons, updated…
Browse files Browse the repository at this point in the history
… in affected components: IconLegal, IconDiscussion
  • Loading branch information
otaree committed Aug 28, 2023
1 parent 56b0b7f commit 9f404d6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 37 deletions.
2 changes: 1 addition & 1 deletion frontend/components/card/CardLegalDisclaimer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class="flex flex-col gap-3 px-4 py-2 border rounded-md select-none border-light-section-div dark:border-dark-section-div bg-light-header dark:bg-dark-header active:bg-light-highlight dark:active:bg-dark-highlight hover:cursor-pointer"
>
<div class="flex items-center gap-3">
<Icon name="IconLegal" class="fill-light-text dark:fill-dark-text" />
<Icon name="octicon:law" class="fill-light-text dark:fill-dark-text" />
<p>{{ $t("components.card-legal-disclaimer.header") }}</p>
<Icon v-if="isOpen" name="bi:chevron-up" />
<Icon v-else name="bi:chevron-down" />
Expand Down
19 changes: 0 additions & 19 deletions frontend/components/icon/IconDiscussion.vue

This file was deleted.

14 changes: 0 additions & 14 deletions frontend/components/icon/IconLegal.vue

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/components/sidebar/left/SidebarLeftFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
<SidebarLeftSelector
:label="$t('components.sidebar-left-selector.label.legal')"
routeURL="/legal"
iconURL="IconLegal"
iconURL="octicon:law"
:selected="false"
:active="true"
/>
Expand Down
4 changes: 2 additions & 2 deletions frontend/components/sidebar/left/SidebarLeftIndex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const organizationButtons: SidebarLeftSelectorType[] = [
{
label: "components.sidebar-left-selector.label.discussions",
routeURL: "/",
iconURL: "IconDiscussion",
iconURL: "octicon:comment-discussion-24",
selected: false,
active: false,
},
Expand Down Expand Up @@ -198,7 +198,7 @@ const eventButtons: SidebarLeftSelectorType[] = [
{
label: "components.sidebar-left-selector.label.discussions",
routeURL: "/",
iconURL: "IconDiscussion",
iconURL: "octicon:comment-discussion-24",
selected: false,
active: false,
},
Expand Down

0 comments on commit 9f404d6

Please sign in to comment.