diff options
| author | llamaiscool <86912683+llamaiscoollol@users.noreply.github.com> | 2021-07-15 17:48:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-15 08:48:34 -0700 |
| commit | 0d71702b4811cf29dcc5b4627236b9b747d06c07 (patch) | |
| tree | 0439028930dbef2c9d1423f0c2fb17f5abf150a1 /src | |
| parent | 9df3bbcb402cc35e2b2cd8aa2ec9d2b799e84e3e (diff) | |
Added website icon and small design change in WiFi details box (#45)
* Added website icon and small design change in WiFi details box
* Fixed few errors of previous pull
* Fixed errors of previous pull
Diffstat (limited to 'src')
| -rw-r--r-- | src/App.js | 5 | ||||
| -rw-r--r-- | src/components/Card.js | 2 | ||||
| -rw-r--r-- | src/components/style.css | 4 | ||||
| -rw-r--r-- | src/images/wifi.png | bin | 0 -> 14913 bytes |
4 files changed, 7 insertions, 4 deletions
| @@ -1,14 +1,13 @@ | |||
| 1 | import React from 'react'; | 1 | import React from 'react'; |
| 2 | import { Card } from './components/Card'; | 2 | import { Card } from './components/Card'; |
| 3 | import './style.css'; | 3 | import './style.css'; |
| 4 | import logo from '../src/images/wifi.png'; | ||
| 4 | 5 | ||
| 5 | function App() { | 6 | function App() { |
| 6 | return ( | 7 | return ( |
| 7 | <div className="App"> | 8 | <div className="App"> |
| 8 | <h1> | 9 | <h1> |
| 9 | <span role="img" aria-label="antenna-bars"> | 10 | <img alt="icon" src={logo} width="32" height="32" /> |
| 10 | πΆ | ||
| 11 | </span> | ||
| 12 | WiFi Card | 11 | WiFi Card |
| 13 | </h1> | 12 | </h1> |
| 14 | 13 | ||
diff --git a/src/components/Card.js b/src/components/Card.js index 98c5f6b..0011ca8 100644 --- a/src/components/Card.js +++ b/src/components/Card.js | |||
| @@ -160,7 +160,7 @@ export const Card = () => { | |||
| 160 | </div> | 160 | </div> |
| 161 | </div> | 161 | </div> |
| 162 | </div> | 162 | </div> |
| 163 | 163 | <hr /> | |
| 164 | <p> | 164 | <p> |
| 165 | <span role="img" aria-label="mobile-phone"> | 165 | <span role="img" aria-label="mobile-phone"> |
| 166 | πΈπ± | 166 | πΈπ± |
diff --git a/src/components/style.css b/src/components/style.css index 5ce3d34..b874a57 100644 --- a/src/components/style.css +++ b/src/components/style.css | |||
| @@ -65,3 +65,7 @@ button#rotate { | |||
| 65 | top: 0; | 65 | top: 0; |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | |||
| 69 | hr { | ||
| 70 | margin-top: 25px; | ||
| 71 | } | ||
diff --git a/src/images/wifi.png b/src/images/wifi.png new file mode 100644 index 0000000..6cef0c8 --- /dev/null +++ b/src/images/wifi.png | |||
| Binary files differ | |||
