Skip to content

Commit

Permalink
remove light app store btns
Browse files Browse the repository at this point in the history
  • Loading branch information
amiraabouhadid committed Nov 27, 2024
1 parent f002516 commit 9885150
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions packages/playground/src/components/qr_play_store.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
:style="{ cursor: 'pointer', width: '9rem' }"
class="mx-2"
:title="app.alt"
v-html="theme == 'dark' ? app.src_dark : app.src_light"
v-html="app.src"
:href="app.url"
target="_blank"
/>
Expand All @@ -23,26 +23,22 @@
const props = defineProps({
qr: String,
});
const theme = useTheme().name.value;
const apps = [
{
src_dark: `<img width="128" src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Google_Play_Store_badge_EN.svg/128px-Google_Play_Store_badge_EN.svg.png?20220907104002">`,
src_light: `<img width="128" badge" src="/images/icons/g_play.png"/>
`,
src: `<img width="128" src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Google_Play_Store_badge_EN.svg/128px-Google_Play_Store_badge_EN.svg.png?20220907104002">`,
alt: "Threefold Connect on Google Play Store",
url: "https://play.google.com/store/apps/details?id=org.jimber.threebotlogin&hl=en&gl=US",
},
{
src_dark: `<img width="128" src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/91/Download_on_the_App_Store_RGB_blk.svg/128px-Download_on_the_App_Store_RGB_blk.svg.png?20180317110059"/>`,
src_light: `<img width="128" src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Download_on_the_App_Store_Badge_US-UK_RGB_wht.svg/1280px-Download_on_the_App_Store_Badge_US-UK_RGB_wht.svg.png"/>`,
src: `<img width="128" src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/91/Download_on_the_App_Store_RGB_blk.svg/128px-Download_on_the_App_Store_RGB_blk.svg.png?20180317110059"/>`,
alt: "Threefold Connect on Apple App Store",
url: "https://apps.apple.com/us/app/threefold-connect/id1459845885",
},
];
</script>
<script lang="ts">
import { defineComponent } from "vue";
import { useTheme } from "vuetify/lib/framework.mjs";
import QrcodeGenerator from "../components/qrcode_generator.vue";
Expand Down

0 comments on commit 9885150

Please sign in to comment.