diff --git a/src/components/astro/PostCard.astro b/src/components/astro/PostCard.astro index 25eb749..0ef4a5f 100644 --- a/src/components/astro/PostCard.astro +++ b/src/components/astro/PostCard.astro @@ -21,12 +21,15 @@ const { post } = Astro.props height={150} width={300} class="h-[300px] w-full rounded-lg bg-slate-400 object-cover dark:bg-slate-600" - transition:name="blog-image" + transition:name={`blog-image-${post.slug}`} />
-

+

{post.data.title}

diff --git a/src/components/vue/TechStackCard.vue b/src/components/vue/TechStackCard.vue index 35a9132..e0dc09f 100644 --- a/src/components/vue/TechStackCard.vue +++ b/src/components/vue/TechStackCard.vue @@ -31,9 +31,9 @@ defineProps<{ readonly :cancel="false" :stars="10" - class="flex justify-center gap-0" :pt="{ onicon: '!text-yellow-500', + root: '!gap-0', }" :pt-options="{ mergeProps: true, @@ -53,9 +53,9 @@ defineProps<{ readonly :cancel="false" :stars="10" - class="flex justify-center gap-0" :pt="{ onicon: '!text-yellow-500', + root: '!gap-0', }" :pt-options="{ mergeProps: true, diff --git a/src/components/vue/TechStackList.vue b/src/components/vue/TechStackList.vue index 2912669..6669718 100644 --- a/src/components/vue/TechStackList.vue +++ b/src/components/vue/TechStackList.vue @@ -18,13 +18,17 @@ const types = Array.from( const selected = ref(null) const technologyList = computed(() => { - if (selected.value === null) { - return props.technologies + let filteredTech = props.technologies + + if (selected.value !== null) { + filteredTech = filteredTech.filter((technology) => + technology.data.type.includes(selected.value as string), + ) } - return props.technologies.filter((technology) => - technology.data.type.includes(selected.value as string), - ) + return filteredTech + .toSorted((a, b) => b.data.skill - a.data.skill) + .toSorted((a, b) => b.data.interest - a.data.interest) }) diff --git a/src/content/technologies/laravel.json b/src/content/technologies/laravel.json index a105ba2..e658b2d 100644 --- a/src/content/technologies/laravel.json +++ b/src/content/technologies/laravel.json @@ -3,7 +3,7 @@ "name": "Laravel", "type": ["Framework", "Web", "Backend"], "logo": "/logos/laravel.svg", - "skill": 9, + "skill": 10, "interest": 10, "opinion": "In terms of building backends and server-rendered web apps, Laravel is my favorite framework to use. It's the first web framework I learned and it's the reason I love developing full-stack applications, especially now that Laravel has a very good ecosystem and libraries that really makes my life easy." } diff --git a/src/content/technologies/vue.json b/src/content/technologies/vue.json index 285f615..e675be9 100644 --- a/src/content/technologies/vue.json +++ b/src/content/technologies/vue.json @@ -3,7 +3,7 @@ "name": "Vue.js", "type": ["Framework", "Web", "Frontend"], "logo": "/logos/vue.svg", - "skill": 9, + "skill": 10, "interest": 10, "opinion": "I think Vue is the UI framework that makes the most sense to me. Especially the Composition API and the `