MangaDex/resources/views/components/latest-chapter.blade.php

10 lines
379 B
PHP
Raw Permalink Normal View History

2023-09-06 14:37:03 +06:30
@props(['manga', 'chapter'])
<div class="d-flex justify-content-between flex-wrap mb-2">
2023-09-24 22:24:08 +06:30
<a href="{{ route('page.chapter', [$manga, $chapter]) }}"
2023-09-06 14:37:03 +06:30
class="text-decoration-none text-white small bg-secondary rounded-pill px-1">
Chapter {{ $chapter->chapter_no }}
</a>
<span class="small ms-1"> {{ $chapter->created_at->diffForHumans() }} </span>
</div>