aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorllamaiscool <86912683+llamaiscoollol@users.noreply.github.com>2021-07-15 17:48:34 +0200
committerGitHub <noreply@github.com>2021-07-15 08:48:34 -0700
commit0d71702b4811cf29dcc5b4627236b9b747d06c07 (patch)
tree0439028930dbef2c9d1423f0c2fb17f5abf150a1 /src
parent9df3bbcb402cc35e2b2cd8aa2ec9d2b799e84e3e (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.js5
-rw-r--r--src/components/Card.js2
-rw-r--r--src/components/style.css4
-rw-r--r--src/images/wifi.pngbin0 -> 14913 bytes
4 files changed, 7 insertions, 4 deletions
diff --git a/src/App.js b/src/App.js
index 0895668..3832de1 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,14 +1,13 @@
1import React from 'react'; 1import React from 'react';
2import { Card } from './components/Card'; 2import { Card } from './components/Card';
3import './style.css'; 3import './style.css';
4import logo from '../src/images/wifi.png';
4 5
5function App() { 6function 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 &nbsp; WiFi Card 11 &nbsp; 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
69hr {
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