Merge branch 'main' of git@github.com:cdransf/coryd.dev.git
This commit is contained in:
commit
63a9372c3a
7 changed files with 36 additions and 42 deletions
|
@ -55,6 +55,7 @@ module.exports = async function () {
|
|||
.map((book) => {
|
||||
book.type = 'book'
|
||||
if (!('dateAdded' in book)) book.dateAdded = new Date()
|
||||
if (!('percentage' in book)) book.percentage = '0%'
|
||||
return book
|
||||
})
|
||||
await asset.save(books, 'json')
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
{% for mention in mentions['in-reply-to'] %}
|
||||
<div class="border-bottom flex flex-row items-center border-gray-100 pb-4 w-full">
|
||||
<div class="group flex flex-row space-between items-center">
|
||||
<a href="{{mention.url}}">
|
||||
<a href={{mention.url}}>
|
||||
<div class="bg-gray-900 dark:bg-white h-14 w-14 border-4 border-white dark:border-gray-200 transition-all ease-in-out duration-300 group-hover:border-blue-800 dark:group-hover:border-blue-200 rounded-full overflow-hidden">
|
||||
<img src="{{ mention.author.photo }}" alt="{{ mention.author.name }}" class="w-full" />
|
||||
{% image mention.author.photo, mention.author.name %}
|
||||
</div>
|
||||
</a>
|
||||
<div class="ml-3">
|
||||
<a class="text-gray-700 dark:text-gray-200" href="{{mention.url}}">
|
||||
<a class="text-gray-700 dark:text-gray-200" href={{mention.url}}>
|
||||
<p class="text-sm group-hover:text-blue-800 dark:group-hover:text-blue-200">{{ mention.content.text }}</p>
|
||||
<p class="mt-1 text-xs group-hover:text-blue-800 dark:group-hover:text-blue-200">{{ mention.published | isoDateOnly }}</p>
|
||||
</a>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<li class="-ml-3 inline">
|
||||
<a href={{mention.url}}>
|
||||
<div class="bg-gray-900 dark:bg-white h-14 w-14 border-4 border-white dark:border-gray-900 transition-all ease-in-out duration-300 hover:border-blue-800 dark:hover:border-blue-200 rounded-full overflow-hidden">
|
||||
<img src="{{ mention.author.photo }}" alt="{{ mention.author.name }}" class="w-full" />
|
||||
{% image mention.author.photo, mention.author.name %}
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
|
|
File diff suppressed because one or more lines are too long
Reference in a new issue