|
| 1 | +import { ReactNode } from "react"; |
| 2 | +import { Innovate, Teammates, Path } from "@carbon/pictograms-react"; |
| 3 | + |
1 | 4 | import styles from "./TwoColumn.module.scss";
|
2 |
| -import { Grid, Column } from "components/Grid"; |
| 5 | +import { Grid } from "components/Grid"; |
| 6 | +import Image from "next/future/image"; |
| 7 | +import screen from "media/screen.png"; |
| 8 | + |
| 9 | +const ListItem = ({ |
| 10 | + children, |
| 11 | + icon, |
| 12 | +}: { |
| 13 | + icon: ReactNode; |
| 14 | + children: ReactNode; |
| 15 | +}) => { |
| 16 | + return ( |
| 17 | + <li className={styles.listItem}> |
| 18 | + <div className={styles.iconWrapper}>{icon}</div> |
| 19 | + <p>{children}</p> |
| 20 | + </li> |
| 21 | + ); |
| 22 | +}; |
3 | 23 |
|
4 | 24 | const TwoColumn = () => {
|
5 | 25 | return (
|
6 |
| - <Grid> |
7 |
| - <Column sm={4} lg={8}> |
8 |
| - <ul> |
9 |
| - <li> |
10 |
| - Let us run Ray for you, hosted on cloud infrastructure fully managed |
11 |
| - by us, so that you can focus on what you do best — ship great |
12 |
| - products. |
13 |
| - </li> |
14 |
| - <li> |
15 |
| - Anyscale automatically scales your infrastructure and clusters up or |
16 |
| - down to meet the dynamic demands of your workloads. |
17 |
| - </li> |
18 |
| - <li> |
19 |
| - Keep tabs on the costs tied to jobs, clusters, and users in a single |
20 |
| - intuitive UI. |
21 |
| - </li> |
| 26 | + <Grid className={styles.wrapper}> |
| 27 | + <div className={styles.left}> |
| 28 | + <p className={styles.heading}> |
| 29 | + Empower your AI and ML teams to innovate where it matters. We‘ll |
| 30 | + handle the rest. |
| 31 | + </p> |
| 32 | + <ul className={styles.list}> |
| 33 | + <ListItem icon={<Path className={styles.icon} />}> |
| 34 | + Minimize the effort and skills needed to scale your AI and ML |
| 35 | + </ListItem> |
| 36 | + <ListItem icon={<Innovate className={styles.icon} />}> |
| 37 | + Access the latest innovations and experience in running data science |
| 38 | + platforms |
| 39 | + </ListItem> |
| 40 | + <ListItem icon={<Teammates className={styles.icon} />}> |
| 41 | + Run your workloads anywhere. |
| 42 | + </ListItem> |
22 | 43 | </ul>
|
23 |
| - </Column> |
24 |
| - <Column sm={4} lg={8}></Column> |
| 44 | + </div> |
| 45 | + <Image |
| 46 | + className={styles.image} |
| 47 | + src={screen} |
| 48 | + placeholder="blur" |
| 49 | + alt="Screen shot of Ray dashboard" |
| 50 | + /> |
25 | 51 | </Grid>
|
26 | 52 | );
|
27 | 53 | };
|
|
0 commit comments