Skip to content

Commit

Permalink
#581 use icons in share component and minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Mar 4, 2024
1 parent 48b602a commit 25494c2
Show file tree
Hide file tree
Showing 8 changed files with 170 additions and 681 deletions.
420 changes: 28 additions & 392 deletions NOTICE.txt

Large diffs are not rendered by default.

43 changes: 0 additions & 43 deletions frontend/components/SocialMediaShareIcon.vue

This file was deleted.

6 changes: 3 additions & 3 deletions frontend/components/footer/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const connectLinks = [
{
name: "components._global.github",
url: "https://github.com/activist-org/activist",
iconName: "cib:github",
iconSize: "1em",
iconName: "simple-icons:github",
iconSize: "1.05em",
},
{
name: "components._global.matrix",
Expand All @@ -27,7 +27,7 @@ const connectLinks = [
{
name: "components._global.instagram",
url: "https://instagram.com/activist_org",
iconName: "cib:instagram",
iconName: "simple-icons:instagram",
iconSize: "1em",
},
];
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/grid/GridGitHubShields.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
href="https://github.com/activist-org/activist"
:isLoading="isLoading"
>
<Icon name="cib:github" size="2em" />
<Icon name="simple-icons:github" size="2em" />
<div class="pb-1 ml-4 place-self-center">
<div class="font-semibold text-xs leading-4 ml-0.5">
{{ $t("components.grid-github-shields.visit-us") }}
Expand Down
4 changes: 2 additions & 2 deletions frontend/components/landing/LandingCommunityBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
href="https://github.com/activist-org/activist"
target="_blank"
>
<Icon name="cib:github" size="1em" />
<Icon name="simple-icons:github" size="1.1em" />
<p class="sr-only sm:not-sr-only">
{{ $t("components._global.github") }}
</p>
Expand All @@ -30,7 +30,7 @@
href="https://instagram.com/activist_org"
target="_blank"
>
<Icon name="cib:instagram" size="1em" />
<Icon name="simple-icons:instagram" size="1em" />
<p class="sr-only sm:not-sr-only">
{{ $t("components._global.instagram") }}
</p>
Expand Down
17 changes: 17 additions & 0 deletions frontend/components/meta-tag/MetaTagSocialMedia.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<template>
<div
class="cursor-pointer w-full h-full flex gap-2 content-center text-light-text dark:text-dark-text hover:text-light-distinct-text dark:hover:dark-distinct-text"
>
<Icon :name="props.iconName" size="1.5em" />
<p>{{ props.text }}</p>
</div>
</template>

<script setup lang="ts">
import { defineProps } from "vue";
const props = defineProps<{
iconName: string;
text: string;
}>();
</script>
350 changes: 111 additions & 239 deletions frontend/components/modal/ModalSharePage.vue

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion frontend/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,13 @@
"components.logo-activist.aria-label": "The activist logo that links to the home page",
"components.logo-activist.text": "Navigate to home page",
"components.media-map.maplibre-gl-alert": "Your browser does not support our mapping service MapLibre GL, so we won't be able to display maps.",
"components.meta-social-media-tag.copied": "Copied",
"components.meta-social-media-tag.copy-link": "Copy link",
"components.meta-social-media-tag.facebook": "Facebook",
"components.meta-social-media-tag.mastodon": "Mastodon",
"components.meta-social-media-tag.messenger": "Messenger",
"components.meta-social-media-tag.qr-code": "View QR code",
"components.meta-social-media-tag.telegram": "Telegram",
"components.meta-tag-stars.label": "stars",
"components.meta-tag.supporters_lower": "supporters",
"components.modal-command-palette.jump-to": "Jump to",
Expand All @@ -253,7 +260,7 @@
"components.modal-qr-code.section-2-list-1-item-2": "Adding them to flyers or cards",
"components.modal-qr-code.section-2-list-1-item-3": "Sending them with materials for your organization",
"components.modal-qr-code.subheader-2": "Ideas for OR code use include:",
"components.modal-share.header": "Share this page",
"components.modal-share-page.header": "Share this page",
"components.page-breadcrumbs.aria-label": "Page breadcrumb navigation",
"components.password-strength.invalid": "invalid",
"components.password-strength.medium": "medium",
Expand Down

0 comments on commit 25494c2

Please sign in to comment.