sfu-gdc / sfu-gdc.github.io

The official website for the SFU Game Dev Club. It's open sourced!
1 stars 0 forks source link

Resources - Include multiple named links #9

Open EarthenSky opened 3 months ago

EarthenSky commented 3 months ago

It can be useful for a single resource to have multiple links. In this case, we'd want each link to look like an embedded clickable button, like the "more lovely people" button below (maybe we should use a unicode character for external link here & for the lovely people link. See https://gist.github.com/miguelmota/322c89234d60de578f37d3c6d30f7e41).

Screenshot 2024-06-26 002904

The supporting json would be as follows

{
    "title": "Extra Credits",
    "description": "If you’re interested in learning game design, the best all encompassing resource is Extra Credits’ series on game design which covers a massive range of topics from power creep to aesthetics.",
    "image": "../images/resources/default.png",
    "links": [
        {
             "text": "Original Channel",
             "link": "https://www.youtube.com/@extrahistory/playlists",
        },
        {
             "text": "New Channel",
             "link": "https://www.youtube.com/@extracredits",
        }
    ],
    "tags": ["youtube", "game design", "getting started"]
},