feat: add dark mode

This commit is contained in:
Marios Antonoudiou
2023-12-04 16:59:42 +02:00
parent 88f430b5f1
commit 419802607d
7 changed files with 12 additions and 5 deletions

View File

@@ -8,6 +8,12 @@ useSeoMeta({
"An experienced software engineer. Enabling teams and crafting user interfaces at Celonis", "An experienced software engineer. Enabling teams and crafting user interfaces at Celonis",
twitterCard: "summary_large_image", twitterCard: "summary_large_image",
}); });
useHead({
bodyAttrs: {
class: "dark:bg-slate-900",
},
});
</script> </script>
<template> <template>
<Introduction /> <Introduction />

View File

@@ -8,7 +8,7 @@
</template> </template>
</Company> </Company>
<Company logo="chat-engineers-logo.webp" href="https://chatengineers.com"> <Company logo="chat-engineers-logo.png" href="https://chatengineers.com">
<template v-slot:title>Chat Engineers</template> <template v-slot:title>Chat Engineers</template>
<template v-slot:description> <template v-slot:description>
Apps and customization for the Livechat platform Apps and customization for the Livechat platform

View File

@@ -14,6 +14,7 @@ const props = defineProps<Props>();
placeholder placeholder
:src="props.logo" :src="props.logo"
class="block rounded min-w-[50px]" class="block rounded min-w-[50px]"
format="webp"
height="50" height="50"
width="50" width="50"
fit="outside" fit="outside"
@@ -23,7 +24,7 @@ const props = defineProps<Props>();
<NuxtLink <NuxtLink
:href="props.href" :href="props.href"
target="_blank" target="_blank"
class="text-xl font-semibold hover:underline hover:underline-offset-4" class="md:text-xl text-lg font-semibold hover:underline hover:underline-offset-4"
> >
<slot name="title">Company</slot> <slot name="title">Company</slot>
</NuxtLink> </NuxtLink>

View File

@@ -5,11 +5,11 @@
src="mariosant.webp" src="mariosant.webp"
width="64" width="64"
height="64" height="64"
class="w-16 h-16 rounded-full border" class="w-16 h-16 rounded-full border dark:border-gray-800 dark:bg-slate-300"
/> />
<div class="md:text-xl text-lg font-semibold"> <div class="md:text-xl text-lg font-semibold">
<ULink <ULink
class="text-blue-500 hover:underline hover:underline-offset-4" class="text-blue-500 dark:text-blue-300 hover:underline hover:underline-offset-4"
to="mailto:mariosant@sent.com" to="mailto:mariosant@sent.com"
>Marios Antonoudiou</ULink >Marios Antonoudiou</ULink
>, an experienced software engineer.<br /> >, an experienced software engineer.<br />
@@ -17,7 +17,7 @@
<ULink <ULink
to="https://celonis.com" to="https://celonis.com"
target="_blank" target="_blank"
class="text-green-500 hover:underline hover:underline-offset-4" class="text-green-500 dark:text-green-300 hover:underline hover:underline-offset-4"
>Celonis</ULink >Celonis</ULink
>. >.
</div> </div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB