Skip to content

Commit c5187fe

Browse files
committed
began introduction graphics
1 parent 706b144 commit c5187fe

File tree

4 files changed

+47
-17
lines changed

4 files changed

+47
-17
lines changed

src/components/LandingPage.css

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
overflow: hidden;
1010
}
1111

12-
.LandingPage .LandingPage-container {
12+
.LandingPage .lp-content-ctr {
1313
/* . . . Positioning . . . */
1414
position: absolute;
1515
display: flex;
@@ -20,16 +20,16 @@
2020
height: 100%;
2121
max-height: 100%;
2222
width: 100%;
23-
z-index: 1;
2423
/* . . . Fonts . . . */
2524
font-family: "munro";
2625
font-weight: 400;
2726
font-size: 16px;
2827
letter-spacing: 4px;
2928
font-smooth: never;
29+
z-index: 1;
3030
}
3131

32-
.LandingPage .bg-img-container {
32+
.LandingPage .bg-img-ctr {
3333
height: 100%;
3434
max-height: 100%;
3535
width: 100vw;
@@ -55,12 +55,23 @@
5555
z-index: 0;
5656
}
5757

58-
.LandingPage-container a {
58+
.LandingPage .lp-content-ctr a {
5959
text-decoration: none;
6060
color: rgb(208, 247, 239);
6161
}
6262

63-
.LandingPage-container .header-container {
63+
.LandingPage .lp-content-ctr .header-ctr {
64+
display: flex;
65+
flex: 1;
66+
align-items: center;
67+
justify-content: center;
68+
box-sizing: border-box;
69+
margin-bottom: 0%;
70+
width: 100%;
71+
z-index: 1;
72+
}
73+
74+
.LandingPage .lp-content-ctr .PersonalIntro {
6475
display: flex;
6576
flex: 1;
6677
align-items: center;
@@ -71,7 +82,13 @@
7182
z-index: 1;
7283
}
7384

74-
.LandingPage-container .link-container {
85+
.LandingPage .lp-content-ctr .PersonalIntro img {
86+
border: 10px ridge rgba(0, 255, 221, 0.767);
87+
padding: 3px;
88+
width: 300px;
89+
}
90+
91+
.LandingPage .lp-content-ctr .nav-ctr {
7592
display: flex;
7693
flex: 1;
7794
flex-direction: row;
@@ -81,13 +98,12 @@
8198
z-index: 1;
8299
}
83100

84-
.LandingPage-container .lp-link h1,
85-
.LandingPage-container .lp-link h2 {
101+
.LandingPage .lp-content-ctr .lp-link h1,
102+
.LandingPage .lp-content-ctr .lp-link h2 {
86103
padding: 30px 20px;
87-
z-index: 1;
88104
}
89105

90-
.LandingPage .HomeView-container {
106+
.LandingPage .HomeView-ctr {
91107
position: absolute;
92108
display: flex;
93109
flex: 1;
@@ -97,7 +113,6 @@
97113
width: 100vw;
98114
height: 100%;
99115
max-height: 100%;
100-
z-index: 0;
101116
}
102117

103118
.LandingPage .hide {

src/components/LandingPage.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import HomeView from "./HomeView";
77
import AuthContext from "../contexts/AuthContext";
88
import pixelBG from "../img/pixelBG_LowRes.png";
99
import pixelFadeBG from "../img/animated-14fps.png";
10+
import PersonalIntro from "./PersonalIntro";
1011

1112
interface Props {
1213
hueRotation: {
@@ -99,10 +100,10 @@ const LandingPage = ({ hueRotation, setHueDuration }: Props) => {
99100

100101
return (
101102
<div className={`LandingPage`}>
102-
<div className={`LandingPage-container ${hideLP}`}>
103+
<div className={`lp-content-ctr ${hideLP}`}>
103104
{fadeOut((style: any, item: any) =>
104105
item ? (
105-
<animated.div className={"header-container"} style={style}>
106+
<animated.div className={"header-ctr"} style={style}>
106107
<LandingPageLink
107108
currentDisplay={currentDisplay}
108109
linkText={currentDisplay}
@@ -115,9 +116,10 @@ const LandingPage = ({ hueRotation, setHueDuration }: Props) => {
115116
""
116117
)
117118
)}
119+
<PersonalIntro />
118120
{fadeOut((style: any, item: any) =>
119121
item ? (
120-
<animated.div className="link-container" style={style}>
122+
<animated.div className='nav-ctr' style={style}>
121123
<LandingPageLink
122124
currentDisplay={currentDisplay}
123125
linkText={link1Text}
@@ -137,16 +139,16 @@ const LandingPage = ({ hueRotation, setHueDuration }: Props) => {
137139
""
138140
)
139141
)}
140-
<div className="bg-img-container">
142+
<div className='bg-img-ctr'>
141143
<animated.img
142144
style={hueRotation}
143145
className={`bg-img`}
144146
src={currBG}
145-
alt=""
147+
alt=''
146148
/>
147149
</div>
148150
</div>
149-
<div className={`HomeView-container ${hideHV}`}>
151+
<div className={`HomeView-ctr ${hideHV}`}>
150152
<HomeView hueRotation={hueRotation} setHueDuration={setHueDuration} />
151153
</div>
152154
</div>

src/components/PersonalIntro.css

Whitespace-only changes.

src/components/PersonalIntro.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import "./PersonalIntro.css";
2+
import headshot from "../img/Headshot-PurpleFlannel.png";
3+
4+
const PersonalIntro = () => {
5+
return (
6+
<div className='PersonalIntro'>
7+
<img src={headshot} alt='jake-headshot-img' />
8+
<p>Hi I'm Jake</p>
9+
</div>
10+
);
11+
};
12+
13+
export default PersonalIntro;

0 commit comments

Comments
 (0)