From 024d13237652732d4e02f9c42c91e4c4c45fb1d0 Mon Sep 17 00:00:00 2001 From: ANNotunzdY Date: Sat, 19 May 2018 17:17:33 +0900 Subject: [PATCH] Change Design --- README.md | 5 +++++ index.php | 4 ++-- via-IPv4-red.svg | 1 + via-IPv6-green.svg | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 via-IPv4-red.svg create mode 100644 via-IPv6-green.svg diff --git a/README.md b/README.md index 1c2f6d2..7ad6130 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,8 @@ xhr.send(null); ## More info http://qiita.com/ANNotunzdY/items/17805a4d7a2d797822ea + + +## SVG Design + +https://shields.io diff --git a/index.php b/index.php index d5d2d6f..f04062e 100644 --- a/index.php +++ b/index.php @@ -7,9 +7,9 @@ } if (preg_match('/^(([1-9]?[0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([1-9]?[0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/', $ip)) { - echo '
via IPv4
'; + echo '
'; } else { - echo '
via IPv6
'; + echo '
'; } ?> \ No newline at end of file diff --git a/via-IPv4-red.svg b/via-IPv4-red.svg new file mode 100644 index 0000000..9a13171 --- /dev/null +++ b/via-IPv4-red.svg @@ -0,0 +1 @@ +viaviaIPv4IPv4 \ No newline at end of file diff --git a/via-IPv6-green.svg b/via-IPv6-green.svg new file mode 100644 index 0000000..cc1a26e --- /dev/null +++ b/via-IPv6-green.svg @@ -0,0 +1 @@ +viaviaIPv6IPv6 \ No newline at end of file