mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-29 16:57:50 +01:00
Add unlighthouse
This commit is contained in:
@@ -29,7 +29,7 @@ const socials = [
|
|||||||
</div>
|
</div>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<div class="flex flex-col md:flex-row gap-2 md:items-center">
|
<div class="flex flex-col md:flex-row gap-2 md:items-center">
|
||||||
<h3>Find me on:</h3>
|
<h1>Find me on:</h1>
|
||||||
<div class="flex gap-4">
|
<div class="flex gap-4">
|
||||||
<HomeLink
|
<HomeLink
|
||||||
v-for="social in socials"
|
v-for="social in socials"
|
||||||
@@ -42,7 +42,7 @@ const socials = [
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col md:flex-row gap-2 md:items-center">
|
<div class="flex flex-col md:flex-row gap-2 md:items-center">
|
||||||
<h4>Or send me an email:</h4>
|
<h1>Or send me an email:</h1>
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<HomeLink
|
<HomeLink
|
||||||
blanked
|
blanked
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ defineShortcuts({
|
|||||||
:icon="nav.icon"
|
:icon="nav.icon"
|
||||||
:target="nav.target ? nav.target : '_self'"
|
:target="nav.target ? nav.target : '_self'"
|
||||||
:to="nav.to"
|
:to="nav.to"
|
||||||
|
:aria-label="nav.label"
|
||||||
color="white"
|
color="white"
|
||||||
size="sm"
|
size="sm"
|
||||||
label=""
|
label=""
|
||||||
@@ -88,6 +89,7 @@ defineShortcuts({
|
|||||||
<UButton
|
<UButton
|
||||||
:icon="isDark ? 'i-ph-moon-duotone' : 'i-ph-sun-duotone'"
|
:icon="isDark ? 'i-ph-moon-duotone' : 'i-ph-sun-duotone'"
|
||||||
color="white"
|
color="white"
|
||||||
|
aria-label="switch theme"
|
||||||
size="sm"
|
size="sm"
|
||||||
variant="solid"
|
variant="solid"
|
||||||
@click="toggleTheme()"
|
@click="toggleTheme()"
|
||||||
|
|||||||
@@ -20,28 +20,20 @@ const ide = items.value!.filter(item => item.category === 'ide')
|
|||||||
title="Uses"
|
title="Uses"
|
||||||
/>
|
/>
|
||||||
<div class="mt-12 space-y-24">
|
<div class="mt-12 space-y-24">
|
||||||
<ul class="space-y-8">
|
<UsesList title="Hardware">
|
||||||
<UDivider
|
|
||||||
label="Hardware"
|
|
||||||
size="xs"
|
|
||||||
/>
|
|
||||||
<UsesItem
|
<UsesItem
|
||||||
v-for="(item, id) in hardware"
|
v-for="(item, id) in hardware"
|
||||||
:key="id"
|
:key="id"
|
||||||
:item="item"
|
:item="item"
|
||||||
/>
|
/>
|
||||||
</ul>
|
</UsesList>
|
||||||
<ul class="space-y-8">
|
<UsesList title="Software">
|
||||||
<UDivider
|
|
||||||
label="Software"
|
|
||||||
size="xs"
|
|
||||||
/>
|
|
||||||
<UsesItem
|
<UsesItem
|
||||||
v-for="(item, id) in software"
|
v-for="(item, id) in software"
|
||||||
:key="id"
|
:key="id"
|
||||||
:item="item"
|
:item="item"
|
||||||
/>
|
/>
|
||||||
</ul>
|
</UsesList>
|
||||||
<ul class="space-y-8">
|
<ul class="space-y-8">
|
||||||
<UDivider
|
<UDivider
|
||||||
label="IDE & Font"
|
label="IDE & Font"
|
||||||
|
|||||||
@@ -98,16 +98,16 @@ async function handleLike() {
|
|||||||
/>
|
/>
|
||||||
<div class="space-y-8">
|
<div class="space-y-8">
|
||||||
<p>
|
<p>
|
||||||
Thanks for reading this post! If you liked it, please consider sharing it with your friends. <strong>Don't
|
Thanks for reading this post! If you liked it, please consider sharing it with your friends.
|
||||||
forget to leave a like!</strong>
|
<strong>Don't forget to leave a like!</strong>
|
||||||
</p>
|
</p>
|
||||||
<div class="flex gap-4 items-center flex-wrap">
|
<div class="flex gap-4 items-center flex-wrap">
|
||||||
<UButton
|
<UButton
|
||||||
:label="postDB?.likes > 1 ? `${postDB?.likes} likes` : `${postDB?.likes} like`"
|
:label="postDB?.likes > 1 ? `${postDB?.likes} likes` : `${postDB?.likes} like`"
|
||||||
color="red"
|
color="white"
|
||||||
icon="i-ph-heart-duotone"
|
icon="i-ph-heart-duotone"
|
||||||
size="lg"
|
size="lg"
|
||||||
variant="outline"
|
variant="solid"
|
||||||
@click.prevent="handleLike()"
|
@click.prevent="handleLike()"
|
||||||
/>
|
/>
|
||||||
<UButton
|
<UButton
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
"@nuxthq/studio": "^2.0.3",
|
"@nuxthq/studio": "^2.0.3",
|
||||||
"@nuxthub/core": "^0.7.0",
|
"@nuxthub/core": "^0.7.0",
|
||||||
"@nuxtjs/google-fonts": "^3.2.0",
|
"@nuxtjs/google-fonts": "^3.2.0",
|
||||||
|
"@nuxtjs/seo": "2.0.0-rc.11",
|
||||||
"drizzle-orm": "^0.31.2",
|
"drizzle-orm": "^0.31.2",
|
||||||
"h3-zod": "^0.5.3",
|
"h3-zod": "^0.5.3",
|
||||||
"nuxt": "^3.12.2",
|
"nuxt": "^3.12.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user