diff --git a/web/src/components/activity.rs b/web/src/components/activity.rs index bdfc079..8821c71 100644 --- a/web/src/components/activity.rs +++ b/web/src/components/activity.rs @@ -20,13 +20,12 @@ pub fn ActivityLine(activity: serde_json::Value) -> impl IntoView { {username}@{domain} - {kind.as_ref().to_string()} - - - - - - + + + {kind.as_ref().to_string()} + + + } diff --git a/web/src/components/mod.rs b/web/src/components/mod.rs index a8289cf..2d771ac 100644 --- a/web/src/components/mod.rs +++ b/web/src/components/mod.rs @@ -26,7 +26,7 @@ pub fn DateTime(t: Option>) -> impl IntoView { } else if delta.num_days() < 90 { format!("{}d ago", delta.num_days()) } else { - t.format("%Y/%m/%d %H:%M:%S").to_string() + t.format("%d/%m/%Y").to_string() }; let rfc = t.to_rfc2822(); Some(view! { @@ -37,7 +37,7 @@ pub fn DateTime(t: Option>) -> impl IntoView { } } -pub const PRIVACY_PUBLIC : &str = "đŸ’ŋ"; +pub const PRIVACY_PUBLIC : &str = "đŸĒŠ"; pub const PRIVACY_FOLLOWERS : &str = "🔒"; pub const PRIVACY_PRIVATE : &str = "📨"; @@ -52,6 +52,6 @@ pub fn PrivacyMarker(addressed: Vec) -> impl IntoView { }; let audience = format!("[ {} ]", addressed.join(", ")); view! { - {privacy} + {privacy} } } diff --git a/web/src/components/object.rs b/web/src/components/object.rs index 63c6ddf..c35986a 100644 --- a/web/src/components/object.rs +++ b/web/src/components/object.rs @@ -22,13 +22,13 @@ pub fn Object(object: serde_json::Value) -> impl IntoView { {object.in_reply_to().id().map(|reply| view! { - reply + reply })} - + + - "↗" - + "↗"