aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/List.astro
blob: d03b0e0c4981e4eafcd56610492ac6a1f51219e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
import Link from "./Link.astro";
import dataList from '../data/user.json';

const items = dataList.links;
---

<div class="list" id="list">
    {
        items.map((item) => {
            return (
                <Link 
                    icon={item.icon} 
                    title={item.title} 
                    description={item.description} 
                    url={item.url}
                ></Link>
            )
        })
    }
</div>

<style>
    .list {
        margin-top: 3rem;
        display: grid;
        gap: 1rem;
    }
</style>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage