* 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>
23 lines
758 B
TypeScript
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>
|
|
)
|
|
}
|