Compare commits
5 Commits
1933f0e38c
...
495921bb25
Author | SHA1 | Date |
---|---|---|
adb-sh | 495921bb25 | 2 years ago |
adb-sh | 9520c7ec90 | 2 years ago |
adb-sh | 6226698a77 | 2 years ago |
adb-sh | 00bf979234 | 2 years ago |
adb-sh | 7fe007ad18 | 2 years ago |
@ -0,0 +1,28 @@
|
||||
<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>
|
Binary file not shown.
After Width: | Height: | Size: 1.7 MiB |
Loading…
Reference in New Issue