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: {
|
||||
type: String,
|
||||
default: 'eager',
|
||||
default: 'lazy',
|
||||
},
|
||||
},
|
||||
data() {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -21,10 +21,6 @@ export default {
|
||||
return []
|
||||
},
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
formatCategory,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "omorphia",
|
||||
"type": "module",
|
||||
"version": "0.4.37",
|
||||
"version": "0.4.38",
|
||||
"files": [
|
||||
"dist",
|
||||
"lib"
|
||||
|
||||
Reference in New Issue
Block a user