2020-12-08 23:24:36 +00:00
|
|
|
import BasicHero from 'components/basic-hero'
|
|
|
|
import PrefooterCTA from 'components/prefooter-cta'
|
|
|
|
import ConsulEnterpriseComparison from 'components/enterprise-comparison/consul'
|
2020-05-14 05:34:25 +00:00
|
|
|
import Head from 'next/head'
|
|
|
|
import HashiHead from '@hashicorp/react-head'
|
2020-05-07 03:38:38 +00:00
|
|
|
|
2020-06-02 14:40:07 +00:00
|
|
|
export default function UseCaseLayout({
|
|
|
|
title,
|
|
|
|
description,
|
|
|
|
guideLink,
|
|
|
|
children,
|
|
|
|
}) {
|
2020-05-14 06:03:42 +00:00
|
|
|
const pageTitle = `Consul ${title}`
|
2020-05-07 03:38:38 +00:00
|
|
|
return (
|
2020-05-14 05:34:25 +00:00
|
|
|
<>
|
2020-05-14 06:03:42 +00:00
|
|
|
<HashiHead is={Head} title={pageTitle} description={description}>
|
2020-05-14 06:16:13 +00:00
|
|
|
<meta name="og:title" property="og:title" content={pageTitle} />
|
2020-05-14 06:03:42 +00:00
|
|
|
</HashiHead>
|
|
|
|
|
2020-05-14 05:34:25 +00:00
|
|
|
<div id="p-use-case">
|
|
|
|
<BasicHero
|
|
|
|
heading={title}
|
|
|
|
content={description}
|
|
|
|
brand="consul"
|
|
|
|
links={[
|
|
|
|
{
|
|
|
|
text: 'Explore HashiCorp Learn',
|
2020-06-02 14:40:07 +00:00
|
|
|
url: guideLink,
|
2020-05-14 05:34:25 +00:00
|
|
|
type: 'outbound',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Explore Documentation',
|
|
|
|
url: '/docs',
|
|
|
|
type: 'inbound',
|
|
|
|
},
|
|
|
|
]}
|
|
|
|
/>
|
|
|
|
<div className="g-grid-container">
|
|
|
|
<h2 className="g-type-display-2 features-header">Features</h2>
|
|
|
|
</div>
|
|
|
|
{children}
|
|
|
|
<ConsulEnterpriseComparison />
|
|
|
|
<PrefooterCTA />
|
2020-05-07 03:38:38 +00:00
|
|
|
</div>
|
2020-05-14 05:34:25 +00:00
|
|
|
</>
|
2020-05-07 03:38:38 +00:00
|
|
|
)
|
|
|
|
}
|