diff --git a/site/layouts/_default/home.html b/site/layouts/_default/home.html index 4cc9e097..fba56e75 100644 --- a/site/layouts/_default/home.html +++ b/site/layouts/_default/home.html @@ -19,6 +19,7 @@ Impact Schema Extensions + Download Feedback @@ -112,6 +113,35 @@ {{ .Render "term" }} {{ end }} +

Download

+

The ISEAL Core schema is available for download in two formats:

+
+
+
+
+ {{ $fileCodeIcon := resources.Get "icons/file-earmark-code.svg" | resources.Fingerprint }} + File icon with earmark +
+
+

Turtle

+

Terse RDF Triple Language (TTL). Use this format when you need to validate metadata against ISEAL Core programmatically.

+ Download +
+
+
+
+ {{ $fileSpreadsheetIcon := resources.Get "icons/file-earmark-spreadsheet.svg" | resources.Fingerprint }} + File icon with earmark +
+
+

CSV

+

Comma-separated Values (CSV). Use this format when you just need a quick and easy offline reference.

+ Download +
+
+
+
+

Feedback

If you have questions/comments please contact ____.

diff --git a/site/package.json b/site/package.json index dca65919..2abae225 100644 --- a/site/package.json +++ b/site/package.json @@ -6,8 +6,9 @@ "build:css": "sass --style expanded source/scss/style.scss assets/css/style.css.tmp && cleancss -O1 --format breakWith=lf --with-rebase assets/css/style.css.tmp -o assets/css/style.min.css", "build:js": "uglifyjs node_modules/jquery/dist/jquery.slim.min.js node_modules/bootstrap/dist/js/bootstrap.min.js -o assets/js/bundle.min.js", "build:site": "./bin/hugo/hugo", - "build": "npm run build:css && npm run build:js && npm run clean && npm run build:site", + "build": "npm run build:css && npm run build:js && npm run clean && npm run copy:icons && npm run build:site", "clean": "rm assets/css/style.css.tmp assets/css/style.css.tmp.map", + "copy:icons": "cp node_modules/bootstrap-icons/icons/file-earmark-code.svg node_modules/bootstrap-icons/icons/file-earmark-spreadsheet.svg assets/icons", "postinstall": "hugo-installer --version 0.89.4" }, "keywords": [ diff --git a/site/source/scss/main.scss b/site/source/scss/main.scss index 74cdc11a..1d78b0f1 100644 --- a/site/source/scss/main.scss +++ b/site/source/scss/main.scss @@ -38,6 +38,16 @@ p.lead { color: inherit; } +.icon-square { + display: inline-flex; + align-items: center; + justify-content: center; + width: 3rem; + height: 3rem; + font-size: 1.5rem; + border-radius: .75rem; +} + div.badge-required { float: right;