-
Notifications
You must be signed in to change notification settings - Fork 24
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
b8e7b44
commit d7dc76b
Showing
9 changed files
with
83 additions
and
50 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
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,32 +1,24 @@ | ||
import React from 'react'; | ||
import clsx from 'clsx'; | ||
import Link from '@docusaurus/Link'; | ||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; | ||
import React from "react"; | ||
import clsx from "clsx"; | ||
import Link from "@docusaurus/Link"; | ||
import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; | ||
|
||
import styles from './styles.module.css'; | ||
import styles from "./styles.module.css"; | ||
|
||
const Header = () => { | ||
const { siteConfig } = useDocusaurusContext(); | ||
|
||
return ( | ||
<header className={clsx('hero hero--primary', styles.heroBanner)}> | ||
<header className={clsx("hero hero--primary", styles.heroBanner)}> | ||
<div className="container"> | ||
<h1 className="hero__title">{siteConfig.title}</h1> | ||
<p className="hero__subtitle">{siteConfig.tagline}</p> | ||
<div className={styles.buttons}> | ||
<Link | ||
style={{ backgroundColor: '#EBFDF3' }} | ||
className="button button--secondary button--lg" | ||
to="mailto:hello@blackbox-vision.tech?subject=React Native MercadoPago PX" | ||
> | ||
Contactanos | ||
</Link> | ||
</div> | ||
<h1 className={clsx("hero__title", styles.heroText)}> | ||
{siteConfig.title} | ||
</h1> | ||
</div> | ||
</header> | ||
); | ||
}; | ||
|
||
Header.displayName = 'Header'; | ||
Header.displayName = "Header"; | ||
|
||
export default Header; |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.banner { | ||
padding: 4rem 0; | ||
text-align: center; | ||
background-color: #002b40; | ||
} | ||
|
||
.bannerText { | ||
color: white; | ||
} |