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/about" view=AboutPage />
<Route path="/web/config" view=move || view! { <ConfigPage setter=set_config /> } /> <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/config/dev" view=DebugPage />
<Route path="/web/actors/:id" view=UserPage /> <Route path="/web/actors/:id" view=UserPage />
@ -168,7 +169,7 @@ pub fn App() -> impl IntoView {
</div> </div>
<footer> <footer>
<div class="sep-top"> <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> </div>
</footer> </footer>
} }

View file

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