blob: 5e0d5bf175bfd40c2835cb5c0d3cd4e67e4a9fdf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
import React from 'react';
import { Helmet } from 'react-helmet';
import GameEntry from '@components/GameEntry';
import { Game } from '@customTypes/Game';
import gamesCSS from "@css/Games.module.css";
interface GamesProps {
games: Game[];
}
const Games: React.FC<GamesProps> = ({ games }) => {
return (
<main>
<Helmet>
<title>LPHUB | Games</title>
</Helmet>
<section>
<div className={gamesCSS.content}>
{games.map((game, index) => (
<GameEntry game={game} key={index} />
))}
</div>
</section>
</main>
);
};
export default Games;
|