forked from cadey/xesite
12 lines
693 B
HTML
12 lines
693 B
HTML
@(mood: &str, character: &str, message: Html<String>)
|
|
<div class="conversation">
|
|
<div class="conversation-picture conversation-smol">
|
|
<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">
|
|
</picture>
|
|
</div>
|
|
<div class="conversation-chat"><<b>@character</b>> @message</div>
|
|
</div>
|