feat(web): show upub version in frontend
This commit is contained in:
parent
bd96b7e01a
commit
c51a5bb860
2 changed files with 2 additions and 1 deletions
|
@ -162,7 +162,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://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>
|
||||
<span class="footer" >"\u{26fc} woven under moonlight :: "<a class="clean" href="https://join.upub.social/" target="_blank" >upub+{crate::VERSION}</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>
|
||||
}
|
||||
|
|
|
@ -24,6 +24,7 @@ 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 = "μ";
|
||||
pub const DEFAULT_COLOR: &str = "#BF616A";
|
||||
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
use std::{ops::Deref, sync::Arc};
|
||||
use uriproxy::UriClass;
|
||||
|
|
Loading…
Reference in a new issue