- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus - quia, nulla! Maiores et perferendis eaque, exercitationem praesentium - nihil. -
+{description}
diff --git a/db/config.ts b/db/config.ts index 8b27c8e..dbc0ddf 100644 --- a/db/config.ts +++ b/db/config.ts @@ -9,6 +9,7 @@ const Resource = defineTable({ category: column.text(), title: column.text(), imgSrc: column.text(), + description: column.text(), }, }); diff --git a/db/seed.ts b/db/seed.ts index 2105e23..da20fb6 100644 --- a/db/seed.ts +++ b/db/seed.ts @@ -10,6 +10,8 @@ export default async function seed() { imgSrc: "https://qczsiistziidnaavyrgw.supabase.co/storage/v1/object/sign/players/mago-san.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJwbGF5ZXJzL21hZ28tc2FuLnBuZyIsImlhdCI6MTcxMDU3MTc0MCwiZXhwIjoxNzQyMTA3NzQwfQ.gJHiKEQq8Zi9lHzbPknqIkYgp_AJMkbsTAbwWdqEfWA&t=2024-03-16T06%3A49%3A00.087Z", id: 1, + description: + "I'm Mago san Kenryo Hayashi is a Japanese Fighting Games player currently representing GyoGun.", }, { link: "https://replaytheater.app/?game=unib", @@ -18,6 +20,8 @@ export default async function seed() { imgSrc: "https://qczsiistziidnaavyrgw.supabase.co/storage/v1/object/sign/players/mago-san.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJwbGF5ZXJzL21hZ28tc2FuLnBuZyIsImlhdCI6MTcxMDU3MTc0MCwiZXhwIjoxNzQyMTA3NzQwfQ.gJHiKEQq8Zi9lHzbPknqIkYgp_AJMkbsTAbwWdqEfWA&t=2024-03-16T06%3A49%3A00.087Z", id: 2, + description: + "I'm Mago san Kenryo Hayashi is a Japanese Fighting Games player currently representing GyoGun.", }, { link: "https://replaytheater.app/?game=unib", @@ -26,6 +30,8 @@ export default async function seed() { imgSrc: "https://qczsiistziidnaavyrgw.supabase.co/storage/v1/object/sign/players/mago-san.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJwbGF5ZXJzL21hZ28tc2FuLnBuZyIsImlhdCI6MTcxMDU3MTc0MCwiZXhwIjoxNzQyMTA3NzQwfQ.gJHiKEQq8Zi9lHzbPknqIkYgp_AJMkbsTAbwWdqEfWA&t=2024-03-16T06%3A49%3A00.087Z", id: 3, + description: + "I'm Mago san Kenryo Hayashi is a Japanese Fighting Games player currently representing GyoGun.", }, { link: "https://replaytheater.app/?game=unib", @@ -34,6 +40,8 @@ export default async function seed() { imgSrc: "https://qczsiistziidnaavyrgw.supabase.co/storage/v1/object/sign/players/mago-san.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJwbGF5ZXJzL21hZ28tc2FuLnBuZyIsImlhdCI6MTcxMDU3MTc0MCwiZXhwIjoxNzQyMTA3NzQwfQ.gJHiKEQq8Zi9lHzbPknqIkYgp_AJMkbsTAbwWdqEfWA&t=2024-03-16T06%3A49%3A00.087Z", id: 4, + description: + "I'm Mago san Kenryo Hayashi is a Japanese Fighting Games player currently representing GyoGun.", }, { link: "https://replaytheater.app/?game=unib", @@ -42,6 +50,8 @@ export default async function seed() { imgSrc: "https://qczsiistziidnaavyrgw.supabase.co/storage/v1/object/sign/players/mago-san.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJwbGF5ZXJzL21hZ28tc2FuLnBuZyIsImlhdCI6MTcxMDU3MTc0MCwiZXhwIjoxNzQyMTA3NzQwfQ.gJHiKEQq8Zi9lHzbPknqIkYgp_AJMkbsTAbwWdqEfWA&t=2024-03-16T06%3A49%3A00.087Z", id: 5, + description: + "I'm Mago san Kenryo Hayashi is a Japanese Fighting Games player currently representing GyoGun.", }, { link: "https://replaytheater.app/?game=unib", @@ -50,6 +60,8 @@ export default async function seed() { imgSrc: "https://qczsiistziidnaavyrgw.supabase.co/storage/v1/object/sign/players/mago-san.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJwbGF5ZXJzL21hZ28tc2FuLnBuZyIsImlhdCI6MTcxMDU3MTc0MCwiZXhwIjoxNzQyMTA3NzQwfQ.gJHiKEQq8Zi9lHzbPknqIkYgp_AJMkbsTAbwWdqEfWA&t=2024-03-16T06%3A49%3A00.087Z", id: 6, + description: + "I'm Mago san Kenryo Hayashi is a Japanese Fighting Games player currently representing GyoGun.", }, ]); } diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 2570cbf..9ebbdc0 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -13,9 +13,9 @@ import MaxWidthWrapper from "./MaxWidthWrapper.astro"; {/* Links */}
diff --git a/src/components/ResourceCard.tsx b/src/components/ResourceCard.tsx index a474606..f693748 100644 --- a/src/components/ResourceCard.tsx +++ b/src/components/ResourceCard.tsx @@ -6,6 +6,7 @@ interface ResourceCardProps { link: string; category: string; imgSrc: string; + description: string; } const ResourceCard = ({ @@ -14,30 +15,24 @@ const ResourceCard = ({ link, category, imgSrc, + description, }: ResourceCardProps) => { return ( -- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus - quia, nulla! Maiores et perferendis eaque, exercitationem praesentium - nihil. -
+{description}