Closed hannahkane closed 7 years ago
cc @jenntbeard
You can now add as many links (with labels) as you want by editing portfolio.json
.
All Links
properties can either be null
or an array of link objects, following this schema:
"Links": [
{
"url": "http://www.mozilla.org/",
"label": null
},
{
"url": "http://www.example.org/",
"label": "label goes here"
}
],
If a label
is null
it will show up as "Website".
In a given Gigabit Portfolio item detail page (see an example), there is a button at the bottom, labeled "website" that takes the user to an external site.
Some projects have up to three links to point to, so we need to allow for that in the UI.
Looking for a relatively quick solution that accommodates 0, 1, 2, or 3 links. Ideally, we'd be able to control the label on the button, but that's not a requirement.