Responsive
Atoms
FormLabel
Default
Molecules
ContactDetails
Default
Organisms
HeaderMinimal
Default
ServicesGroupFinderBlock
With Results No Results

ResourceDownloadBlock / Mixed Link Types

Default layout with download, external, and internal link types

Layout
Properties
JSON format (e.g., [{"LinkText":"Home","LinkUrl":"/"}])
Component Code
@await Html.PartialAsync("~/Components/Organisms/ResourceDownloadBlock/ResourceDownloadBlock.cshtml", new ResourceDownloadBlockProps
{
"Title": "Resources",
"Description": "You can download the following resources here:",
"Alignment": "left",
"Resources": [
{
"Title": "Block title does here",
"Description": "Description for the following downloads",
"LinkText": "Download PDF",
"LinkUrl": "#",
"LinkType": "download",
"FileSize": "xxkb"
},
{
"Title": "Block title does here",
"Description": "Description for the following downloads",
"LinkText": "External link here",
"LinkUrl": "https://example.com",
"LinkType": "external",
"FileSize": null
},
{
"Title": "Block title does here",
"Description": "Description for the following downloads",
"LinkText": "Internal link here",
"LinkUrl": "/about",
"LinkType": "internal",
"FileSize": null
}
]
})
♿ Accessibility