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
2 changed files with 13 additions and 3 deletions

View File

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

View File

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