From 3e99de0ab18bce8802804fb12e307a4d5429bcfd Mon Sep 17 00:00:00 2001 From: Cole Bemis Date: Sun, 26 Feb 2017 11:01:54 -0800 Subject: [PATCH] Add icons --- _data/icons.json | 7 +++++++ _includes/icons.html | 6 ++++++ icons/circle.svg | 3 +++ icons/lock.svg | 4 ++++ icons/mail.svg | 4 ++++ icons/square.svg | 3 +++ icons/unlock.svg | 4 ++++ index.html | 1 + 8 files changed, 32 insertions(+) create mode 100644 _data/icons.json create mode 100644 _includes/icons.html create mode 100644 icons/circle.svg create mode 100644 icons/lock.svg create mode 100644 icons/mail.svg create mode 100644 icons/square.svg create mode 100644 icons/unlock.svg diff --git a/_data/icons.json b/_data/icons.json new file mode 100644 index 0000000..ebd6f43 --- /dev/null +++ b/_data/icons.json @@ -0,0 +1,7 @@ +[ + "mail", + "lock", + "unlock", + "square", + "circle" +] \ No newline at end of file diff --git a/_includes/icons.html b/_includes/icons.html new file mode 100644 index 0000000..537ba74 --- /dev/null +++ b/_includes/icons.html @@ -0,0 +1,6 @@ +
+ {% for icon in site.data.icons %} + {% capture icon_path %}icons/{{ icon }}.svg{% endcapture %} + {% include_relative {{ icon_path }} %} + {% endfor %} +
\ No newline at end of file diff --git a/icons/circle.svg b/icons/circle.svg new file mode 100644 index 0000000..f6750a0 --- /dev/null +++ b/icons/circle.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/icons/lock.svg b/icons/lock.svg new file mode 100644 index 0000000..7a05bdd --- /dev/null +++ b/icons/lock.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/icons/mail.svg b/icons/mail.svg new file mode 100644 index 0000000..e5eff47 --- /dev/null +++ b/icons/mail.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/icons/square.svg b/icons/square.svg new file mode 100644 index 0000000..d80070e --- /dev/null +++ b/icons/square.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/icons/unlock.svg b/icons/unlock.svg new file mode 100644 index 0000000..815e17e --- /dev/null +++ b/icons/unlock.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/index.html b/index.html index 3864bae..27cbe38 100644 --- a/index.html +++ b/index.html @@ -10,6 +10,7 @@ {% include header.html %} + {% include icons.html %} {% include request.html %} {% include footer.html %}