diff --git a/lib/kobrakai_web/views/page_html/home.html.heex b/lib/kobrakai_web/views/page_html/home.html.heex index d695033..63ecdaa 100644 --- a/lib/kobrakai_web/views/page_html/home.html.heex +++ b/lib/kobrakai_web/views/page_html/home.html.heex @@ -17,10 +17,12 @@
Enum.drop(Enum.count(@videos))} + :for={index <- Enum.drop(0..3//1, Enum.count(@videos))} class={[ - if(i == -3, do: "hidden sm:block"), - if(i in [-2, -1], do: "hidden lg:block") + "opacity-0", + "animate-in-small animation-fill-mode-forwards animation-delay-#{index * 55}", + if(index in [0, 1], do: "hidden sm:block"), + if(index in [2, 3], do: "hidden lg:block") ]} >