add link that actually says 'Start Reading' on the works page

This commit is contained in:
xenofem 2024-01-25 14:17:24 -05:00
parent b295ee2ad8
commit e5b2e1e7a2
2 changed files with 7 additions and 0 deletions

View file

@ -108,6 +108,12 @@ body {
max-width: 100%; max-width: 100%;
} }
.work-preview .start-link {
text-align: center;
font-weight: bold;
font-size: 24px;
}
.work-info { .work-info {
flex-basis: 40%; flex-basis: 40%;
flex-grow: 1; flex-grow: 1;

View file

@ -6,6 +6,7 @@
<div class="work-preview"> <div class="work-preview">
<a href="view/{{ index() }}"> <a href="view/{{ index() }}">
<img src="{{ root() }}/thumbnails/{{ work['id'] }}.jpg"> <img src="{{ root() }}/thumbnails/{{ work['id'] }}.jpg">
<div class="start-link">Start Reading</div>
</a> </a>
</div> </div>
<div class="work-info"> <div class="work-info">