From 470911698e5a4468c510a99dd352bfb68d9fbd00 Mon Sep 17 00:00:00 2001 From: Alam Guardin Date: Wed, 7 Aug 2024 23:03:49 -0500 Subject: refactor: add icons to links --- src/components/List.astro | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'src/components/List.astro') diff --git a/src/components/List.astro b/src/components/List.astro index 80af910..d03b0e0 100644 --- a/src/components/List.astro +++ b/src/components/List.astro @@ -1,16 +1,23 @@ --- import Link from "./Link.astro"; +import dataList from '../data/user.json'; + +const items = dataList.links; ---
- - - - - - - - + { + items.map((item) => { + return ( + + ) + }) + }