added game link to env file

This commit is contained in:
victorAnumudu
2024-04-02 17:23:54 +01:00
parent a5631b6291
commit bcd45edb2f
9 changed files with 67 additions and 17 deletions
+18 -3
View File
@@ -1,9 +1,24 @@
import React from 'react'
import FamGames from '../components/familyResources/FamGames'
import React, { lazy, Suspense } from 'react'
import LoadingSpinner from '../components/Spinners/LoadingSpinner';
// import FamGames from '../components/familyResources/FamGames'
const FamGames = lazy(() => import("../components/familyResources/FamGames"));
export default function FamGamesPage() {
return (
<>
<FamGames />
<Suspense fallback={<Fallback />}>
<FamGames />
</Suspense>
</>
)
}
let Fallback = () => {
return (
<div className="w-full flex justify-center items-center">
<LoadingSpinner size='20' color='skyblue' height='h-screen' />
</div>
)
}