Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4a6180a

Browse files
author
Pbatch
authored
Merge pull request Pbatch#39 from Pbatch/pb_home
Fix home screen
2 parents b2e655e + 1e68708 commit 4a6180a

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

src/components/home/header.tsx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,26 @@ const Header = () => {
1919

2020
return (
2121
<div className="row py-2 m-0 align-items-center">
22-
<div className="col-5 text-end">
22+
<div className="col-3 px-1">
2323
<h3>
24-
ChessCam&nbsp;&nbsp;
25-
<i className="h1 bi bi-info-circle" onClick={() => navigate("/faq")}></i>
24+
ChessCam
2625
</h3>
2726
</div>
28-
<div className="col-7 text-end">
27+
<div className="col-2 px-1">
28+
<i className="h1 bi bi-info-circle" onClick={() => navigate("/faq")}></i>
29+
</div>
30+
<div className="col-3 px-1">
2931
<h6>
3032
<button className="btn btn-dark btn-outline-light" onClick={handleClick}>
3133
{username === "" ? "Login" : "Logout"}
3234
</button>
33-
&nbsp;&nbsp;{username}
3435
</h6>
3536
</div>
37+
<div className="col-4 px-1">
38+
<h6>
39+
{username}
40+
</h6>
41+
</div>
3642

3743
</div>
3844
);

src/components/home/socials.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
import { SocialIcon } from 'react-social-icons/component'
2-
import 'react-social-icons/twitter'
32
import 'react-social-icons/youtube'
43
import 'react-social-icons/github'
5-
import 'react-social-icons/instagram'
64
import 'react-social-icons/google_play'
75

86
const Socials = () => {
97
const socials = [
108
{"network": "github", "url": "https://github.com/Pbatch/CameraChessWeb", "bgColor": "#111111"},
119
{"network": "youtube", "url": "https://www.youtube.com/channel/UCtgc3RevHj6UHq1D8Ymarmw"},
12-
{"network": "google_play", "url": "https://play.google.com/store/apps/details?id=com.camerachess.www.twa"},
13-
{"network": "instagram", "url": "https://www.instagram.com/chess.cam/"},
14-
{"network": "twitter", "url": "https://twitter.com/chesscam1"}
10+
{"network": "google_play", "url": "https://play.google.com/store/apps/details?id=com.camerachess.www.twa"}
1511
]
1612

1713
const icons: any[] = [];

0 commit comments

Comments
 (0)