diff --git a/web/src/app.rs b/web/src/app.rs index 3778a3c9..b9c7a071 100644 --- a/web/src/app.rs +++ b/web/src/app.rs @@ -1,6 +1,7 @@ use leptos::*; use leptos_router::*; use crate::prelude::*; +use crate::CONTACT; use leptos_use::{signal_debounced, storage::use_local_storage, use_cookie, use_element_size, use_window_scroll, utils::{FromToStringCodec, JsonCodec}, UseElementSizeReturn}; @@ -150,7 +151,7 @@ pub fn App() -> impl IntoView { } diff --git a/web/src/lib.rs b/web/src/lib.rs index cde0b8d6..1c92ad37 100644 --- a/web/src/lib.rs +++ b/web/src/lib.rs @@ -17,6 +17,7 @@ pub mod prelude; pub const URL_BASE: &str = "https://dev.upub.social"; pub const URL_PREFIX: &str = "/web"; +pub const CONTACT: &str = "abuse@alemi.dev"; pub const URL_SENSITIVE: &str = "https://cdn.alemi.dev/social/nsfw.png"; pub const DEFAULT_AVATAR_URL: &str = "https://cdn.alemi.dev/social/gradient.png"; pub const NAME: &str = "μ";