Docs/coments to background animation component
This commit is contained in:
parent
c0e03d7d0d
commit
2dffffde50
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
||||||
|
//info: Background animation component to animate the background of loginpage
|
||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Renders a background animation component.
|
||||||
|
* This component pre-loads images and starts a background transition animation.
|
||||||
|
*/
|
||||||
const BackgroundAnimation = (): JSX.Element => {
|
const BackgroundAnimation = (): JSX.Element => {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const images = [
|
const images = [
|
||||||
|
|
Loading…
Reference in a new issue