|
1 | 1 | import styles from "./styles/page.module.css";
|
2 |
| -import Link from "next/link"; |
3 | 2 | import cx from "classnames";
|
4 | 3 | import { interFont, outfitFont } from "./styles/fonts";
|
5 |
| -import RightArrow from "./styles/icons/RightArrow"; |
6 | 4 | import CompanyLogos from "./components/CommunityLinks/CommunityLinks";
|
7 |
| -import { contentManager } from "@/lib/contentManager"; |
| 5 | +import HomePageLinks from "./components/HomePageLinks/HomePageLinks"; |
| 6 | +import { Flex } from "@chakra-ui/react"; |
8 | 7 |
|
9 | 8 | export default function Home() {
|
10 |
| - const outline = contentManager.getOutline(); |
11 | 9 | return (
|
12 | 10 | <div className={cx(styles.main, outfitFont.className)}>
|
13 | 11 | <div className={styles.wrapper}>
|
14 |
| - <div className={styles.titleWrapper}> |
15 |
| - <div className={styles.title}> |
16 |
| - <div>A Tour of</div> |
17 |
| - <div className={styles.jsonSchemaTitle}>JSON Schema</div> |
18 |
| - </div> |
19 |
| - <div className={styles.subtitleWrapper}> |
20 |
| - <div className={styles.subtitle1}> |
21 |
| - Build more. Break less. Empower others. |
| 12 | + <div className={styles.backgroundClipWrapper}> |
| 13 | + <div className={styles.titleWrapper}> |
| 14 | + <div className={styles.title}> |
| 15 | + <div>A Tour of</div> |
| 16 | + <div className={styles.jsonSchemaTitle}>JSON Schema</div> |
22 | 17 | </div>
|
23 |
| - <div className={styles.subtitle2}> |
24 |
| - Ensure confident & reliable use of JSON data with JSON Schema |
| 18 | + <div className={styles.subtitleWrapper}> |
| 19 | + <div className={styles.subtitle1}> |
| 20 | + Build more. Break less. Empower others. |
| 21 | + </div> |
| 22 | + <div className={styles.subtitle2}> |
| 23 | + Ensure confident & reliable use of JSON data with JSON Schema |
| 24 | + </div> |
25 | 25 | </div>
|
26 | 26 | </div>
|
27 | 27 | </div>
|
28 |
| - <Link |
29 |
| - href={ |
30 |
| - contentManager.getPathWithPrefix( |
31 |
| - outline[0].steps[0].fullPath, |
32 |
| - ) as string |
33 |
| - } |
34 |
| - > |
35 |
| - <button className={styles.mainBtn}> |
36 |
| - START NOW |
37 |
| - <RightArrow /> |
38 |
| - </button> |
39 |
| - </Link> |
| 28 | + <HomePageLinks /> |
40 | 29 | </div>
|
41 | 30 | <div className={styles.footer}>
|
42 | 31 | <div className={cx(styles.footerText, interFont.className)}>
|
|
0 commit comments