1
0
mirror of synced 2025-12-23 03:44:00 -05:00
Files
docs/components/homepage/HomePageHero.tsx
Grace Park 10fea98af5 Search updates larger font (#27838)
* removing search from home page and adding to header

* remove homepage search

* adding description

* update to f5

* remove homepage search test

* removing homepage search rendering test

* showing preview of larger font

* update wording at breakpoint

* update to short description everywhere

* Update components/homepage/HomePageHero.tsx

Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>

* remove unnecessary stylesheet

* Update data/ui.yml

Co-authored-by: Janice <janiceilene@github.com>

Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>
Co-authored-by: Janice <janiceilene@github.com>
2022-05-20 12:12:36 -07:00

23 lines
758 B
TypeScript

import { OctocatHeader } from 'components/landing/OctocatHeader'
import { useTranslation } from 'components/hooks/useTranslation'
export const HomePageHero = () => {
const { t } = useTranslation(['header', 'homepage'])
return (
<section id="landing" className="color-bg-subtle p-6">
<div className="container-xl">
<div className="gutter gutter-xl-spacious d-lg-flex flex-row-reverse flex-items-center">
<div className="col-lg-6 col-xl-7 mb-4 mb-lg-0">
<OctocatHeader />
</div>
<div className="col-lg-6 col-xl-5">
<h1>{t('github_docs')}</h1>
<p className="color-fg-muted f2 mb-0">{t('description')}</p>
</div>
</div>
</div>
</section>
)
}