aboutsummaryrefslogtreecommitdiff
path: root/templates/mara.rs.html
blob: 1786d6f74a142ed7828a18cf541507c7e3cf5d84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@(mood: &str, character: &str, message: Html<String>)
<div class="grid conversation">
    <div class="cell -2of12">
        <div class="content">
            <picture>
                <source srcset="https://cdn.christine.website/file/christine-static/stickers/@character.to_lowercase()/@(mood).webp" height="75%" width="75%" type="image/webp">
                <img src="https://cdn.christine.website/file/christine-static/stickers/@character.to_lowercase()/@(mood).png" height="75%" width="75%" alt="@character is @mood">
            </picture>
        </div>
    </div>
    <div class="cell -10of12">
        <div class="content">
            <p>
                <b>@character</b>
            </p>
            <blockquote>
                @message
            </blockquote>
        </div>
    </div>
</div>