feat: add personal projects

This commit is contained in:
Marios Antonoudiou
2023-12-06 18:23:15 +02:00
parent 8995162931
commit 01705aede9
3 changed files with 100 additions and 0 deletions

33
components/project.vue Normal file
View File

@@ -0,0 +1,33 @@
<script setup lang="ts">
interface Props {
title: string;
image: string;
url: string;
marketplace?: string;
}
const props = defineProps<Props>();
</script>
<template>
<div class="flex overflow-auto gap-2 flex-col border rounded-lg p-4">
<NuxtImg
placeholder
:src="props.image"
:alt="props.title"
class="block w-16 h-16"
/>
<ULink
class="font-semibold hover:underline hover:underline-offset-4"
:to="props.url"
target="_blank"
>{{ props.title }}</ULink
>
<div class="text-xs text-slate-600">
<slot name="subtitle"></slot>
</div>
<div class="text-sm">
<slot name="description">Lorem ipsum dorcet sit amet</slot>
</div>
</div>
</template>