From 2dffffde50eff2c374d39297d415da986e29be6d Mon Sep 17 00:00:00 2001 From: Davenludd Date: Wed, 20 Mar 2024 13:52:02 +0100 Subject: [PATCH] Docs/coments to background animation component --- frontend/src/Components/BackgroundAnimation.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/Components/BackgroundAnimation.tsx b/frontend/src/Components/BackgroundAnimation.tsx index 5f402c0..87fca9e 100644 --- a/frontend/src/Components/BackgroundAnimation.tsx +++ b/frontend/src/Components/BackgroundAnimation.tsx @@ -1,5 +1,10 @@ +//info: Background animation component to animate the background of loginpage import { useEffect } from "react"; +/** + * Renders a background animation component. + * This component pre-loads images and starts a background transition animation. + */ const BackgroundAnimation = (): JSX.Element => { useEffect(() => { const images = [