-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from climaxmba/WEB-11
chore: add video placeholder (WEB-11)
- Loading branch information
Showing
4 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@800&display=swap"); | ||
|
||
.heroSection { | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: 1rem; | ||
justify-content: space-between; | ||
padding: 5rem 3rem; | ||
margin: 3rem 0; | ||
background-image: url("/assets/dsdHeroBg.png"); | ||
background-repeat: no-repeat; | ||
background-position: bottom right; | ||
background-size: contain; | ||
} | ||
|
||
.videoPlaceholder { | ||
font-family: "Raleway", sans-serif; | ||
text-align: center; | ||
font-weight: 700; | ||
font-size: 36px; | ||
height: 320px; | ||
width: 460px; | ||
background-color: lightgrey; | ||
color: black; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
"use client"; | ||
|
||
import React from "react"; | ||
import styles from "./heroSection.module.css"; | ||
|
||
interface HeroSection { | ||
label: { | ||
lblHome: string; | ||
lblCommunity: string; | ||
lblContact: string; | ||
lblMeetup: string; | ||
lblBanner: string; | ||
lblWorkshops: string; | ||
lblSupport: string; | ||
lblCohorts: string; | ||
}; | ||
} | ||
|
||
export default function HeroSection({ label }: HeroSection) { | ||
return ( | ||
<div className={styles.heroSection}> | ||
<div className={styles.videoPlaceholder}>Video playing here</div> | ||
</div> | ||
); | ||
} |
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