Skip to content

Commit cb4412e

Browse files
committed
added header
1 parent 74d2c2a commit cb4412e

File tree

2 files changed

+66
-5
lines changed

2 files changed

+66
-5
lines changed
Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
<div class="home">
2+
<div class="header">
3+
<div class="left">
4+
NJ-Coder
5+
</div>
6+
<div class="right">
7+
<div class="link-wrappeer">
8+
<a href="#">TECHS</a>
9+
<a href="#">PORTFOLIO</a>
10+
<a href="#" class="hire-me">Hire Me</a>
11+
</div>
12+
</div>
13+
</div>
214
<div class="top-section">
315
<div class="left">
416
<div class="outer-circle">
@@ -7,4 +19,5 @@
719
</div>
820
<div class="right">2</div>
921
</div>
10-
</div>
22+
</div>
23+
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>

src/app/pages/home/home.component.scss

Lines changed: 52 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,64 @@
1-
$shadow-primary: #6E48AA;
2-
$shadow-secondary: #9D50BB;
1+
$shadow-primary: #1e3c72;
2+
$shadow-secondary: #2a5298;
33

44
.home {
55

6+
.header {
7+
display: grid;
8+
grid-template-columns: 30vw 70vw;
9+
width: 100%;
10+
position: fixed;
11+
z-index: 10;
12+
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
13+
14+
.left {
15+
padding: 1em 1em 1em 2em;
16+
text-align: left;
17+
background: $shadow-primary;
18+
}
19+
20+
.right {
21+
background: #ffffff;
22+
display: flex;
23+
align-items: center;
24+
justify-content: flex-end;
25+
padding-right: 10vw;
26+
27+
a {
28+
text-transform: uppercase;
29+
color: #000;
30+
font-size: 12px;
31+
margin-right: 2em;
32+
text-decoration: none;
33+
34+
&:last-child {
35+
margin: 0;
36+
}
37+
38+
&:hover:not(.hire-me) {
39+
color: $shadow-secondary;
40+
border-bottom: 1px solid $shadow-secondary;
41+
}
42+
}
43+
44+
.hire-me {
45+
color: #ffffff;
46+
background: linear-gradient(to right, $shadow-primary, $shadow-primary);
47+
padding: 2px 12px;
48+
border-radius: 12px;
49+
}
50+
}
51+
}
52+
653
.top-section {
754
height: 100vh;
855
width: 100%;
956
color: #fff;
1057
background: $shadow-secondary;
1158
background: linear-gradient(to right, $shadow-primary, $shadow-primary);
1259
display: grid;
13-
grid-template-columns: 30% 70%;
60+
grid-template-columns: 30vw 70vw;
61+
1462

1563
.left {
1664
height: 100%;
@@ -29,7 +77,7 @@ $shadow-secondary: #9D50BB;
2977
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
3078
border: 10px solid #ffffff;
3179
overflow: visible;
32-
z-index: 10;
80+
z-index: 1;
3381
display: flex;
3482
align-items: center;
3583
justify-content: center;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy