1
0
Fork 0
forked from alemi/upub

fix(web): move devtools link in footer

This commit is contained in:
əlemi 2024-06-10 05:24:49 +02:00
parent 116d5f3f8c
commit e7acc420f1
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 3 additions and 2 deletions

View file

@ -147,6 +147,7 @@ pub fn App() -> impl IntoView {
<Route path="/web/about" view=AboutPage />
<Route path="/web/config" view=move || view! { <ConfigPage setter=set_config /> } />
<Route path="/web/dev" view=DebugPage />
<Route path="/web/config/dev" view=DebugPage />
<Route path="/web/actors/:id" view=UserPage />
@ -168,7 +169,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="javascript:window.scrollTo({top:0, behavior:'smooth'})">top</a></span>
<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>
</div>
</footer>
}

View file

@ -40,7 +40,7 @@ pub fn DebugPage() -> impl IntoView {
view! {
<div>
<Breadcrumb back=true>config :: devtools</Breadcrumb>
<Breadcrumb back=true>devtools</Breadcrumb>
<div class="mt-1" >
<form on:submit=move|ev| {
ev.prevent_default();