feat: add ItemList

This commit is contained in:
Mathias Schopmans
2024-02-15 10:00:14 +01:00
committed by Mathias Schopmans
parent f910c9e1e5
commit 5603384603
8 changed files with 153 additions and 11 deletions

View File

@@ -1,7 +1,19 @@
import { ItemList } from "@/components/ItemList/ItemList";
import { getAppName, getItems, getReleases } from "@/lib/data";
import { CustomPage } from "@/pages/_app";
const Home: CustomPage = () => {
return <h1>Hello world.</h1>;
const appName = getAppName();
const version = getReleases().length;
return (
<>
<h1>
{appName}{" "}
<span style={{ color: "var(--highlight)" }}>Version #{version}</span>
</h1>
<ItemList items={getItems()} />
</>
);
};
export default Home;