{move || match object.get() {
Some(Some(o)) => view!{
}.into_view(),
@@ -426,7 +446,7 @@ pub fn InlineActivity(activity: serde_json::Value) -> impl IntoView {
pub fn About() -> impl IntoView {
view! {
-
+
about
μpub
" is a micro social network powered by "ActivityPub
@@ -434,15 +454,40 @@ pub fn About() -> impl IntoView {
}
}
-#[derive(Debug, thiserror::Error)]
-#[error("{0}")]
-struct OmgReqwestErrorIsNotClonable(String);
+#[component]
+pub fn Breadcrumb(
+ #[prop(optional)]
+ back: bool,
+ children: Children,
+) -> impl IntoView {
+ view! {
+
+ }
+}
#[component]
pub fn TimelinePage(name: &'static str, tl: Timeline) -> impl IntoView {
+ let auth = use_context::
>>().expect("missing auth context");
view! {
-
+
+ {name}
+
+ "\u{1f5d8}"
+
+
@@ -461,9 +506,7 @@ pub fn TimelineFeed(tl: Timeline) -> impl IntoView {
match CACHE.get(&id) {
Some(object) => {
view! {
-
-
-
+
}.into_view()
},
@@ -473,7 +516,7 @@ pub fn TimelineFeed(tl: Timeline) -> impl IntoView {
}
}
/ >
-