use web_sys::window; use yew::prelude::*; pub struct FindMe; impl Component for FindMe { type Message = (); type Properties = (); fn create(_ctx: &Context) -> Self { Self } fn view(&self, _ctx: &Context) -> Html { let clipboard = window().expect("meow").navigator().clipboard(); let handle_copy_matrix = { let clipboard = clipboard.clone(); Callback::from(move |_| { let _ = clipboard.write_text(&*"@iouring:hi.stellaris.fyi".to_string()); }) }; let handle_copy_telegram = { let clipboard = clipboard.clone(); Callback::from(move |_| { let _ = clipboard.write_text(&*"@luc1ell3".to_string()); }) }; let handle_copy_discord = { let clipboard = clipboard.clone(); Callback::from(move |_| { let _ = clipboard.write_text(&*"@donotusedisc0rdkthxbye".to_string()); }) }; html! {

{r"follow us"}

{" × "}{r"fediverse"}
{" × "}{r"bluesky"}

{r"write us"}

{"× "}
{"× "}
{"× "}

{r"git gud"}

{" × "}{r"my own!!!"}
{" × "}{r"the gay one"}
{" × "}{r"git of fren"}
{" × "}{r"a mountain what"}

} } }