Files
artsite/app/pages/uses.vue
2024-07-01 23:36:13 +02:00

69 lines
1.8 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<script setup lang="ts">
const description = 'Software I use, gadgets I love, and other things I recommend. Heres a big list of all of my favorite stuff.'
useSeoMeta({
title: 'Things I use',
description
})
const { data: items } = await useAsyncData('uses', () =>
queryContent('/uses').find()
)
const hardware = items.value!.filter(item => item.category === 'hardware')
const software = items.value!.filter(item => item.category === 'software')
const ide = items.value!.filter(item => item.category === 'ide')
const stack = items.value!.filter(item => item.category === 'stack')
</script>
<template>
<main>
<AppTitle
:description="description"
title="Uses"
/>
<div class="mt-12 space-y-24">
<UsesList title="Hardware">
<UsesItem
v-for="(item, id) in hardware"
:key="id"
:item="item"
/>
</UsesList>
<UsesList title="Software">
<UsesItem
v-for="(item, id) in software"
:key="id"
:item="item"
/>
</UsesList>
<ul class="space-y-8">
<UDivider
label="IDE & Font"
size="xs"
/>
<li class="relative">
<NuxtImg
alt="My IntelliJ IDE"
src="/uses/jetbrains.png"
class="mx-auto md:w-4/5"
/>
<p class="mt-2 text-sm italic flex gap-2 justify-center items-center">
My IntelliJ Idea Ultimate IDE
</p>
</li>
<UsesItem
v-for="(item, id) in ide"
:key="id"
:item="item"
/>
</ul>
<UsesList title="Stack">
<UsesItem
v-for="(item, id) in stack"
:key="id"
:item="item"
/>
</UsesList>
</div>
</main>
</template>