Promotion tweaks (#85)

* Modify promotion, Fix #80, Fix #79

* Update Avatar.vue

* Version bump
This commit is contained in:
Adrian O.V
2023-08-10 11:49:00 -04:00
committed by GitHub
parent 6023c08554
commit 27172c2a19
5 changed files with 13 additions and 8 deletions

View File

@@ -60,7 +60,7 @@ export default {
},
loading: {
type: String,
default: 'eager',
default: 'lazy',
},
},
data() {

View File

@@ -143,6 +143,7 @@ const toggleDropdown = () => {
const selectOption = (option, index) => {
radioValue.value = option
emit('change', { option, index })
emit('option-click', { option: selectedOption.value })
dropdownVisible.value = false
}
@@ -197,6 +198,10 @@ onBeforeUnmount(() => {
border-radius: var(--radius-md) 0 0 0;
}
}
.btn {
height: 2.25rem;
}
}
.selected {

View File

@@ -4,7 +4,7 @@
<div class="GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-1">
<div class="GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-2">
<a
href="https://bisecthosting.com/modrinth"
:href="`https://bisecthosting.com/modrinth${queryParam}`"
rel="noopener nofollow sponsored"
:target="target"
>
@@ -12,7 +12,7 @@
<span>
<span> Host your Minecraft server on </span>
<strong>BisectHosting</strong>
<span> - get 25% your first month with code <strong>MODRINTH</strong>. </span>
<span> - get 25% off your first month with code <strong>MODRINTH</strong>. </span>
</span>
</a>
</div>
@@ -33,6 +33,10 @@ const props = defineProps({
type: Boolean,
default: true,
},
queryParam: {
type: String,
default: '',
},
})
const target = computed(() => (props.external ? '_blank' : '_self'))
</script>

View File

@@ -21,10 +21,6 @@ export default {
return []
},
},
type: {
type: String,
required: true,
},
},
methods: {
formatCategory,

View File

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