Skip to content

Commit e2ff6c3

Browse files
committed
not winning
1 parent 67a3d8a commit e2ff6c3

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/assets/about.jpg

7.8 MB
Loading

src/components/landing/hero.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,22 @@ import RedBlockButton from "../buttons/RedBlockButton"
66
import RedOutlineButton from "../buttons/RedOutlineButton"
77
import HeroImage from "../../images/astro.svg"
88
import constants from "../../constants"
9+
import About from "../../assets/about.jpg"
910
const Hero = () => (
1011
<>
1112
<div className="flex lg:flex-row s:flex-col text-left">
1213
<div className="">
13-
<img src={HeroImage} alt="hero " className="lg:hidden mb-10 " />
14+
<div
15+
style={{
16+
position: `relative`,
17+
background: `url(${About})`,
18+
backgroundSize: `cover`,
19+
backgroundRepeat: `no-repeat`,
20+
backgroundPosition: `center center`,
21+
backgroundAttachment: `fixed`,
22+
clipPath: `polygon(0 0, 100% 0, 100% 100%, 0 calc(20% - 5vw))`,
23+
}}
24+
/>
1425
<div>
1526
<img
1627
src={HeroImage}

0 commit comments

Comments
 (0)