Skip to content

Commit 2b5b373

Browse files
committed
Public folder added
1 parent 94ab8fe commit 2b5b373

File tree

6 files changed

+19
-3
lines changed

6 files changed

+19
-3
lines changed
File renamed without changes.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
function Title({title,head}) {
2+
return(
3+
<>
4+
<div className="Title">
5+
<h3 className="Title-title">{title}</h3>
6+
<h1 className="Title-head">{head}</h1>
7+
</div>
8+
</>
9+
)
10+
}
11+
12+
export default Title;

src/Styles/App.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
.hero {
4242
min-height: 100vh;
43-
background: linear-gradient(rgba(60, 55, 94, 0.7019607843), rgba(70, 63, 111, 0.7019607843)), url(/herobg.png);
43+
background: linear-gradient(rgba(60, 55, 94, 0.7019607843), rgba(70, 63, 111, 0.7019607843)), url(../../../public/herobg.png);
4444
background-size: cover;
4545
background-position: center;
4646
color: #fff;

src/Styles/App.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Styles/LandingPage/_Hero.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.hero {
22
min-height: 100vh;
3-
background: linear-gradient(#3c375eb3,#463f6fb3),url(/herobg.png);
3+
background: linear-gradient(#3c375eb3,#463f6fb3),url(../../../public/herobg.png);
44
background-size: cover;
55
background-position: center;
66
color: #fff;

src/Styles/LandingPage/_Title.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Title{
2+
padding: 1rem;
3+
text-align: center;
4+
}

0 commit comments

Comments
 (0)