-
Notifications
You must be signed in to change notification settings - Fork 3
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
56ef43b
commit af818d7
Showing
8 changed files
with
78 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
export { default } from './component'; | ||
import dynamic from 'next/dynamic'; | ||
|
||
const ModalComponent = dynamic(() => import('./component'), { ssr: false }); | ||
|
||
export default ModalComponent; | ||
export type { ModalProps } from './types'; |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { useCallback, useState } from 'react'; | ||
|
||
import Webinar from 'containers/methodology/webinar/component'; | ||
import Modal from 'components/modal'; | ||
|
||
export const WelcomeModal: React.FC = () => { | ||
const [isOpen, setIsOpen] = useState(true); | ||
const handleDismissModal = useCallback(() => setIsOpen(!isOpen), [isOpen]); | ||
|
||
return ( | ||
<Modal open={isOpen} onDismiss={handleDismissModal}> | ||
<Webinar /> | ||
</Modal> | ||
); | ||
}; | ||
|
||
export default WelcomeModal; |
File renamed without changes.
74 changes: 30 additions & 44 deletions
74
marketing/src/containers/methodology/webinar/component.tsx
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,49 +1,35 @@ | ||
import { FC } from 'react'; | ||
|
||
import Wrapper from 'containers/wrapper'; | ||
|
||
const Webinar: FC = () => { | ||
return ( | ||
<section className="bg-white" id="stay-up-to-date"> | ||
<div className="relative z-20"> | ||
<Wrapper> | ||
<div | ||
className="relative max-w-[993px] h-[495px] space-y-12 py-12 px-14 mx-auto text-white bg-blue-900 bg-cover bg-center bg-no-repeat" | ||
style={{ | ||
backgroundImage: 'url(/images/methodology/webinar-bg.png)', | ||
}} | ||
> | ||
<div className="space-y-2"> | ||
<div className="uppercase text-xl font-display font-black">Coming soon</div> | ||
<h2 className="uppercase text-[55px] leading-tight font-display font-black"> | ||
5 New, <span className="bg-orange-500 text-blue-900">Open-Access Datasets</span> | ||
<br /> and our SBTN-Aligned | ||
<br /> Methodology. | ||
</h2> | ||
</div> | ||
<div className="flex justify-between items-end"> | ||
<div className="space-y-4"> | ||
<p className="text-2xl">Join our webinar to find out more.</p> | ||
<div> | ||
<strong>Date & Time:</strong> Tues 21st Nov | 3pm CEST | 9am ET | ||
</div> | ||
</div> | ||
<a | ||
href="https://us02web.zoom.us/webinar/register/3516986785955/WN_jrVPnHiySFKNXd1nDRPwNQ#/registration" | ||
className="font-semibold block w-[195px] h-[82px] flex items-center hover:cursor-pointer justify-center border-2 border-white" | ||
> | ||
Register now | ||
</a> | ||
</div> | ||
</div> | ||
</Wrapper> | ||
</div> | ||
|
||
<div className="flex flex-col justify-end overflow-hidden relative z-10 aspect-[1440/580] -mt-80"> | ||
<video src="/videos/earth.mp4" className="w-full aspect-auto" loop muted /> | ||
const Webinar: FC = () => ( | ||
<div | ||
className="relative max-w-[993px] h-[495px] space-y-12 py-12 px-14 mx-auto text-white bg-blue-900 bg-cover bg-center bg-no-repeat" | ||
style={{ | ||
backgroundImage: 'url(/images/methodology/webinar-bg.png)', | ||
}} | ||
> | ||
<div className="space-y-2"> | ||
<div className="uppercase text-xl font-display font-black">Coming soon</div> | ||
<h2 className="uppercase text-[55px] leading-tight font-display font-black"> | ||
5 New, <span className="bg-orange-500 text-blue-900">Open-Access Datasets</span> | ||
<br /> and our SBTN-Aligned | ||
<br /> Methodology. | ||
</h2> | ||
</div> | ||
<div className="flex justify-between items-end"> | ||
<div className="space-y-4"> | ||
<p className="text-2xl">Join our webinar to find out more.</p> | ||
<div> | ||
<strong>Date & Time:</strong> Tues 21st Nov | 3pm CEST | 9am ET | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
}; | ||
<a | ||
href="https://us02web.zoom.us/webinar/register/3516986785955/WN_jrVPnHiySFKNXd1nDRPwNQ#/registration" | ||
className="font-semibold block w-[195px] h-[82px] flex items-center hover:cursor-pointer justify-center border-2 border-white" | ||
> | ||
Register now | ||
</a> | ||
</div> | ||
</div> | ||
); | ||
|
||
export default Webinar; |
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,21 @@ | ||
import { FC } from 'react'; | ||
|
||
import Wrapper from 'containers/wrapper'; | ||
|
||
import WebinarContent from './component'; | ||
|
||
const Webinar: FC = () => ( | ||
<section className="bg-white" id="stay-up-to-date"> | ||
<div className="relative z-20"> | ||
<Wrapper> | ||
<WebinarContent /> | ||
</Wrapper> | ||
</div> | ||
|
||
<div className="flex flex-col justify-end overflow-hidden relative z-10 aspect-[1440/580] -mt-80"> | ||
<video src="/videos/earth.mp4" className="w-full aspect-auto" loop muted /> | ||
</div> | ||
</section> | ||
); | ||
|
||
export default Webinar; |
af818d7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
landgriffon-marketing – ./marketing
landgriffon-marketing.vercel.app
landgriffon-marketing-vizzuality1.vercel.app
landgriffon-marketing-git-dev-vizzuality1.vercel.app