diff options
| author | Xe Iaso <me@xeiaso.net> | 2023-07-16 17:22:44 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2023-07-16 17:22:44 -0400 |
| commit | cab6efd92701f53dd41c5dbdf4d14651d78ad8d6 (patch) | |
| tree | 40455d2ec4632bc10fb781fbcdfad6753f97cee9 /lib/xesite_templates | |
| parent | 2b7d1f0f864fbdca242ce5714c7977de495bed03 (diff) | |
| download | xesite-xedium.tar.xz xesite-xedium.zip | |
xedium groundworkxedium
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lib/xesite_templates')
| -rw-r--r-- | lib/xesite_templates/Cargo.toml | 5 | ||||
| -rw-r--r-- | lib/xesite_templates/src/lib.rs | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/lib/xesite_templates/Cargo.toml b/lib/xesite_templates/Cargo.toml index dbfa1d3..eb7ba11 100644 --- a/lib/xesite_templates/Cargo.toml +++ b/lib/xesite_templates/Cargo.toml @@ -12,6 +12,7 @@ uuid = { version = "1", features = [ "v4" ] } xesite_types = { path = "../xesite_types" } [dependencies.maud] -git = "https://github.com/Xe/maud" -rev = "a40596c42c7603cc4610bbeddea04c4bd8b312d9" +version = "0.25" +#git = "https://github.com/Xe/maud" +#rev = "a40596c42c7603cc4610bbeddea04c4bd8b312d9" features = ["axum"] diff --git a/lib/xesite_templates/src/lib.rs b/lib/xesite_templates/src/lib.rs index f5219d9..e097136 100644 --- a/lib/xesite_templates/src/lib.rs +++ b/lib/xesite_templates/src/lib.rs @@ -60,15 +60,15 @@ pub fn conv(name: String, mood: String, body: Markup) -> Markup { let name = name.replace("_", " "); html! { - .conversation { - ."conversation-standalone" { + ."conversation my-4 flex space-x-4 rounded-md border border-solid border-gray-200 bg-gray-100 p-3 dark:border-gray-700 dark:bg-gray-800" { + ."conversation-standalone flex h-16 w-16 shrink-0 items-center justify-center self-center overflow-hidden rounded-lg bg-gray-200 dark:bg-gray-700" { picture { source type="image/avif" srcset={"https://cdn.xeiaso.net/file/christine-static/stickers/" (name_lower) "/" (mood) ".avif"}; source type="image/webp" srcset={"https://cdn.xeiaso.net/file/christine-static/stickers/" (name_lower) "/" (mood) ".webp"}; img style="max-height:4.5rem" alt={(name) " is " (mood)} loading="lazy" src={"https://cdn.xeiaso.net/file/christine-static/stickers/" (name_lower) "/" (mood) ".png"}; } } - ."conversation-chat" { + ."conversation-chat min-w-0 self-center" { "<" a href={"/characters#" (name_lower)} { b { (name) } } "> " |
