This commit is contained in:
parent
207cda7883
commit
0d0265ab14
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ pub async fn index_page(
|
||||||
|
|
||||||
let content = html!(
|
let content = html!(
|
||||||
h1 class="text-center text-4xl font-extrabold leading-tight mt-4" { "Random Videos" };
|
h1 class="text-center text-4xl font-extrabold leading-tight mt-4" { "Random Videos" };
|
||||||
div class="grid grid-cols-3 gap-6 p-6" {
|
div class="lg:grid grid-cols-3 gap-6 p-6" {
|
||||||
@for mut vid in library.get_random_videos(3).await {
|
@for mut vid in library.get_random_videos(3).await {
|
||||||
( video_element(&mut vid).await );
|
( video_element(&mut vid).await );
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue