mirror of
https://github.com/status-im/consul.git
synced 2025-01-12 06:44:41 +00:00
5f8797dad3
* Initial structure for updated homepage * Bring back <UseCases /> * Add section stubs * Add ecosystem section * Add features section * Iron out features section * Add Learn Callout section * Copy updates * Better together copy * Add updated copy & swap assets * Remove comment & just add existing icon for now * Copy and asset tweaks * Remove unwanted copy * Process the codeblock * Add transparent img * Swap for transparent img * More transparent img * Use Learn cards pattern * Rearrange img and finishing padding touches
20 lines
505 B
TypeScript
20 lines
505 B
TypeScript
import TextSplit from '@hashicorp/react-text-split'
|
|
import VideoCarousel from '@hashicorp/react-hero/carousel'
|
|
import s from './style.module.css'
|
|
|
|
export default function HomepageHero({ title, description, links, videos }) {
|
|
return (
|
|
<div className={s.homepageHero}>
|
|
<TextSplit
|
|
product="consul"
|
|
heading={title}
|
|
content={description}
|
|
links={links}
|
|
linkStyle="buttons"
|
|
>
|
|
<VideoCarousel videos={videos} />
|
|
</TextSplit>
|
|
</div>
|
|
)
|
|
}
|