add meta description for world page
This commit is contained in:
parent
ae45b29e93
commit
d31c88115a
7 changed files with 36 additions and 13 deletions
18
app/components/index-world.tsx
Normal file
18
app/components/index-world.tsx
Normal 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>
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue