mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-23 08:20:38 +01:00
Import SVG icon & Add dark mode
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<article class="border border-solid border-gray-300 w-full h-auto h-blog p-2 flex flex-col justify-between my-5">
|
||||
<article class="hover:bg-gray-200 dark:hover:bg-dark-800 border-2 border-solid border-black dark:border-white w-full h-auto h-blog p-2 flex flex-col justify-between my-5 duration-300">
|
||||
<div>
|
||||
<p class="text-3xl font-bold text-justify leading-7 mb-3">{{title}}</p>
|
||||
<p class="text-gray-900 text-lg italic text-justify leading-5">{{description}}</p>
|
||||
<p class="dark:text-dark-900 text-gray-900 text-lg italic text-justify leading-5">{{description}}</p>
|
||||
</div>
|
||||
<div class="flex justify-between mt-8">
|
||||
<div>
|
||||
@@ -10,10 +10,8 @@
|
||||
<div>{{reading_time}} min read</div>
|
||||
</div>
|
||||
<div class="self-end flex flex-wrap">
|
||||
<div v-for="tag in tagsSplit" class="ml-2 py-1 px-2 rounded bg-black text-white font-semibold">
|
||||
<nuxt-link :to="'/blog/tags/' + tag.toLowerCase()">
|
||||
#{{tag}}
|
||||
</nuxt-link>
|
||||
<div v-for="tag in tagsSplit" class="ml-2 py-1 px-2 dark:bg-white dark:text-black rounded bg-black text-white font-semibold">
|
||||
#{{tag}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user