diff --git a/README.md b/README.md
index fb9af18..729a61c 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,8 @@
-## About
+
+
+
+wimi
+
wimi relays information about your public IP address
from
@@ -13,12 +17,6 @@ The extension can be built locally and installed as a
developer extension / addon on both Chromium and FireFox.
There are XPI files provided for FireFox users as well.
-## Example
-
-
-
-
-
## Install
**Chrome**
diff --git a/bin/iconify b/bin/iconify
deleted file mode 100755
index ab7e372..0000000
--- a/bin/iconify
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-set -e
-sizes="16x16 48x48 64x64 128x128 256x256"
-dir="src/images/icons"
-for size in ${sizes}; do
- convert ${dir}/icon.svg \
- -resize ${size} \
- -background none \
- -trim +repage \
- -fuzz 5% \
- -transparent white \
- -gravity center \
- -extent $size \
- ${dir}/wtf${size}.png
-done
diff --git a/bin/mkicons b/bin/mkicons
new file mode 100755
index 0000000..18bc2f8
--- /dev/null
+++ b/bin/mkicons
@@ -0,0 +1,22 @@
+#!/bin/sh
+set -e
+
+##
+# variables
+sizes="16x16 48x48 64x64 128x128 256x256"
+dir="src/images/"
+
+##
+# main
+for size in ${sizes}; do
+ gm convert \
+ "${dir}"/icon.svg \
+ -resize "${size}" \
+ -background none \
+ -trim +repage \
+ -fuzz 5% \
+ -transparent white \
+ -gravity center \
+ -extent "${size}" \
+ "${dir}"/icon"${size}".png
+done
diff --git a/share/wimi/CHANGELOG b/share/wimi/CHANGELOG
index 745b553..9214b47 100644
--- a/share/wimi/CHANGELOG
+++ b/share/wimi/CHANGELOG
@@ -1,5 +1,17 @@
# -*- mode: org -*-
+** vNEXT
+
+**** Add bin/mkicons
+Replace the previous script
+
+**** Add new icons
+Replace the previous set of icons with wimi icons
+
+**** Hello wimi
+The project is now known as wimi - short for:
+what is my ip address
+
** v0.5.1
**** Shorten description in manifest
diff --git a/share/wimi/wimi.png b/share/wimi/wimi.png
deleted file mode 100644
index 3dcaea2..0000000
Binary files a/share/wimi/wimi.png and /dev/null differ
diff --git a/src/css/index.css b/src/css/index.css
index 6d73cc7..1372954 100644
--- a/src/css/index.css
+++ b/src/css/index.css
@@ -1,45 +1,11 @@
:root {
- /* Defaults */
- --default-font-size: 1.15em;
-
/* Colors */
- --primary-red: #d73e48;
- --primary-green: #32b643;
- --primary-blue: #302ecd;
- --secondary-blue: #807fe2;
- --primary-white: #FFF;
- --secondary-white: #f1f1fc;
+ --primary-color: #E3F2FD;
+ --secondary-color: #333333;
+ --accent-color: #007BFF;
}
-body {
- font-size: small;
- width: 400px;
-}
-
-#root, .loader {
- height: 100%;
-}
-a {
- color: var(--primary-blue) !important;
- text-decoration: none;
-}
-a:visited {
- color: var(--primary-blue) !important;
-}
-a:active, a:focus, a:hover {
- color: var(--primary-blue) !important;
- text-decoration: underline;
-}
-
-footer {
- background: var(--secondary-white);
- color: var(--primary-red);
- width: 100%;
-}
-
-.loader {
- display: flex;
- flex-direction: column;
- align-items: center;
- place-content: center;
+#root {
+ background: var(--primary-color);
+ color: var(--secondary-color);
}
diff --git a/src/html/browseraction.html b/src/html/browseraction.html
index 41efe86..c3dad32 100644
--- a/src/html/browseraction.html
+++ b/src/html/browseraction.html
@@ -5,8 +5,8 @@
-
-
+
+
diff --git a/src/images/icon.svg b/src/images/icon.svg
new file mode 100644
index 0000000..90046a9
--- /dev/null
+++ b/src/images/icon.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/images/icon128x128.png b/src/images/icon128x128.png
new file mode 100644
index 0000000..f850333
Binary files /dev/null and b/src/images/icon128x128.png differ
diff --git a/src/images/icon16x16.png b/src/images/icon16x16.png
new file mode 100644
index 0000000..33b2ff2
Binary files /dev/null and b/src/images/icon16x16.png differ
diff --git a/src/images/icon256x256.png b/src/images/icon256x256.png
new file mode 100644
index 0000000..f453329
Binary files /dev/null and b/src/images/icon256x256.png differ
diff --git a/src/images/icon48x48.png b/src/images/icon48x48.png
new file mode 100644
index 0000000..7616b99
Binary files /dev/null and b/src/images/icon48x48.png differ
diff --git a/src/images/icon64x64.png b/src/images/icon64x64.png
new file mode 100644
index 0000000..c7503b8
Binary files /dev/null and b/src/images/icon64x64.png differ
diff --git a/src/images/icons/icon.svg b/src/images/icons/icon.svg
deleted file mode 100644
index df87c90..0000000
--- a/src/images/icons/icon.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/src/images/icons/wtf128x128.png b/src/images/icons/wtf128x128.png
deleted file mode 100644
index a02de73..0000000
Binary files a/src/images/icons/wtf128x128.png and /dev/null differ
diff --git a/src/images/icons/wtf16x16.png b/src/images/icons/wtf16x16.png
deleted file mode 100644
index 8c83b62..0000000
Binary files a/src/images/icons/wtf16x16.png and /dev/null differ
diff --git a/src/images/icons/wtf256x256.png b/src/images/icons/wtf256x256.png
deleted file mode 100644
index 14ab62d..0000000
Binary files a/src/images/icons/wtf256x256.png and /dev/null differ
diff --git a/src/images/icons/wtf48x48.png b/src/images/icons/wtf48x48.png
deleted file mode 100644
index 19c216a..0000000
Binary files a/src/images/icons/wtf48x48.png and /dev/null differ
diff --git a/src/images/icons/wtf64x64.png b/src/images/icons/wtf64x64.png
deleted file mode 100644
index ce2ebca..0000000
Binary files a/src/images/icons/wtf64x64.png and /dev/null differ
diff --git a/src/js/components/App.tsx b/src/js/components/App.tsx
index 6af22a7..ee8643d 100644
--- a/src/js/components/App.tsx
+++ b/src/js/components/App.tsx
@@ -1,15 +1,29 @@
-import { ErrorRenderer } from "~/components/ErrorRenderer";
-import { ResponseRenderer } from "~/components/ResponseRenderer";
-import { Loader } from "~/components/Loader";
import { useWebService } from "~/hooks/useWebService";
-
export function App() {
const [response, error] = useWebService();
if (response) {
- return ;
+ return (
+