add meta description for world page

This commit is contained in:
41666 2023-05-22 15:06:21 -04:00
parent ae45b29e93
commit d31c88115a
7 changed files with 36 additions and 13 deletions

View file

@ -0,0 +1,18 @@
import { World } from "~/utils/saerro";
export type IndexWorldProps = {
world: World;
};
export const IndexWorld = ({ world }: IndexWorldProps) => {
return (
<div>
<h1>
{world.name} (total: {world.population.total})
</h1>
<p>VS: {world.population.vs}</p>
<p>NC: {world.population.nc}</p>
<p>TR: {world.population.tr}</p>
</div>
);
};