refactor the "SEE ALL" button into a component

This commit is contained in:
geoffrey45
2023-01-02 15:29:40 +03:00
committed by Mungai Njoroge
parent 070dc92733
commit 688e7d8282
14 changed files with 84 additions and 101 deletions
+23
View File
@@ -0,0 +1,23 @@
<template>
<span class="see-all">
<RouterLink :to="route"> SEE ALL </RouterLink>
</span>
</template>
<script setup lang="ts">
defineProps<{
route: string;
}>();
</script>
<style lang="scss">
.see-all {
font-size: $medium;
opacity: 0.75;
a:hover {
cursor: pointer !important;
text-decoration: underline;
}
}
</style>