-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3d96e9
commit 1eb1843
Showing
9 changed files
with
127 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,33 @@ | ||
import styles from "./Hero.module.css"; | ||
import blob from "../images/blob.svg"; | ||
import retreatmobile from "../images/retreatmobile.svg" | ||
import retreat from "../images/Retreatclub-fyri-solbaddar.svg" | ||
import hemsedalHero2 from "../images/hemsedalhero2.svg" | ||
import styles from './Hero.module.css'; | ||
|
||
export default function Hero({mobile}: {mobile:boolean}) { | ||
return <section id="hero"> | ||
<div className={styles.container}> | ||
|
||
<div className={styles.img1}><img src={mobile ? retreatmobile : retreat} alt="hemsedalbilde" className={styles.hemsedalhero1}/></div> | ||
import blob from '../images/blob.svg'; | ||
import retreatmobile from '../images/retreatmobilee.svg'; | ||
import retreat from '../images/Retreatclub-fyri-solbaddar.svg'; | ||
import hemsedalHero2 from '../images/hemsedalhero2.svg'; | ||
|
||
export default function Hero({ mobile }: { mobile: boolean }) { | ||
return ( | ||
<section id="hero"> | ||
<div className={styles.container}> | ||
<img | ||
src={mobile ? retreatmobile : retreat} | ||
alt="hemsedalbilde" | ||
className={styles.hemsedalhero1} | ||
/> | ||
<div className={styles.blobandtext}> | ||
<div className={styles.text}> | ||
<h1>Hemsedal</h1> | ||
<h2>30. august-1. september</h2> | ||
</div> | ||
<div className={styles.blob}> | ||
<img className={styles.blobimg} src={blob} alt="blobben" /> | ||
<div className={styles.text}> | ||
<h1>Hemsedal</h1> | ||
<h2>30. august-1. september</h2> | ||
<img className={styles.blobimg} src={blob} alt="blobben" /> | ||
</div> | ||
</div> | ||
</div> | ||
<div className={styles.img2}><img src={hemsedalHero2} alt="hemsedalbilde" className={styles.hemsedalhero2}/></div> | ||
</div> | ||
</section>; | ||
<img | ||
src={hemsedalHero2} | ||
alt="hemsedalbilde" | ||
className={styles.hemsedalhero2} | ||
/> | ||
</div> | ||
</section> | ||
); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.