xesite/templates/mara.rs.html

12 lines
693 B
HTML
Raw Permalink Normal View History

@(mood: &str, character: &str, message: Html<String>)
2020-09-27 22:50:18 +00:00
<div class="conversation">
<div class="conversation-picture conversation-smol">
2020-09-27 22:50:18 +00:00
<picture>
<source srcset="https://cdn.xeiaso.net/file/christine-static/stickers/@character.to_lowercase()/@(mood).avif" type="image/avif">
<source srcset="https://cdn.xeiaso.net/file/christine-static/stickers/@character.to_lowercase()/@(mood).webp" type="image/webp">
<img src="https://cdn.xeiaso.net/file/christine-static/stickers/@character.to_lowercase()/@(mood).png" alt="@character is @mood">
2020-09-27 22:50:18 +00:00
</picture>
</div>
<div class="conversation-chat">&lt;<b>@character</b>&gt; @message</div>
</div>