@@ -23,23 +23,22 @@ const { data: page } = await useAsyncData(route.path, () => {
2323 </h1 >
2424 </div >
2525
26- <h1 class =" font-bold text-gray-400" >
27- <NuxtTime
28- :datetime =" page.date"
29- year =" numeric"
30- month =" short"
31- day =" 2-digit"
32- />
33- </h1 >
34-
3526 <!-- Meta -->
36- <div class =" hidden md:block" >
37- <div class =" flex space-x-2" >
27+ <div class =" " >
28+ <div class =" flex-row space-x-0 md:flex md:space-x-2" >
29+ <NuxtTime
30+ class =" text-xs uppercase text-gray-400"
31+ :datetime =" page.date"
32+ year =" numeric"
33+ month =" short"
34+ day =" 2-digit"
35+ />
36+
3837 <div >
39- <div class =" mb-2 text-xs uppercase text-gray-400 " >Category</ div >
40- <div class =" flex flex-row space-x-2 " >
38+ <div class =" flex flex-row space-x-2 uppercase " >
39+ <div class =" text-xs uppercase text-gray-400 " >Categories</ div >
4140 <NuxtLink
42- class =" mr-2 w-min rounded-md bg-background text-xs font-bold uppercase hover:cursor-pointer hover:text-orange-500"
41+ class =" w-min rounded-md bg-background text-xs font-bold uppercase hover:cursor-pointer hover:text-orange-500"
4342 v-for =" (category, ix) in page.categories"
4443 :key =" ix"
4544 :to =" `/blog?category=${category}`"
@@ -49,13 +48,11 @@ const { data: page } = await useAsyncData(route.path, () => {
4948 </div >
5049 </div >
5150
52- <div class =" border-r border-gray-400" ></div >
53-
5451 <div >
55- <div class =" mb- 2 text-xs uppercase text-gray-400 " >Tags</ div >
56- <div class =" flex flex-row text-xs uppercase" >
52+ <div class =" flex flex-row space-x- 2 text-xs uppercase" >
53+ <div class =" text-xs uppercase text-gray-400 " >Tags</ div >
5754 <NuxtLink
58- class =" mr-2 w-min rounded-md bg-background font-bold hover:cursor-pointer hover:text-orange-500"
55+ class =" w-min rounded-md bg-background font-bold hover:cursor-pointer hover:text-orange-500"
5956 v-for =" (tag, ix) in page.tags"
6057 :key =" ix"
6158 :to =" `/blog?tag=${tag}`"
@@ -72,7 +69,7 @@ const { data: page } = await useAsyncData(route.path, () => {
7269 - Use prose-pre:bg-white to work with @nuxt/content syntax highlighting, otherwise background-color defaults to `.prose:where(pre)`
7370 -->
7471 <article
75- class =" prose max-w-[1024px] text-gray-300 prose-h2:mt-8 prose-p:text-justify prose- a:font-bold prose-a:text-orange-500 prose-a:no-underline hover:prose-a:text-orange-500 prose-blockquote:text-gray-400 prose-code:text-white prose-pre:bg-black prose-li:my-0"
72+ class =" prose max-w-[1024px] text-gray-300 prose-h2:mt-8 prose-a:font-bold prose-a:text-orange-300 prose-a:no-underline hover:prose-a:text-orange-500 prose-blockquote:text-gray-400 prose-code:text-white prose-pre:bg-orange-950/50 prose-li:my-0"
7673 >
7774 <ContentRenderer v-if =" page" :value =" page" />
7875 </article >
0 commit comments