mirror of https://github.com/hashicorp/consul
Brandon Romano
5 years ago
9 changed files with 137 additions and 2 deletions
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 472 B After Width: | Height: | Size: 472 B |
@ -1,4 +1,4 @@
|
||||
import EnterpriseComparison from '../enterprise-comparison' |
||||
import EnterpriseComparison from '../../enterprise-comparison' |
||||
|
||||
export default function ConsulEnterpriseComparison() { |
||||
return ( |
@ -0,0 +1,33 @@
|
||||
import BasicHero from '../../components/basic-hero' |
||||
import PrefooterCTA from '../../components/prefooter-cta' |
||||
import ConsulEnterpriseComparison from '../../components/enterprise-comparison/consul' |
||||
|
||||
export default function UseCaseLayout({ title, description, children }) { |
||||
return ( |
||||
<div id="p-use-case"> |
||||
<BasicHero |
||||
heading={title} |
||||
content={description} |
||||
brand="consul" |
||||
links={[ |
||||
{ |
||||
text: 'Explore HashiCorp Learn', |
||||
url: 'https://learn.hashicorp.com/consul', |
||||
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 /> |
||||
</div> |
||||
) |
||||
} |
@ -0,0 +1,40 @@
|
||||
#p-use-case { |
||||
& .features-header { |
||||
text-align: center; |
||||
margin-bottom: 0px; |
||||
} |
||||
|
||||
/* Overriding the g-text-split component to have |
||||
* a header size closer to a h3 than a h2, as within |
||||
* the context of this page this text-split is more deeply |
||||
* nested within the page than we normally have it. |
||||
* */ |
||||
& .g-text-split { |
||||
& h2 { |
||||
font-size: 1.5rem; |
||||
letter-spacing: -0.004em; |
||||
line-height: 1.375em; |
||||
|
||||
@media (--medium-up) { |
||||
font-size: 1.75rem; |
||||
line-height: 1.321em; |
||||
} |
||||
|
||||
@media (--large) { |
||||
font-size: 2rem; |
||||
letter-spacing: -0.006em; |
||||
line-height: 1.313em; |
||||
} |
||||
} |
||||
} |
||||
|
||||
& .with-border { |
||||
& .g-text-split { |
||||
& .children { |
||||
border-width: 1px; |
||||
border-color: rgba(174, 176, 183, 0.45); |
||||
border-style: solid; |
||||
} |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,59 @@
|
||||
import UseCaseLayout from '../../layouts/use-cases' |
||||
import TextSplitWithImage from '@hashicorp/react-text-split-with-image' |
||||
|
||||
export default function NetworkMiddlewareAutomationPage() { |
||||
return ( |
||||
<UseCaseLayout |
||||
title="Network Middleware Automation" |
||||
description="Use Service Discovery to automate updates to complex network load balancer and firewall platforms." |
||||
> |
||||
<div className="with-border"> |
||||
<TextSplitWithImage |
||||
textSplit={{ |
||||
heading: 'Multi-region, multi-cloud', |
||||
content: |
||||
'Consul’s flexible architecture allows it to be deployed in any environment, in any region, on any cloud.', |
||||
textSide: 'left', |
||||
links: [ |
||||
{ |
||||
text: 'Learn More', |
||||
url: |
||||
'https://learn.hashicorp.com/consul?track=datacenter-deploy#datacenter-deploy', |
||||
type: 'outbound', |
||||
}, |
||||
], |
||||
}} |
||||
image={{ |
||||
url: |
||||
'https://www.datocms-assets.com/2885/1588822376-multi-region.png', |
||||
alt: '', |
||||
}} |
||||
/> |
||||
</div> |
||||
|
||||
<div className="with-border"> |
||||
<TextSplitWithImage |
||||
textSplit={{ |
||||
heading: 'Multi-region, multi-cloud', |
||||
content: |
||||
'Consul’s flexible architecture allows it to be deployed in any environment, in any region, on any cloud.', |
||||
textSide: 'right', |
||||
links: [ |
||||
{ |
||||
text: 'Learn More', |
||||
url: |
||||
'https://learn.hashicorp.com/consul?track=datacenter-deploy#datacenter-deploy', |
||||
type: 'outbound', |
||||
}, |
||||
], |
||||
}} |
||||
image={{ |
||||
url: |
||||
'https://www.datocms-assets.com/2885/1588822376-multi-region.png', |
||||
alt: '', |
||||
}} |
||||
/> |
||||
</div> |
||||
</UseCaseLayout> |
||||
) |
||||
} |
Loading…
Reference in new issue