diff --git a/src/app/page.tsx b/src/app/page.tsx
index 6fe62d1..7b8054b 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -1,101 +1,7 @@
-import Image from "next/image";
+import { getAllGames } from "@/lib/content";
+import BookShelf from "@/components/BookShelf";
export default function Home() {
- return (
-
-
-
-
- -
- Get started by editing{" "}
-
- src/app/page.tsx
-
- .
-
- - Save and see your changes instantly.
-
-
-
-
-
-
- );
+ const games = getAllGames();
+ return ;
}
diff --git a/src/components/BookShelf.tsx b/src/components/BookShelf.tsx
new file mode 100644
index 0000000..c0306eb
--- /dev/null
+++ b/src/components/BookShelf.tsx
@@ -0,0 +1,38 @@
+import { GameMeta } from "@/types";
+import BookSpine from "./BookSpine";
+
+export default function BookShelf({ games }: { games: GameMeta[] }) {
+ return (
+
+ {/* Title */}
+
+
+ Cronicas de los Reinos
+
+
+ Las historias epicas de los mundos que nos unieron
+
+
+
+
+ {/* Shelf */}
+
+ {/* Books row */}
+
+ {games.map((game) => (
+
+ ))}
+
+
+ {/* Shelf surface */}
+
+
+
+
+ {/* Footer */}
+
+ Selecciona un tomo para comenzar a leer
+
+
+ );
+}
diff --git a/src/components/BookSpine.tsx b/src/components/BookSpine.tsx
new file mode 100644
index 0000000..98033e6
--- /dev/null
+++ b/src/components/BookSpine.tsx
@@ -0,0 +1,47 @@
+import Link from "next/link";
+import { GameMeta } from "@/types";
+
+export default function BookSpine({ game }: { game: GameMeta }) {
+ return (
+
+
+ {/* Book spine edge */}
+
+
+ {/* Book cover content */}
+
+
+
+ {game.title}
+
+
+ {game.subtitle}
+
+
+
+
+ {/* Shine effect on hover */}
+
+
+
+ );
+}