@@ -37,36 +37,45 @@ defineOgImageComponent('Default')
3737 <!-- Animated title -->
3838 <h1
3939 dir =" ltr"
40- class =" grid grid-cols-[auto_auto] items -center header-logo flex-gap1 font-mono text-5xl sm:text-7xl md:text-8xl font-medium tracking-tight mb-4 motion-safe:animate-fade-in motion-safe:animate-fill-both"
40+ class =" flex items-center justify -center gap-2 header-logo font-mono text-5xl sm:text-7xl md:text-8xl font-medium tracking-tight mb-4 motion-safe:animate-fade-in motion-safe:animate-fill-both"
4141 >
42- <img :alt =" $t('alt_logo')" src =" /favicon.svg" width =" 96" height =" 96" class =" mt-6" />
43- <span class =" block" >
44- <span >npmx</span >
45- <span class =" text-xs font-mono flex items-center justify-end flex-gap1" >
46- <NuxtLink
47- v-if =" buildInfo.env === 'release'"
48- external
49- :href =" `1https://github.com/npmx-dev/npmx.dev/tag/v${buildInfo.version}`"
50- target =" _blank"
51- >
52- v{{ buildInfo.version }}
53- </NuxtLink >
54- <span v-else >{{ buildInfo.env }}</span >
55- <template v-if =" buildInfo .commit && buildInfo .branch !== ' release' " >
56- · ;
57- <NuxtLink
58- external
59- :href =" `https://github.com/npmx-dev/npmx.dev/commit/${buildInfo.commit}`"
60- target =" _blank"
61- class =" text-balance"
62- >
63- {{ buildInfo.shortCommit }}
64- </NuxtLink >
65- </template >
66- </span >
67- </span >
42+ <img
43+ :alt =" $t('alt_logo')"
44+ src =" /logo.svg"
45+ class =" w-12 h-12 sm:w-20 sm:h-20 md:w-24 md:h-24 rounded-2xl sm:rounded-3xl"
46+ />
47+ <span class =" pb-4" >npmx</span >
6848 </h1 >
6949
50+ <!-- Build info badge (moved below title) -->
51+ <div
52+ class =" mb-8 font-mono text-xs text-fg-muted flex items-center justify-center gap-2 motion-safe:animate-fade-in motion-safe:animate-fill-both"
53+ style =" animation-delay : 0.05s "
54+ >
55+ <NuxtLink
56+ v-if =" buildInfo.env === 'release'"
57+ external
58+ :href =" `https://github.com/npmx-dev/npmx.dev/tag/v${buildInfo.version}`"
59+ target =" _blank"
60+ class =" hover:text-fg transition-colors"
61+ >
62+ v{{ buildInfo.version }}
63+ </NuxtLink >
64+ <span v-else class =" uppercase tracking-wider" >{{ buildInfo.env }}</span >
65+
66+ <template v-if =" buildInfo .commit && buildInfo .branch !== ' release' " >
67+ <span >· ; </span >
68+ <NuxtLink
69+ external
70+ :href =" `https://github.com/npmx-dev/npmx.dev/commit/${buildInfo.commit}`"
71+ target =" _blank"
72+ class =" hover:text-fg transition-colors"
73+ >
74+ {{ buildInfo.shortCommit }}
75+ </NuxtLink >
76+ </template >
77+ </div >
78+
7079 <p
7180 class =" text-fg-muted text-lg sm:text-xl max-w-md mb-12 motion-safe:animate-slide-up motion-safe:animate-fill-both"
7281 style =" animation-delay : 0.1s "
0 commit comments