mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-22 17:51:08 +00:00
Improve search results design
This commit is contained in:
parent
5482f8758e
commit
db5f75a0b8
1 changed files with 3 additions and 3 deletions
|
@ -52,7 +52,7 @@ pub fn Search() -> impl IntoView {
|
||||||
});
|
});
|
||||||
|
|
||||||
view! {
|
view! {
|
||||||
<h1>"Search results for " {query}</h1>
|
<h1 class="text-4xl font-bold font-serif my-6 grow flex-auto">"Search results for " {query}</h1>
|
||||||
<Suspense fallback=|| {
|
<Suspense fallback=|| {
|
||||||
view! { "Loading..." }
|
view! { "Loading..." }
|
||||||
}>
|
}>
|
||||||
|
@ -87,7 +87,7 @@ pub fn Search() -> impl IntoView {
|
||||||
vec![
|
vec![
|
||||||
view! {
|
view! {
|
||||||
<li>
|
<li>
|
||||||
<a href=format!("/instance/{domain}")>{domain}</a>
|
<a class="link text-lg" href=format!("/instance/{domain}")>{domain}</a>
|
||||||
</li>
|
</li>
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
@ -100,7 +100,7 @@ pub fn Search() -> impl IntoView {
|
||||||
.map(|a| {
|
.map(|a| {
|
||||||
view! {
|
view! {
|
||||||
<li>
|
<li>
|
||||||
<a href=article_link(a)>{article_title(a)}</a>
|
<a class="link text-lg" href=article_link(a)>{article_title(a)}</a>
|
||||||
</li>
|
</li>
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue