You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
445 B
29 lines
445 B
<template>
|
|
<a class="textButton" :href="to"><slot/></a>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: "TextButton",
|
|
props: {
|
|
to: String,
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.textButton{
|
|
background-color: #399d9d;
|
|
padding: 1rem;
|
|
border-radius: .25rem;
|
|
margin: 1rem 0;
|
|
color: #222;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
display: block;
|
|
width: fit-content;
|
|
box-shadow: 4px 4px 8px #2222;
|
|
font-weight: bold;
|
|
}
|
|
</style>
|