File tree Expand file tree Collapse file tree 3 files changed +30
-28
lines changed Expand file tree Collapse file tree 3 files changed +30
-28
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { useLocation, useNavigate } from "react-router-dom";
3
3
import "./styles/LandingPage.css" ;
4
4
import LandingPageLink from "./LandingPageLink" ;
5
5
import { animated , useTransition } from "react-spring" ;
6
- import AuthContext from "../contexts/AuthContext" ;
7
6
import pixelBG from "../img/pixelBG_LowRes.png" ;
8
7
import pixelFadeBG from "../img/animated-14fps.png" ;
9
8
import AppContext from "../contexts/AppContext" ;
@@ -54,9 +53,7 @@ const LandingPage = ({ setIsLanding }: Props) => {
54
53
55
54
useEffect ( ( ) => {
56
55
setCurrentPathContext ( currentPath ) ;
57
- if (
58
- // If current path is 'complete', transition to HomeView
59
- currentPath . includes ( "/gamedev" ) ||
56
+ if ( currentPath . includes ( "/gamedev" ) ||
60
57
currentPath . includes ( "/webdev" )
61
58
) {
62
59
setCurrBG ( pixelFadeBG ) ;
Original file line number Diff line number Diff line change 54
54
.HomeViewHeader .nav-ctr {
55
55
display : flex;
56
56
justify-content : center;
57
- width : 120px ;
58
57
}
59
58
60
59
.HomeViewHeader .nav-ctr ul {
Original file line number Diff line number Diff line change 10
10
z-index : 5 ;
11
11
}
12
12
13
- .LandingPage .lp-content-ctr {
14
- /* . . . Positioning . . . */
15
- position : absolute;
16
- display : flex;
17
- flex-direction : column;
18
- align-items : center;
19
- justify-content : center;
20
- box-sizing : border-box;
21
- height : 100% ;
22
- max-height : 100% ;
23
- width : 100% ;
24
- /* . . . Fonts . . . */
25
- font-family : "munro" ;
26
- font-weight : 400 ;
27
- font-size : 18px ;
28
- letter-spacing : 4px ;
29
- font-smooth : never;
30
- z-index : 1 ;
31
- }
32
-
33
13
.LandingPage .bg-img-ctr {
34
14
height : 100% ;
35
15
max-height : 100% ;
56
36
z-index : 0 ;
57
37
}
58
38
39
+ .LandingPage .lp-content-ctr {
40
+ /* . . . Positioning . . . */
41
+ position : absolute;
42
+ display : flex;
43
+ flex-direction : column;
44
+ align-items : center;
45
+ box-sizing : border-box;
46
+ height : 100% ;
47
+ max-height : 100% ;
48
+ width : 100% ;
49
+ /* . . . Fonts . . . */
50
+ font-family : "munro" ;
51
+ font-weight : 400 ;
52
+ font-size : 18px ;
53
+ letter-spacing : 4px ;
54
+ font-smooth : never;
55
+ z-index : 1 ;
56
+ }
57
+
59
58
.LandingPage .lp-content-ctr a {
60
59
text-decoration : none;
61
60
color : rgb (208 , 247 , 239 );
62
61
}
63
62
64
63
.LandingPage .lp-content-ctr .header-ctr {
65
64
display : flex;
66
- flex : 1 ;
65
+ flex : 6 ;
67
66
align-items : center;
68
67
justify-content : center;
69
68
box-sizing : border-box;
70
69
margin-bottom : 0% ;
71
70
width : 100% ;
71
+ height : fit-content;
72
72
z-index : 1 ;
73
73
}
74
74
75
75
.LandingPage .lp-content-ctr .PersonalIntro {
76
76
display : flex;
77
- flex : 1 ;
78
77
align-items : center;
79
78
justify-content : center;
80
79
box-sizing : border-box;
91
90
92
91
.LandingPage .lp-content-ctr .nav-ctr {
93
92
display : flex;
94
- flex : 1 ;
93
+ flex : 5 ;
95
94
flex-direction : row;
96
95
justify-content : space-evenly;
97
96
box-sizing : border-box;
98
97
width : 100% ;
99
98
z-index : 1 ;
100
99
}
101
100
101
+ .LandingPage .lp-content-ctr .lp-link {
102
+ display : flex;
103
+ align-items : center;
104
+ justify-content : center;
105
+ height : 90px ;
106
+ }
107
+
102
108
.LandingPage .lp-content-ctr .lp-link h1 ,
103
109
.LandingPage .lp-content-ctr .lp-link h2 {
104
110
font-weight : 600 ;
You can’t perform that action at this time.
0 commit comments