site/templates/mara.rs.html

19 lines
760 B
HTML
Raw Normal View History

@(mood: &str, character: &str, message: Html<String>)
2020-09-27 22:50:18 +00:00
<div class="conversation">
2020-09-28 00:09:48 +00:00
<div class="conversation-picture">
2020-09-27 22:50:18 +00:00
<picture>
2020-09-28 00:09:48 +00:00
<source srcset="https://cdn.christine.website/file/christine-static/stickers/@character.to_lowercase()/@(mood).avif" type="image/avif">
2020-09-27 22:50:18 +00:00
<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>
2020-09-27 22:50:18 +00:00
<div>
<p>
<b>@character</b>
</p>
<blockquote>
@message
</blockquote>
</div>
</div>