added options to promotion (#81)

* added options to promotion

* prettier

* incremented package.json
This commit is contained in:
Wyatt Verchere 2023-07-28 12:52:14 -07:00 committed by GitHub
parent a149f06f58
commit 05fda903c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<a
href="https://exaroton.com/?utm_source=modrinth&utm_medium=text&utm_campaign=host&utm_content=top"
rel="noopener nofollow sponsored"
target="_blank"
:target="target"
>
<ExarotonIcon class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-3" />
<span>
@ -18,13 +18,23 @@
</div>
</div>
<div class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-4">
<a rel="noopener sponsored" target="_blank" href="https://adrinth.com"> Ads via Adrinth </a>
<a rel="noopener sponsored" :target="target" href="https://adrinth.com">
Ads via Adrinth
</a>
</div>
</div>
</div>
</template>
<script setup>
import { computed } from 'vue'
import ExarotonIcon from '@/assets/external/exaroton.svg'
const props = defineProps({
external: {
type: Boolean,
default: true,
},
})
const target = computed(() => (props.external ? '_blank' : '_self'))
</script>
<style lang="scss">

View File

@ -1,7 +1,7 @@
{
"name": "omorphia",
"type": "module",
"version": "0.4.33",
"version": "0.4.34",
"files": [
"dist",
"lib"