site/templates/mara.rs.html

18 lines
611 B
HTML

@(mood: &str, character: &str, message: Html<String>)
<div class="conversation">
<div class="conversation-picture"
<picture>
<source srcset="https://cdn.christine.website/file/christine-static/stickers/@character.to_lowercase()/@(mood).webp" type="image/webp">
<img src="https://cdn.christine.website/file/christine-static/stickers/@character.to_lowercase()/@(mood).png" alt="@character is @mood">
</picture>
</div>
<div>
<p>
<b>@character</b>
</p>
<blockquote>
@message
</blockquote>
</div>
</div>