@@ -15,13 +15,17 @@ import {
1515import { SiReplit } from 'react-icons/si' ;
1616function Landing ( ) {
1717 const { theme, drawerOpen } = useContext ( ThemeContext ) ;
18+ let randomColor = Math . floor ( Math . random ( ) * 16777215 ) . toString ( 16 ) ;
19+ console . log ( randomColor )
20+ console . log ( `#,${ randomColor } ` )
21+
1822
1923 return (
2024 < div className = 'landing' >
2125 < div className = 'landing--container' >
2226 < div
2327 className = 'landing--container-left'
24- style = { { backgroundColor : theme . primary } }
28+ style = { { backgroundColor : theme . primary } }
2529 >
2630 < div className = 'lcl--content' >
2731 { socialsData . github && (
@@ -32,7 +36,6 @@ function Landing() {
3236 >
3337 < FaGithub
3438 className = 'landing--social'
35- style = { { color : theme . secondary70 } }
3639 aria-label = 'GitHub'
3740 />
3841 </ a >
@@ -45,7 +48,6 @@ function Landing() {
4548 >
4649 < FaTwitter
4750 className = 'landing--social'
48- style = { { color : theme . secondary70 } }
4951 aria-label = 'Twitter'
5052 />
5153 </ a >
@@ -58,7 +60,6 @@ function Landing() {
5860 >
5961 < FaLinkedin
6062 className = 'landing--social'
61- style = { { color : theme . secondary70 } }
6263 aria-label = 'LinkedIn'
6364 />
6465 </ a >
@@ -71,7 +72,6 @@ function Landing() {
7172 >
7273 < FaYoutube
7374 className = 'landing--social'
74- style = { { color : theme . secondary70 } }
7575 aria-label = 'YouTube'
7676 />
7777 </ a >
@@ -84,7 +84,6 @@ function Landing() {
8484 >
8585 < FaCodepen
8686 className = 'landing--social'
87- style = { { color : theme . secondary70 } }
8887 aria-label = 'CodePen'
8988 />
9089 </ a >
@@ -97,7 +96,6 @@ function Landing() {
9796 >
9897 < SiReplit
9998 className = 'landing--social'
100- style = { { color : theme . secondary70 } }
10199 aria-label = 'Replit'
102100 />
103101 </ a >
@@ -134,7 +132,7 @@ function Landing() {
134132 >
135133 < FaGithub
136134 className = 'landing--social2'
137- style = { { color : theme . secondary70 } }
135+
138136 aria-label = 'GitHub'
139137 />
140138 </ a >
@@ -147,7 +145,7 @@ function Landing() {
147145 >
148146 < FaTwitter
149147 className = 'landing--social2'
150- style = { { color : theme . secondary70 } }
148+
151149 aria-label = 'Twitter'
152150 />
153151 </ a >
@@ -160,7 +158,7 @@ function Landing() {
160158 >
161159 < FaLinkedin
162160 className = 'landing--social2'
163- style = { { color : theme . secondary70 } }
161+
164162 aria-label = 'LinkedIn'
165163 />
166164 </ a >
@@ -173,7 +171,7 @@ function Landing() {
173171 >
174172 < FaYoutube
175173 className = 'landing--social2'
176- style = { { color : theme . secondary70 } }
174+
177175 aria-label = 'YouTube'
178176 />
179177 </ a >
@@ -186,7 +184,7 @@ function Landing() {
186184 >
187185 < FaCodepen
188186 className = 'landing--social2'
189- style = { { color : theme . secondary70 } }
187+
190188 aria-label = 'CodePen'
191189 />
192190 </ a >
@@ -199,7 +197,7 @@ function Landing() {
199197 >
200198 < SiReplit
201199 className = 'landing--social2'
202- style = { { color : theme . secondary70 } }
200+
203201 aria-label = 'Replit'
204202 />
205203 </ a >
0 commit comments