update
This commit is contained in:
@@ -19,15 +19,15 @@ withDefaults(defineProps<Props>(), {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<header class="py-12">
|
||||
<div class="text-center mb-8">
|
||||
<div class="flex items-center justify-center gap-3 mb-6">
|
||||
<header class="py-12 w-full">
|
||||
<div class="grid items-center text-center mb-8 w-full px-4">
|
||||
<div class="flex flex-wrap items-center justify-center gap-3 mb-6">
|
||||
<div
|
||||
class="flex items-center text-sm font-bold text-violet-600 dark:text-violet-400 bg-violet-500/10 px-3 py-1 rounded-full border border-violet-500/20">
|
||||
class="flex items-center text-sm font-bold text-violet-600 dark:text-violet-400 bg-violet-500/10 px-3 py-1 rounded-full border border-violet-500/20 shrink-0">
|
||||
<Icon name="mdi:calendar" class="mr-2 w-4 h-4" />
|
||||
{{ date }}
|
||||
</div>
|
||||
<div class="flex items-center gap-2 flex-wrap">
|
||||
<div class="flex items-center justify-center gap-2 flex-wrap">
|
||||
<template v-for="tag in tags" :key="tag">
|
||||
<NuxtLink :to="`/tags/${tag.toLocaleLowerCase()}`">
|
||||
<span
|
||||
@@ -49,7 +49,7 @@ withDefaults(defineProps<Props>(), {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="relative group max-w-4xl mx-auto mb-12 w-full">
|
||||
<div class="relative group w-full mb-12 px-4">
|
||||
<div
|
||||
class="absolute inset-0 bg-linear-to-tr from-violet-500/20 to-fuchsia-500/20 rounded-3xl blur-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-700"></div>
|
||||
<NuxtImg
|
||||
|
||||
@@ -35,7 +35,7 @@ watch(
|
||||
<NuxtLink
|
||||
to="/"
|
||||
class="flex items-center gap-2 h-10 px-4 rounded-full bg-white/80 dark:bg-slate-900/80 border border-zinc-200/50 dark:border-white/10 shadow-sm backdrop-blur-xl transition-transform active:scale-95">
|
||||
<Icon name="fa-solid:cat" size="18" class="text-primary flex items-center" />
|
||||
<!-- <Icon name="fa-solid:cat" size="18" class="text-primary flex items-center" /> -->
|
||||
<span class="text-base font-bold text-primary">{{ siteConfig.siteMeta.title }}</span>
|
||||
</NuxtLink>
|
||||
|
||||
@@ -74,7 +74,7 @@ watch(
|
||||
'hover:bg-zinc-100 dark:hover:bg-white/10': !isActive('/'),
|
||||
}">
|
||||
<NuxtLink to="/" class="flex h-12 duration-200 items-center gap-2 px-4 text-lg">
|
||||
<Icon name="fa-solid:cat" size="20" class="flex items-center text-primary" />
|
||||
<!-- <Icon name="fa-solid:cat" size="20" class="flex items-center text-primary" /> -->
|
||||
<span class="font-bold text-primary">{{ siteConfig.siteMeta.title }}</span>
|
||||
</NuxtLink>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user