Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Commit 8caccf6

Browse files
add background for campus leader (#131)
1 parent 9a2e422 commit 8caccf6

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.vscode/settings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
{
2-
}
1+
{}

public/static/images/backs/cl.png

532 KB
Loading

src/components/Hero/HeroWithOneButton.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ function Hero({
5252
<div
5353
className={clsx(classes.root, className)}
5454
style={{
55-
backgroundImage: `url(${backgroundImage})`,
55+
backgroundImage: `${backgroundImage}`,
5656
backgroundSize: 'cover',
57-
backgroundRepeat: 'no-repeat'
57+
backgroundRepeat: 'no-repeat',
58+
backgroundPositionY: 'center'
5859
}}
5960
{...rest}
6061
>

src/views/pages/CLView/Hero.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function Hero({ className, ...rest }) {
99
title="Campus Leader"
1010
subtitle="Stand Up and fight for the Cause with the Code For Cause"
1111
className
12-
backgroundImage="/static/campusLeaders/hero.png"
12+
backgroundImage="linear-gradient(270.25deg, #180255 0.25%, rgba(0, 0, 0, 0.8) 48.47%, #000000 97.54%), url(/static/images/backs/cl.png)"
1313
component={<ApplyNowModal />}
1414
/>
1515
);

0 commit comments

Comments
 (0)