-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathindex.tsx
More file actions
53 lines (51 loc) · 1.72 KB
/
index.tsx
File metadata and controls
53 lines (51 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import React from "react";
import clsx from "clsx";
import Translate from "@docusaurus/Translate";
import HeroBg from "./HeroBgAnimation";
import styles from "./styles.module.scss";
import { useIsJapanese } from "@site/src/utils/isJapanese";
import { useGetCurrentLocale } from "@site/src/utils/useGetCurrentLocale";
export default function HomepageHero(): JSX.Element {
const isJapanese = useIsJapanese();
const currentLocale = useGetCurrentLocale();
return (
<header className={clsx("bg-11-o-clock text-white", styles.homepageHero)}>
<div
className={clsx(
"container",
styles.homepageHeroContent,
styles.textShadow
)}
>
<div className="row">
<div className={`col ${isJapanese ? "col--12" : "col--10"}`}>
<h1
className={clsx(
styles.heroHeading,
`${
currentLocale in styles ? styles[currentLocale] : "type-alpha"
}`
)}
>
<Translate id="homepage.heroTitle">
An open-source identity solution built for the open internet
</Translate>
</h1>
</div>
</div>
<div className="row">
<div className="col col--6">
<p className={clsx("type-paragraph-large")}>
<Translate id="homepage.heroCopy">
Unified ID 2.0 leverages encrypted email and phone number data
to provide a privacy-conscious, secure, and accurate identity
standard for the entire digital advertising ecosystem.
</Translate>
</p>
</div>
</div>
</div>
<HeroBg />
</header>
);
}