mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
refactor the "SEE ALL" button into a component
This commit is contained in:
committed by
Mungai Njoroge
parent
070dc92733
commit
688e7d8282
@@ -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>
|
||||
Reference in New Issue
Block a user