()
| 2 | import { useTranslation } from 'components/hooks/useTranslation' |
| 3 | |
| 4 | export const HomePageHero = () => { |
| 5 | const { t } = useTranslation(['header', 'homepage']) |
| 6 | |
| 7 | return ( |
| 8 | <section id="landing" className="color-bg-subtle p-6"> |
| 9 | <div className="container-xl"> |
| 10 | <div className="gutter gutter-xl-spacious d-lg-flex flex-row-reverse flex-items-center"> |
| 11 | <div className="col-lg-6 col-xl-7 mb-4 mb-lg-0"> |
| 12 | <OctocatHeader /> |
| 13 | </div> |
| 14 | <div className="col-lg-6 col-xl-5"> |
| 15 | <h1>{t('github_docs')}</h1> |
| 16 | <p className="color-fg-muted f2 mb-0">{t('description')}</p> |
| 17 | </div> |
| 18 | </div> |
| 19 | </div> |
| 20 | </section> |
| 21 | ) |
| 22 | } |
nothing calls this directly
no test coverage detected