huge speed boost

This commit is contained in:
Tabby 2025-05-02 21:31:24 +10:00
parent 3ab088dd0a
commit dbdca34574
2 changed files with 4 additions and 4 deletions

View file

@ -1,8 +1,8 @@
<template> <template>
<div class="button-box"> <div class="button-box">
<a class="big-button" :href="props.href"> <NuxtLink class="big-button" :to="props.href">
<h2>{{props.text}}</h2> <h2>{{props.text}}</h2>
</a> </NuxtLink >
</div> </div>
</template> </template>

View file

@ -10,7 +10,7 @@ const props = defineProps({
</script> </script>
<template> <template>
<a class="blog-card" :href="props.href"> <NuxtLink class="blog-card" :to="props.href">
<div class="blog-header"> <div class="blog-header">
<h2> {{props.heading}}</h2> <h2> {{props.heading}}</h2>
<p v-if="tags===''" class="blog-subheading">{{props.subheading}} - #{{ props.id }}</p> <p v-if="tags===''" class="blog-subheading">{{props.subheading}} - #{{ props.id }}</p>
@ -21,7 +21,7 @@ const props = defineProps({
<p>{{props.description}}</p> <p>{{props.description}}</p>
</div> </div>
</a> </NuxtLink >
</template> </template>