1
0
Fork 0
forked from alemi/upub

fix(web): link to join page rather than source code

This commit is contained in:
əlemi 2024-06-21 05:19:50 +02:00
parent d2d69f459e
commit c5c03c0848
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 3 additions and 1 deletions

View file

@ -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 {
</div>
<footer>
<div class="sep-top">
<span class="footer" >"\u{26fc} woven under moonlight :: "<a class="clean" href="https://git.alemi.dev/upub.git" target="_blank" >src</a>" :: "<a class="clean" href="mailto:abuse@alemi.dev">contact</a>" :: "<a class="clean" href="/web/dev">dev</a>" :: "<a class="clean" href="javascript:window.scrollTo({top:0, behavior:'smooth'})">top</a></span>
<span class="footer" >"\u{26fc} woven under moonlight :: "<a class="clean" href="https://join.upub.social/" target="_blank" >about</a>" :: "<a class="clean" href=format!("mailto:{CONTACT}")>contact</a>" :: "<a class="clean" href="/web/dev">dev</a>" :: "<a class="clean" href="javascript:window.scrollTo({top:0, behavior:'smooth'})">top</a></span>
</div>
</footer>
}

View file

@ -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 = "μ";