new project cards with modals!
This commit is contained in:
parent
99c911c5d4
commit
d33022ac09
7 changed files with 316 additions and 11 deletions
41
components/SmallButton.vue
Normal file
41
components/SmallButton.vue
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<script setup lang="ts">
|
||||
const props = defineProps({
|
||||
href: String,
|
||||
text: String
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<a class="button" :href="props.href">
|
||||
<p>{{ props.text }}</p>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.button {
|
||||
background-color: #8904aa;
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 5px;
|
||||
border-radius: 5px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
overflow: hidden;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.button:hover{
|
||||
background-color: var(--accent);
|
||||
color: black;
|
||||
}
|
||||
|
||||
p{
|
||||
font-weight: 100;
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue