diff --git a/website/components/basic-hero/index.jsx b/website/components/basic-hero/index.jsx index 109f052057..16a80d78af 100644 --- a/website/components/basic-hero/index.jsx +++ b/website/components/basic-hero/index.jsx @@ -41,8 +41,6 @@ export default function BasicHero({
{links[2].text} diff --git a/website/components/cloud-offerings-list/index.jsx b/website/components/cloud-offerings-list/index.jsx new file mode 100644 index 0000000000..ef27e42717 --- /dev/null +++ b/website/components/cloud-offerings-list/index.jsx @@ -0,0 +1,28 @@ +import Button from '@hashicorp/react-button' + +export default function CloudOfferingsList({ offerings }) { + return ( + + ) +} diff --git a/website/components/cloud-offerings-list/style.css b/website/components/cloud-offerings-list/style.css new file mode 100644 index 0000000000..dad6157e44 --- /dev/null +++ b/website/components/cloud-offerings-list/style.css @@ -0,0 +1,57 @@ +ul.g-cloud-offerings-list { + list-style: none; + padding: 0; + margin: -16px; + display: flex; + + @media (width < 769px) { + flex-direction: column; + } + + & li { + flex-grow: 1; + margin: 16px; + background: var(--white); + border: 1px solid var(--gray-6); + border-radius: 2px; + text-align: center; + transition: box-shadow 0.25s, transform 0.25s, -webkit-transform 0.25s; + + &:hover { + box-shadow: 0 16px 28px rgba(37, 38, 45, 0.12); + transform: translateY(-4px); + cursor: pointer; + } + + & > a { + display: block; + padding: 32px; + color: inherit; + + & > img { + display: block; + width: 400px; + max-width: 100%; + margin-left: auto; + margin-right: auto; + margin-bottom: 14px; + } + + & > span { + color: var(--gray-4); + } + + & > h4 { + text-decoration: none; + margin-top: 8px; + margin-bottom: 0; + } + + & > p { + font-size: 19px; + margin-top: 8px; + margin-bottom: 24px; + } + } + } +} diff --git a/website/pages/home/img/cloud/hcp.jpg b/website/pages/home/img/cloud/hcp.jpg new file mode 100644 index 0000000000..824dbe7049 Binary files /dev/null and b/website/pages/home/img/cloud/hcp.jpg differ diff --git a/website/pages/home/img/cloud/hcs.jpg b/website/pages/home/img/cloud/hcs.jpg new file mode 100644 index 0000000000..1c9441e99c Binary files /dev/null and b/website/pages/home/img/cloud/hcs.jpg differ diff --git a/website/pages/home/index.jsx b/website/pages/home/index.jsx index 32d9cb12d0..3432e66045 100644 --- a/website/pages/home/index.jsx +++ b/website/pages/home/index.jsx @@ -1,6 +1,7 @@ import UseCases from '@hashicorp/react-use-cases' import BasicHero from '../../components/basic-hero' import ConsulEnterpriseComparison from '../../components/enterprise-comparison/consul' +import CloudOfferingsList from '../../components/cloud-offerings-list' import PrefooterCTA from '../../components/prefooter-cta' import LearnCallout from '../../components/learn-callout' import CaseStudyCarousel from '../../components/case-study-carousel' @@ -25,9 +26,9 @@ export default function HomePage() { type: 'download', }, { - text: 'Try HashiCorp Consul Service on Azure', - url: 'https://learn.hashicorp.com/consul/hcs-azure/deploy', - type: 'outbound', + text: 'Learn more about Consul cloud offerings', + url: '/#cloud-offerings', + type: 'inbound', }, ]} backgroundImage @@ -207,6 +208,37 @@ export default function HomePage() { }, ]} /> + +
+

Learn more about Consul cloud offerings

+ +
+
diff --git a/website/pages/home/style.css b/website/pages/home/style.css index 21587c1919..b5e9033413 100644 --- a/website/pages/home/style.css +++ b/website/pages/home/style.css @@ -28,4 +28,19 @@ } } } + + & section.cloud-offerings { + padding-top: 88px; + padding-bottom: 88px; + + & h2 { + margin: 0 auto; + text-align: center; + max-width: 475px; + margin-bottom: 64px; + @media (max-width: 800px) { + margin-bottom: 48px; + } + } + } } diff --git a/website/pages/style.css b/website/pages/style.css index 33e38f900f..8d323a8890 100644 --- a/website/pages/style.css +++ b/website/pages/style.css @@ -42,6 +42,7 @@ @import '../components/footer/style.css'; @import '../components/learn-callout/style.css'; @import '../components/case-study-carousel/style.css'; +@import '../components/cloud-offerings-list/style.css'; /* Layouts */ @import '../layouts/use-cases/style.css';