-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add @typeform/embed-react dependency and update banner and type…
…form components
- Loading branch information
Showing
8 changed files
with
238 additions
and
81 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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,57 @@ | ||
'use client' | ||
import { PopupButton } from '@typeform/embed-react'; | ||
import Image from 'next/image'; | ||
|
||
|
||
const TypeformCardHome = ({ typeformId }) => { | ||
// Your component logic here | ||
|
||
return ( | ||
<div | ||
className="card m-3 py-4 is-flex is-flex-direction-column" | ||
> | ||
<div className="card-image pt-5 has-text-centered"> | ||
<Image | ||
src={`/icon/mail-pink.svg`} | ||
width={0} | ||
height={0} | ||
sizes="100vw" | ||
className="icon-card" | ||
alt="" | ||
/> | ||
</div> | ||
<div className="card-content py-0 has-text-centered has-text-white is-flex-grow-1 is-flex is-flex-direction-column is-justify-content-space-evenly"> | ||
<div className="title is-size-3 is-size-4-touch"> | ||
Completá nuestra encuesta | ||
<h5 className="is-size-5 is-italic"> | ||
{/* PT */} | ||
Complete nossa pesquisa | ||
</h5> | ||
</div> | ||
<div className="card-description"> | ||
<p className="has-text-weight-bold is-size-5"> | ||
Queremos saber más sobre la crisis climática en la región y su impacto en las personas | ||
</p> | ||
<p className="is-size-6 is-italic"> | ||
{/* PT */} | ||
Queremos saber mais sobre a crise climática na região e seu impacto nas pessoas | ||
</p> | ||
</div> | ||
</div> | ||
<footer className="card-footer is-justify-content-center py-4"> | ||
<div> | ||
|
||
<PopupButton id={typeformId} className="button is-rounded has-background-pink has-text-white is-uppercase"> | ||
{/* Both Es & PT */} | ||
Completar encuesta | ||
</PopupButton> | ||
<br /> | ||
<span className="is-size-7">*Preencha a pesquisa</span> | ||
</div> | ||
</footer> | ||
</div> | ||
|
||
); | ||
}; | ||
|
||
export default TypeformCardHome; |
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.