You've already forked AstralRinth
forked from didirus/AstralRinth
Promotion tweaks (#85)
* Modify promotion, Fix #80, Fix #79 * Update Avatar.vue * Version bump
This commit is contained in:
@@ -60,7 +60,7 @@ export default {
|
|||||||
},
|
},
|
||||||
loading: {
|
loading: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'eager',
|
default: 'lazy',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -143,6 +143,7 @@ const toggleDropdown = () => {
|
|||||||
const selectOption = (option, index) => {
|
const selectOption = (option, index) => {
|
||||||
radioValue.value = option
|
radioValue.value = option
|
||||||
emit('change', { option, index })
|
emit('change', { option, index })
|
||||||
|
emit('option-click', { option: selectedOption.value })
|
||||||
dropdownVisible.value = false
|
dropdownVisible.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -197,6 +198,10 @@ onBeforeUnmount(() => {
|
|||||||
border-radius: var(--radius-md) 0 0 0;
|
border-radius: var(--radius-md) 0 0 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
height: 2.25rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.selected {
|
.selected {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<div class="GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-1">
|
<div class="GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-1">
|
||||||
<div class="GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-2">
|
<div class="GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-2">
|
||||||
<a
|
<a
|
||||||
href="https://bisecthosting.com/modrinth"
|
:href="`https://bisecthosting.com/modrinth${queryParam}`"
|
||||||
rel="noopener nofollow sponsored"
|
rel="noopener nofollow sponsored"
|
||||||
:target="target"
|
:target="target"
|
||||||
>
|
>
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<span>
|
<span>
|
||||||
<span> Host your Minecraft server on </span>
|
<span> Host your Minecraft server on </span>
|
||||||
<strong>BisectHosting</strong>
|
<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>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -33,6 +33,10 @@ const props = defineProps({
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true,
|
default: true,
|
||||||
},
|
},
|
||||||
|
queryParam: {
|
||||||
|
type: String,
|
||||||
|
default: '',
|
||||||
|
},
|
||||||
})
|
})
|
||||||
const target = computed(() => (props.external ? '_blank' : '_self'))
|
const target = computed(() => (props.external ? '_blank' : '_self'))
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -21,10 +21,6 @@ export default {
|
|||||||
return []
|
return []
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
type: {
|
|
||||||
type: String,
|
|
||||||
required: true,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
formatCategory,
|
formatCategory,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "omorphia",
|
"name": "omorphia",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.4.37",
|
"version": "0.4.38",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
"lib"
|
"lib"
|
||||||
|
|||||||
Reference in New Issue
Block a user