Skip to content

Commit e02d728

Browse files
committed
blurbs added
1 parent c172e6f commit e02d728

File tree

5 files changed

+43
-0
lines changed

5 files changed

+43
-0
lines changed

app/(pages)/hackers/_components/Welcome/Welcome.module.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ $pad-size: 16px;
1313
display: flex;
1414
flex-direction: row;
1515
justify-content: center;
16+
position: relative;
1617

1718
&_title{
1819
margin-top: 58px;
@@ -49,4 +50,23 @@ $pad-size: 16px;
4950
margin-left: -$pad-size;
5051
transform: translateY(10%);
5152
}
53+
}
54+
55+
.top_blurb {
56+
position: absolute;
57+
right: 0;
58+
top: 0;
59+
}
60+
61+
.top_left_blurb {
62+
position: absolute;
63+
left: 0;
64+
top: 0;
65+
}
66+
67+
.bottom_blurb {
68+
position: absolute;
69+
right: 0;
70+
bottom: 0;
71+
opacity: 0.3;
5272
}

app/(pages)/hackers/_components/Welcome/Welcome.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,25 @@ import judge_cow from '/public/hackers/judge_cow.svg';
55
import judge_wig from '/public/hackers/judge_wig.svg';
66
import judge_gavel from '/public/hackers/judge_gavel.svg';
77
import judge_sparkles from '/public/hackers/judge_sparkles.svg';
8+
import bg_bottom from '/public/hackers/bg_bottom.svg';
9+
import bg_top from '/public/hackers/bg_top.svg';
10+
import bg_topleft from '/public/hackers/bg_topleft.svg';
811

912
export default function Welcome() {
1013
return (
1114
<div className={styles.welcome}>
1215
<div className={styles.container}>
16+
<Image
17+
src={bg_bottom}
18+
alt="bottom blurb"
19+
className={styles.bottom_blurb}
20+
/>
21+
<Image src={bg_top} alt="top blurb" className={styles.top_blurb} />
22+
<Image
23+
src={bg_topleft}
24+
alt="top left blurb"
25+
className={styles.top_left_blurb}
26+
/>
1327
<div className={styles.container_title}>
1428
<h2>Welcome to HackDavis,</h2>
1529
<h1>Hackers!</h1>

public/hackers/bg_bottom.svg

Lines changed: 3 additions & 0 deletions
Loading

public/hackers/bg_top.svg

Lines changed: 3 additions & 0 deletions
Loading

public/hackers/bg_topleft.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)