feat: add ItemList
This commit is contained in:
committed by
Mathias Schopmans
parent
f910c9e1e5
commit
5603384603
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user