- {{>_feature-tile model.cta}}
+
+
+
+
+
+
+
CTA and Images
+ {{>_feature-tile model.cta}}
+
+
+
+
-
- {{>_feature-tile model.cta}}
+
+
+
+
+
+
+
+
+
All options
+ {{>_feature-tile model.all}}
+
+
+
+
-
+
diff --git a/src/components/feature-tile/feature-tile-cta.json b/src/components/feature-tile/json/feature-tile-cta.json
similarity index 66%
rename from src/components/feature-tile/feature-tile-cta.json
rename to src/components/feature-tile/json/feature-tile-cta.json
index 517a03b71..33d457cb9 100644
--- a/src/components/feature-tile/feature-tile-cta.json
+++ b/src/components/feature-tile/json/feature-tile-cta.json
@@ -7,15 +7,15 @@
},
"card-group": [
{
- "img": "http://placehold.it/153/97",
- "text": "Minimum expectations"
+ "img": "https://picsum.photos/id/1076/200/200",
+ "text": "Expectations"
},
{
- "img": "http://placehold.it/153/97",
+ "img": "https://picsum.photos/id/20/200/200",
"text": "How-top guides"
},
{
- "img": "http://placehold.it/153/97",
+ "img": "https://picsum.photos/id/859/200/200",
"text": "Project checklist"
}
]
diff --git a/src/components/feature-tile/feature-tile-five-links.json b/src/components/feature-tile/json/feature-tile-five-links.json
similarity index 86%
rename from src/components/feature-tile/feature-tile-five-links.json
rename to src/components/feature-tile/json/feature-tile-five-links.json
index ab70481ad..439f044df 100644
--- a/src/components/feature-tile/feature-tile-five-links.json
+++ b/src/components/feature-tile/json/feature-tile-five-links.json
@@ -23,12 +23,6 @@
"url": "#",
"new": false
}
- ,
- {
- "text": "Content audit",
- "url": "#",
- "new": false
- }
]
}
diff --git a/src/components/feature-tile/feature-tile-links.json b/src/components/feature-tile/json/feature-tile-links.json
similarity index 97%
rename from src/components/feature-tile/feature-tile-links.json
rename to src/components/feature-tile/json/feature-tile-links.json
index 7f0efdc8a..cb2516cd5 100644
--- a/src/components/feature-tile/feature-tile-links.json
+++ b/src/components/feature-tile/json/feature-tile-links.json
@@ -2,6 +2,7 @@
"title": "Standards",
"copy": "
The standards outline the best practice you need to consider when building a NSW Government product or service
",
"icon": "arrow",
+ "double": true,
"linklist": [
{
"text": "Content basics",
@@ -19,21 +20,19 @@
"new": false
},
{
- "text": "Content audit",
+ "text": "Finding a tone of voice",
"url": "#",
- "new": false
+ "new": true
},
{
- "text": "Content structure",
+ "text": "Content audit",
"url": "#",
"new": false
},
{
- "text": "Finding a tone of voice",
+ "text": "Content structure",
"url": "#",
- "new": true
+ "new": false
}
-
]
-
}
diff --git a/src/components/feature-tile/feature-tile.json b/src/components/feature-tile/json/feature-tile.json
similarity index 85%
rename from src/components/feature-tile/feature-tile.json
rename to src/components/feature-tile/json/feature-tile.json
index 5c9094f36..1c728debc 100644
--- a/src/components/feature-tile/feature-tile.json
+++ b/src/components/feature-tile/json/feature-tile.json
@@ -2,21 +2,22 @@
"title": "Standards",
"copy": "
The standards outline the best practice you need to consider when building a NSW Government product or service
",
"icon": "arrow",
+ "double": true,
"call-to-action": {
"text": "View the pattern library",
"url": "#"
},
"card-group": [
{
- "img": "http://placehold.it/153/97",
- "text": "Minimum expectations"
+ "img": "https://picsum.photos/id/1076/200/200",
+ "text": "Expectations"
},
{
- "img": "http://placehold.it/153/97",
+ "img": "https://picsum.photos/id/20/200/200",
"text": "How-top guides"
},
{
- "img": "http://placehold.it/153/97",
+ "img": "https://picsum.photos/id/859/200/200",
"text": "Project checklist"
}
],
diff --git a/src/patterns/footer/_footer.hbs b/src/components/footer/_footer.hbs
similarity index 100%
rename from src/patterns/footer/_footer.hbs
rename to src/components/footer/_footer.hbs
diff --git a/src/patterns/footer/_footer.scss b/src/components/footer/_footer.scss
similarity index 98%
rename from src/patterns/footer/_footer.scss
rename to src/components/footer/_footer.scss
index ca0490416..3e2530907 100644
--- a/src/patterns/footer/_footer.scss
+++ b/src/components/footer/_footer.scss
@@ -1,6 +1,5 @@
.nsw-footer {
@include font-stack;
- @include nsw-spacing(margin-top, xxl);
border-top: solid 1px $light40;
hr {
diff --git a/src/patterns/footer/index.hbs b/src/components/footer/index.hbs
similarity index 63%
rename from src/patterns/footer/index.hbs
rename to src/components/footer/index.hbs
index 1b47203b5..b5772725d 100644
--- a/src/patterns/footer/index.hbs
+++ b/src/components/footer/index.hbs
@@ -1,6 +1,6 @@
---
title: Footer
-model: footer.json
+model: json/footer.json
---
{{>_footer model}}
diff --git a/src/components/footer/json/footer.json b/src/components/footer/json/footer.json
new file mode 100644
index 000000000..4e00ba172
--- /dev/null
+++ b/src/components/footer/json/footer.json
@@ -0,0 +1,188 @@
+{
+ "respectText": "We pay respect to the Traditional Custodians and First Peoples of NSW, and acknowledge their continued connection to their country and culture.",
+ "copyright": "Copyright © 2019",
+ "sectionLinks": [
+ {
+ "title": "Popular",
+ "url": "#",
+ "links": [
+ {
+ "text": "Contact the Premier",
+ "url": "#"
+ },
+ {
+ "text": "Contact a Minister",
+ "url": "#"
+ },
+ {
+ "text": "About NSW",
+ "url": "#"
+ },
+ {
+ "text": "State flag",
+ "url": "#"
+ },
+ {
+ "text": "State Funerals",
+ "url": "#"
+ },
+ {
+ "text": "Buy Regional",
+ "url": "#"
+ },
+ {
+ "text": "Life events",
+ "url": "#"
+ },
+ {
+ "text": "NSW Government directory",
+ "url": "#"
+ },
+ {
+ "text": "Service NSW locations",
+ "url": "#"
+ }
+ ]
+ },
+ {
+ "title": "What's happening",
+ "url": "#",
+ "links": [
+ {
+ "text": "News",
+ "url": "#"
+ },
+ {
+ "text": "Ministerial media releases",
+ "url": "#"
+ },
+ {
+ "text": "Projects and initiatives",
+ "url": "#"
+ },
+ {
+ "text": "Have your say",
+ "url": "#"
+ },
+ {
+ "text": "NSW school and public holidays",
+ "url": "#"
+ },
+ {
+ "text": "Find a job in NSW Government",
+ "url": "#"
+ },
+ {
+ "text": "I work for NSW",
+ "url": "#"
+ }
+ ]
+ },
+ {
+ "title": "Departments",
+ "url": "#",
+ "links": [
+ {
+ "text": "Customer Service",
+ "url": "#"
+ },
+ {
+ "text": "Communities and Justice",
+ "url": "#"
+ },
+ {
+ "text": "Education",
+ "url": "#"
+ },
+ {
+ "text": "Health",
+ "url": "#"
+ },
+ {
+ "text": "Planning, Industry and Environment",
+ "url": "#"
+ },
+ {
+ "text": "Premier and Cabinet",
+ "url": "#"
+ },
+ {
+ "text": "Regional NSW",
+ "url": "#"
+ },
+ {
+ "text": "Transport",
+ "url": "#"
+ },
+ {
+ "text": "Treasury",
+ "url": "#"
+ }
+ ]
+ },
+ {
+ "title": "NSW Government",
+ "url": "#",
+ "links": [
+ {
+ "text": "The Premier",
+ "url": "#"
+ },
+ {
+ "text": "NSW Ministers",
+ "url": "#"
+ },
+ {
+ "text": "Find your local Member of Parliament",
+ "url": "#"
+ },
+ {
+ "text": "Boards and Committees",
+ "url": "#"
+ },
+ {
+ "text": "NSW Government communications",
+ "url": "#"
+ },
+ {
+ "text": "Unsolicited proposals",
+ "url": "#"
+ },
+ {
+ "text": "Premier's Priorities",
+ "url": "#"
+ }
+ ]
+ }
+ ],
+ "footerLinks": [
+ {
+ "text": "Accessibility",
+ "url": "#"
+ },
+ {
+ "text": "Copyright",
+ "url": "#"
+ },
+ {
+ "text": "Disclaimer",
+ "url": "#"
+ },
+ {
+ "text": "Privacy",
+ "url": "#"
+ },
+ {
+ "text": "Content sources",
+ "url": "#"
+ },
+ {
+ "text": "RSS",
+ "url": "#"
+ },
+ {
+ "text": "Contact us",
+ "url": "#"
+ }
+ ]
+}
diff --git a/src/styles/forms/_checkbox.hbs b/src/components/forms/_checkbox.hbs
similarity index 100%
rename from src/styles/forms/_checkbox.hbs
rename to src/components/forms/_checkbox.hbs
diff --git a/src/styles/forms/_forms.scss b/src/components/forms/_forms.scss
similarity index 100%
rename from src/styles/forms/_forms.scss
rename to src/components/forms/_forms.scss
diff --git a/src/styles/forms/_radio.hbs b/src/components/forms/_radio.hbs
similarity index 100%
rename from src/styles/forms/_radio.hbs
rename to src/components/forms/_radio.hbs
diff --git a/src/styles/forms/_select.hbs b/src/components/forms/_select.hbs
similarity index 100%
rename from src/styles/forms/_select.hbs
rename to src/components/forms/_select.hbs
diff --git a/src/styles/forms/_text-input.hbs b/src/components/forms/_text-input.hbs
similarity index 100%
rename from src/styles/forms/_text-input.hbs
rename to src/components/forms/_text-input.hbs
diff --git a/src/styles/forms/_textarea.hbs b/src/components/forms/_textarea.hbs
similarity index 100%
rename from src/styles/forms/_textarea.hbs
rename to src/components/forms/_textarea.hbs
diff --git a/src/components/forms/index.hbs b/src/components/forms/index.hbs
new file mode 100644
index 000000000..39ed142ac
--- /dev/null
+++ b/src/components/forms/index.hbs
@@ -0,0 +1,227 @@
+---
+title: Forms
+---
+
+
+
+
+
+
+
+
+
+
Forms
+
Default Fields
+
+
+
+
Fields with Helper text
+
+
+
+
Fields with Errors
+
+
+
+
+
+
+
+
+
+
diff --git a/src/styles/forms/forms.json b/src/components/forms/json/forms.json
similarity index 100%
rename from src/styles/forms/forms.json
rename to src/components/forms/json/forms.json
diff --git a/src/components/header/_header-digital.hbs b/src/components/header/_header-digital.hbs
new file mode 100644
index 000000000..bc9db2b0b
--- /dev/null
+++ b/src/components/header/_header-digital.hbs
@@ -0,0 +1,16 @@
+
+