This commit is contained in:
Marios Antonoudiou
2023-12-04 11:30:24 +02:00
commit 88f430b5f1
21 changed files with 12722 additions and 0 deletions

37
components/company.vue Normal file
View File

@@ -0,0 +1,37 @@
<script setup lang="ts">
interface Props {
logo: string;
href?: string;
}
const props = defineProps<Props>();
</script>
<template>
<div class="flex gap-5">
<NuxtLink :to="props.href" target="_blank" class="block">
<NuxtImg
placeholder
:src="props.logo"
class="block rounded min-w-[50px]"
height="50"
width="50"
fit="outside"
/>
</NuxtLink>
<div class="flex flex-col justify-center">
<NuxtLink
:href="props.href"
target="_blank"
class="text-xl font-semibold hover:underline hover:underline-offset-4"
>
<slot name="title">Company</slot>
</NuxtLink>
<div class="text-sm text-gray-500">
<slot name="description">
Lorem ipsum, dolor sit amet consectetur adipisicing elit.
</slot>
</div>
</div>
</div>
</template>