diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..95b9566 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,7 @@ ++++ +date = "2017-06-26T18:27:58+01:00" +title = "The Name Of This Project/Site" + ++++ + +This is your homepage. These are the contents of the `index.md` file, found in your `content` folder. diff --git a/content/index.md b/content/index.md deleted file mode 100644 index f2b4623..0000000 --- a/content/index.md +++ /dev/null @@ -1,5 +0,0 @@ -+++ -title = "The Inclusive Pattern Library Builder" -+++ - -Some introductory text. diff --git a/content/patterns/example1.md b/content/patterns/example1.md deleted file mode 100644 index 79be818..0000000 --- a/content/patterns/example1.md +++ /dev/null @@ -1,8 +0,0 @@ -+++ -title = "Collapsible region" -tags = ["animated", "forms"] -+++ - -

Nulla auctor eleifend turpis consequat pharetra: Cras molestie risus a enim convallis vitae luctus libero lacinia. Aliquam nisl enim, tristique tempus placerat at, posuere in lectus. Nulla auctor eleifend turpis consequat pharetra. Sed mauris arcu, aliquet ultrices malesuada sed, pretium id CTRL + V massa. Fusce ac sodales magna.

- -

Nulla auctor eleifend turpis consequat pharetra: Sed dapibus, lectus sit amet adipiscing egestas, mauris est viverra nibh (iaculis pretium sem orci aliquet mauris). Maecenas sit amet tellus nec mi gravida posuere non pretium magna. Duis sagittis, est sit amet gravida tristique, purus lectus venenatis urna, id molestie magna risus ut nunc. Aliquam tincidunt velit sit amet ante hendrerit tempus. Vestibulum text-align : justify lacus. Donec et nisi dictum felis sollicitudin congue. Aliquam nisl enim, tristique tempus placerat at, posuere in lectus.

diff --git a/content/patterns/example2.md b/content/patterns/example2.md deleted file mode 100644 index b75d02f..0000000 --- a/content/patterns/example2.md +++ /dev/null @@ -1,8 +0,0 @@ -+++ -title = "Tab interface" -tags = ["animated", "typography"] -+++ - -

Vestibulum sit amet ipsum lacus… Nulla lobortis tempus commodo. Maecenas sit amet tellus nec mi gravida posuere non pretium magna. Sed dapibus, lectus sit amet adipiscing egestas, mauris est viverra nibh, iaculis pretium sem orci aliquet mauris.

- -

Sed mauris arcu, aliquet ultrices malesuada sed, pretium id CTRL + V massa. Nulla lobortis tempus commodo. Nulla vel magna sit — amet dui lobortis commodo — vitae vel nulla. Lorem ipsum dolor sit amet, — consectetur adipiscing — elit. Nulla lobortis tempus commodo.

diff --git a/content/patterns/landmarks/_index.md b/content/patterns/landmarks/_index.md deleted file mode 100644 index b39e2cd..0000000 --- a/content/patterns/landmarks/_index.md +++ /dev/null @@ -1,3 +0,0 @@ -+++ -title = "Landmarks" -+++ diff --git a/content/patterns/landmarks/example-one.md b/content/patterns/landmarks/example-one.md deleted file mode 100644 index e139c03..0000000 --- a/content/patterns/landmarks/example-one.md +++ /dev/null @@ -1,11 +0,0 @@ -+++ -title = "Page region navigation landmark" -+++ - -

Nulla vel magna sit amet dui lobortis commodo vitae vel nulla sit amet ante hendrerit tempus. Maecenas sit amet tellus nec mi gravida posuere non pretium magna. Donec a congue leo.

- -{{% principles include="add value" %}} - -

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sit amet tellus nec mi gravida posuere non pretium magna. Nulla vel magna sit amet dui lobortis commodo vitae vel nulla sit amet ante hendrerit tempus. Donec tempus tempus tellus, ac HTML lacinia turpis mattis ac. Suspendisse potenti. Nunc iaculis risus vel orci ornare dignissim sed vitae nulla. Donec a congue leo? Fusce ac sodales CSS magna.

- -{{% wcag include="1.1.1" %}} diff --git a/content/patterns/landmarks/example2.md b/content/patterns/landmarks/example2.md deleted file mode 100644 index a0461bb..0000000 --- a/content/patterns/landmarks/example2.md +++ /dev/null @@ -1,49 +0,0 @@ -+++ -title = "Footer" -+++ - -

Nulla vel magna sit amet dui lobortis commodo vitae vel nulla sit amet ante hendrerit tempus. Maecenas sit amet tellus nec mi gravida posuere non pretium magna. Donec a congue leo.

- -{{< codePen VpVNKW >}} - -

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sit amet tellus nec mi gravida posuere non pretium magna. Nulla vel magna sit amet dui lobortis commodo vitae vel nulla sit amet ante hendrerit tempus. Donec tempus tempus tellus, ac HTML lacinia turpis mattis ac. Suspendisse potenti. Nunc iaculis risus vel orci ornare dignissim sed vitae nulla. Donec a congue leo? Fusce ac sodales CSS magna.

- -[Link to widgets example 1]({{< ref "patterns/widgets/example1.md" >}}) - -## Figure example - -{{% figure caption="You are wrong." %}} - I LOVE FASCISM!? -{{% /figure %}} - -

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sit amet tellus nec mi gravida posuere non pretium magna. Nulla vel magna sit amet dui lobortis commodo vitae vel nulla sit amet ante hendrerit tempus. Donec tempus tempus tellus, ac HTML lacinia turpis mattis ac. Suspendisse potenti. Nunc iaculis risus vel orci ornare dignissim sed vitae nulla. Donec a congue leo? Fusce ac sodales CSS magna.

- -{{% figure caption="This is good news." %}} - I HATE FASCISM!? -{{% /figure %}} - -## Code block example - -{{}} - .expandable + .expandable { - margin-top: 1.5rem; - padding-top: 1.5rem; - border-top: 2px solid; - } -{{}} - -

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sit amet tellus nec mi gravida posuere non pretium magna. Nulla vel magna sit amet dui lobortis commodo vitae vel nulla sit amet ante hendrerit tempus. Donec tempus tempus tellus, ac HTML lacinia turpis mattis ac. Suspendisse potenti. Nunc iaculis risus vel orci ornare dignissim sed vitae nulla. Donec a congue leo? Fusce ac sodales CSS magna.

- -## External refs examples - -### WCAG - -{{% wcag include="1.1.1, 4.1.2, 1.3.1" descriptions="true" %}} - -### Inclusive Design Principles - -{{% principles include="add value, Be consistent" descriptions="true" %}} - -{{% expandable level="2" label="Another expandable" %}} -

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sit amet tellus nec mi gravida posuere non pretium magna. Nulla vel magna sit amet dui lobortis commodo vitae vel nulla sit amet ante hendrerit tempus. Donec tempus tempus tellus, ac HTML lacinia turpis mattis ac. Suspendisse potenti. Nunc iaculis risus vel orci ornare dignissim sed vitae nulla.

-{{% /expandable %}} diff --git a/content/patterns/pattern.md b/content/patterns/pattern.md new file mode 100644 index 0000000..d845862 --- /dev/null +++ b/content/patterns/pattern.md @@ -0,0 +1,6 @@ ++++ +date = "2017-06-26T16:54:09+01:00" +title = "Pattern" ++++ + +Some content. diff --git a/content/patterns/widgets/_index.md b/content/patterns/widgets/_index.md deleted file mode 100644 index 097f65d..0000000 --- a/content/patterns/widgets/_index.md +++ /dev/null @@ -1,3 +0,0 @@ -+++ -title = "Widgets" -+++ diff --git a/content/patterns/widgets/example1.md b/content/patterns/widgets/example1.md deleted file mode 100644 index f5d065a..0000000 --- a/content/patterns/widgets/example1.md +++ /dev/null @@ -1,9 +0,0 @@ -+++ -title = "Card" -+++ - -

Duis sagittis, est sit amet gravida tristique, purus lectus venenatis urna, id molestie magna risus ut nunc. Maecenas sit amet tellus – nec mi gravida posuere non pretium magna. Potenti et eros sed justo commodo bibendum non at nunc. Aliquam nisl enim… tristique tempus placerat at, posuere in lectus. Nulla lobortis tempus commodo. Aliquam nisl enim, tristique tempus placerat at, posuere in lectus.

- -

Fusce ac sodales CSS magna. Maecenas sit amet tellus nec mi gravida posuere non pretium magna. Donec et nisi dictum felis sollicitudin congue. Donec tempus tempus tellus, ac lacinia turpis mattis ac. Aliquam tincidunt velit sit amet ante hendrerit tempus.

- -

Aliquam tincidunt velit sit (amet ante hendrerit tempus). Aliquam nisl enim, tristique tempus placerat at, posuere in lectus. Donec tempus tempus tellus, ac HTML lacinia turpis mattis ac. Aliquam tincidunt velit sit amet ante hendrerit tempus. Curabitur consectetur faucibus nisl ac varius. Donec et nisi dictum felis, sollicitudin, congue Heydon™. Nulla auctor eleifend turpis consequat pharetra. Donec et nisi dictum felis sollicitudin congue.

diff --git a/content/patterns/widgets/example2.md b/content/patterns/widgets/example2.md deleted file mode 100644 index 1388be4..0000000 --- a/content/patterns/widgets/example2.md +++ /dev/null @@ -1,108 +0,0 @@ -+++ -title = "Menu button and menu" -tags = ["animated", "interactive"] -+++ - -

Duis sagittis, est sit amet gravida tristique, purus lectus venenatis urna {{% patternLink "Menu button and menu" %}}, id molestie magna risus ut nunc. Fusce ac sodales CSS magna. Nulla auctor eleifend turpis consequat pharetra. Sed dapibus, lectus sit amet adipiscing egestas, mauris est viverra nibh, iaculis pretium sem orci aliquet mauris.

- -{{}} - - - -{{}} - -{{}} - .expandable + .expandable { - margin-top: 1.5rem; - padding-top: 1.5rem; - border-top: 2px solid; - } - - .expandable + .expandable { - margin-top: 1.5rem; - padding-top: 1.5rem; - border-top: 2px solid; - } -{{}} - -```html -{{ .Inner }} -``` - - - -

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce ac sodales .generate() magna. Aliquam tincidunt velit sit amet ante hendrerit tempus. Donec et nisi dictum felis sollicitudin congue.

- -{{}} -

You must be having a laugh.

- - -{{
}} - -

Nulla vel magna sit — amet dui lobortis commodo — vitae vel nulla. Nulla lobortis tempus commodo.

- -{{}} -

Everyone must not be having a laugh.

- - -{{
}} - -{{% ticks %}} - * Something good - * Something else good - * Another great thing -{{% /ticks %}} - -

Donec et nisi dictum felis sollicitudin congue. Potenti et eros sed justo commodo bibendum non at nunc. Nulla lobortis tempus commodo. Duis sagittis, est sit amet gravida tristique, purus lectus venenatis urna, id molestie magna risus ut nunc. Donec tempus tempus tellus, ac lacinia turpis mattis ac! Fusce ac sodales magna …

- -{{% note %}} -Donec et nisi dictum felis sollicitudin congue. Potenti et eros sed justo commodo bibendum non at nunc. Nulla lobortis tempus commodo. Duis sagittis, est sit amet gravida tristique. - -Purus lectus venenatis urna, id molestie magna risus ut nunc. Donec tempus tempus tellus, ac lacinia turpis mattis ac! Fusce ac sodales magna … -{{% /note %}} - -

Donec et nisi dictum felis sollicitudin congue. Potenti et eros sed justo commodo bibendum non at nunc. Nulla lobortis tempus commodo. Duis sagittis, est sit amet gravida tristique, purus lectus venenatis urna, id molestie magna risus ut nunc. Donec tempus tempus tellus, ac lacinia turpis mattis ac! Fusce ac sodales magna …

- -{{% warning %}} -Donec et nisi dictum felis sollicitudin congue. Potenti et eros sed justo commodo bibendum non at nunc. Nulla lobortis tempus commodo. Duis sagittis, est sit amet gravida tristique. - -Purus lectus venenatis urna, id molestie magna risus ut nunc. Donec tempus tempus tellus, ac lacinia turpis mattis ac! Fusce ac sodales magna … -{{% /warning %}} diff --git a/package.json b/package.json index 7b89611..7740c4d 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,9 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "serve": "hugo server", + "clean": "rm -rf content && mkdir content && mkdir content/patterns && hugo new patterns/pattern.md && hugo new _index.md", "build": "hugo", - "setup": "hugo && git add public && git commit -m 'Make git acknowledge public folder' && rm -rf content && mkdir content", + "setup": "hugo && git add public", "publish": "hugo && git push origin `git subtree split --prefix public master`:gh-pages --force" }, "repository": { diff --git a/public/index.html b/public/index.html index 156fe0a..38a8b9e 100644 --- a/public/index.html +++ b/public/index.html @@ -1,6 +1,7 @@ + @@ -11,7 +12,7 @@ - The Inclusive Pattern Library Builder | Inclusive Pattern Docs + Inclusive Pattern Docs | Inclusive Pattern Docs @@ -51,69 +52,6 @@ @@ -121,9 +59,14 @@
-

The Inclusive Pattern Library Builder

-

Some introductory text.

- +

+ + + Inclusive Pattern Docs +

+