From 3e99de0ab18bce8802804fb12e307a4d5429bcfd Mon Sep 17 00:00:00 2001 From: Cole Bemis <colebemis@gmail.com> 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 @@ +<section> + {% for icon in site.data.icons %} + {% capture icon_path %}icons/{{ icon }}.svg{% endcapture %} + {% include_relative {{ icon_path }} %} + {% endfor %} +</section> \ 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 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> + <circle cx="12" cy="12" r="10"/> +</svg> \ 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 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> + <rect x="3" y="11" width="18" height="11" rx="2" ry="2"/> + <path d="M7,11V7A5,5,0,0,1,17,7v4"/> +</svg> \ 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 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> + <path d="M4,4h16c1.1,0,2,0.9,2,2v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6C2,4.9,2.9,4,4,4z"/> + <polyline points="22,6 12,13 2,6"/> +</svg> \ 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 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> + <rect x="3" y="3" width="18" height="18" rx="2" ry="2"/> +</svg> \ 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 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> + <rect x="3" y="11" width="18" height="11" rx="2" ry="2"/> + <path d="M7,11V7a5,5,0,0,1,9.9-1"/> +</svg> \ 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 @@ </head> <body> {% include header.html %} + {% include icons.html %} {% include request.html %} {% include footer.html %} </body> -- 2.21.0