| Conditions | 1 |
| Total Lines | 20 |
| Code Lines | 20 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import React from 'react'; |
||
| 10 | |||
| 11 | function HomepageHeader() { |
||
| 12 | const {siteConfig} = useDocusaurusContext(); |
||
| 13 | return ( |
||
| 14 | <header className={clsx('hero hero--primary', styles.heroBanner)}> |
||
| 15 | <div className="container"> |
||
| 16 | <h1 className="hero__title">{siteConfig.title}</h1> |
||
| 17 | <p className="hero__subtitle">{siteConfig.tagline}</p> |
||
| 18 | <div className={styles.heroCode}> |
||
| 19 | <CodeBlock>composer require qoraiche/laravel-mail-editor</CodeBlock> |
||
| 20 | </div> |
||
| 21 | <div className={styles.buttons}> |
||
| 22 | <Link |
||
| 23 | className="button button--secondary button--lg" |
||
| 24 | to="/docs/intro"> |
||
| 25 | Get Started 🚀 |
||
| 26 | </Link> |
||
| 27 | </div> |
||
| 28 | </div> |
||
| 29 | </header> |
||
| 30 | ); |
||
| 45 |