Add tailwindcss, add first page
Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
This commit is contained in:
parent
db9fa44439
commit
2e98cb39f4
8 changed files with 1265 additions and 8 deletions
18
components/LLink.vue
Normal file
18
components/LLink.vue
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<template>
|
||||
<NuxtLink :to="to" class="bg-gray-50 hover:bg-gray-100 dark:bg-slate-700 dark:hover:bg-slate-600 m-4 py-5 px-10 rounded-3xl shadow-lg hover:shadow-xl">{{ title }} →</NuxtLink>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
defineProps({
|
||||
to: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
title: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
})
|
||||
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue