File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,8 +5,11 @@ import '../stylesheets/Home.scss';
55
66const Home = ( ) => (
77 < div className = "home" >
8- < img src = { '../assets/pangolin.png' } alt = "Chronos logo" />
9- < h1 id = "welcome" > Welcome to Chronos!</ h1 >
8+ < div className = "pangolin-container" >
9+ < img src = { '../assets/pangolin.png' } alt = "Chronos logo" />
10+ </ div >
11+ < h1 id = "welcome" > Welcome to Chronos</ h1 >
12+ < p > A very short short description about Chronos...</ p >
1013 < Link className = "get-started-btn" to = "/applications" >
1114 Get Started
1215 </ Link >
Original file line number Diff line number Diff line change 1+ @import ' ./constants.scss' ;
2+
13.home {
24 background-color : #f4f4f4 ;
35 height : 100% ;
46 display : flex ;
57 align-items : center ;
68 justify-content : flex-start ;
79 flex-direction : column ;
8- }
910
10- .home img {
11- margin-top : 75px ;
12- width : 400px ;
13- height : auto ;
14- animation : twirl 20s infinite linear ;
15- transition : 0.3s ease-in ;
16- }
11+ .pangolin-container {
12+ margin-top : 65px ;
13+ height : auto ;
14+ width : 40% ;
15+ max-width : 650px ;
16+
17+ img {
18+ width : 100% ;
19+ animation : twirl 20s infinite linear ;
20+ transition : 0.3s ease-in ;
21+
22+ & :hover {
23+ filter : brightness (0.9 );
24+ }
25+ }
26+ }
27+
28+ h1 {
29+ font-size : 325% ;
30+ letter-spacing : 2px ;
31+ }
1732
18- .home h1 {
19- font-size : 325% ;
20- letter-spacing : 2px ;
21- margin : 0 0 15px ;
33+ p {
34+ margin : 15px 0 ;
35+ }
2236}
2337
2438.get-started-btn {
4054.get-started-btn :hover {
4155 background-color : #494fee ;
4256}
43-
44- .home img :hover {
45- filter : brightness (0.90 );
46- }
47- @keyframes twirl {
48- from {
49- transform : rotateZ (0deg );
50- }
51- to {
52- transform : rotateZ (360deg );
53- }
54- }
Original file line number Diff line number Diff line change 66 @include centerWithFlex (space-between );
77 flex-direction : column ;
88
9+ .main-routes {
10+ width : 100% ;
11+ height : 100% ;
12+ }
13+
914 .copyright-container {
1015 @include centerWithFlex ();
1116 width : 100% ;
Original file line number Diff line number Diff line change @@ -17,4 +17,13 @@ $headergray: #dedede;
1717 100% {
1818 background-color : rgb (170 , 1 , 1 );
1919 }
20+ }
21+
22+ @keyframes twirl {
23+ from {
24+ transform : rotateZ (0deg );
25+ }
26+ to {
27+ transform : rotateZ (360deg );
28+ }
2029}
You can’t perform that action at this time.
0 commit comments