chore: enhance dark mode on articles
This commit is contained in:
@@ -11,7 +11,7 @@ const props = defineProps<Props>();
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="flex overflow-auto gap-x-5 md:gap-2 items-center md:items-start md:flex-col md:border md:rounded-lg md:p-4 md:dark:border-slate-400"
|
class="flex overflow-auto gap-x-5 md:gap-2 items-center md:items-start md:flex-col md:border md:rounded-lg md:p-4 md:dark:border-slate-600"
|
||||||
>
|
>
|
||||||
<ULink :to="props.url" target="_blank">
|
<ULink :to="props.url" target="_blank">
|
||||||
<NuxtImg
|
<NuxtImg
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="border-b">
|
<div class="border-b dark:border-b-slate-600">
|
||||||
<UContainer class="grid grid-cols-2 items-center gap-3 !py-2" as="nav">
|
<UContainer class="grid grid-cols-2 items-center gap-3 !py-2" as="nav">
|
||||||
<ULink to="/" class="flex gap-3 items-center">
|
<ULink to="/" class="flex gap-3 items-center">
|
||||||
<nuxt-img
|
<nuxt-img
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
src="mariosant.webp"
|
src="mariosant.webp"
|
||||||
class="w-10 h-10 rounded-full border dark:border-gray-800 dark:bg-slate-300 block"
|
class="w-10 h-10 rounded-full border dark:border-gray-800 dark:bg-slate-300 block"
|
||||||
/>
|
/>
|
||||||
<div class="text-slate-800 font-bold">Marios Antonoudiou</div>
|
<div class="font-bold">Marios Antonoudiou</div>
|
||||||
</ULink>
|
</ULink>
|
||||||
<div class="flex gap-3 items-center justify-end"></div>
|
<div class="flex gap-3 items-center justify-end"></div>
|
||||||
</UContainer>
|
</UContainer>
|
||||||
|
|||||||
@@ -10,7 +10,10 @@ const { path } = useRoute();
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ContentDoc :path="path" v-slot="{ doc }">
|
<ContentDoc :path="path" v-slot="{ doc }">
|
||||||
<UContainer class="flex flex-col gap-3 prose" as="article">
|
<UContainer
|
||||||
|
class="flex flex-col gap-3 prose dark:prose-invert"
|
||||||
|
as="article"
|
||||||
|
>
|
||||||
<div class="text-sm text-slate-500">
|
<div class="text-sm text-slate-500">
|
||||||
Published at {{ formatDate(new Date(doc.date), "Do of MMMM YYYY") }}
|
Published at {{ formatDate(new Date(doc.date), "Do of MMMM YYYY") }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ definePageMeta({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<UContainer class="flex flex-col gap-3 prose">
|
<UContainer class="flex flex-col gap-3 prose dark:prose-invert">
|
||||||
<h1>Articles</h1>
|
<h1>Articles</h1>
|
||||||
</UContainer>
|
</UContainer>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user