2020-01-18 00:18:09 +00:00
import SectionHeader from '@hashicorp/react-section-header'
import Button from '@hashicorp/react-button'
2021-01-07 19:40:35 +00:00
import TextSplits from '@hashicorp/react-text-splits'
2020-12-17 21:53:33 +00:00
import BeforeAfterDiagram from 'components/before-after-diagram'
import UseCaseCtaSection from 'components/use-case-cta-section'
2021-01-07 19:40:35 +00:00
// Imports below are used in getStaticProps
import RAW _CONTENT from './content.json'
2021-07-27 22:43:40 +00:00
import highlightData from '@hashicorp/platform-code-highlighting/highlight-data'
2021-02-11 21:29:38 +00:00
import processBeforeAfterDiagramProps from 'components/before-after-diagram/server'
2021-05-03 22:01:29 +00:00
import FeaturedSlider from '@hashicorp/react-featured-slider'
2020-01-18 00:18:09 +00:00
2021-01-07 19:40:35 +00:00
export async function getStaticProps ( ) {
const content = await highlightData ( RAW _CONTENT )
2021-02-11 21:29:38 +00:00
content . beforeAfterDiagram = await processBeforeAfterDiagramProps (
content . beforeAfterDiagram
)
2021-01-07 19:40:35 +00:00
return { props : { content } }
}
export default function SecretsManagmentUseCase ( { content } ) {
2020-01-18 00:18:09 +00:00
return (
2021-06-21 16:50:59 +00:00
< main id = "use-cases" className = "g-section-block page-wrap" >
2021-08-20 16:20:18 +00:00
< section className = "g-grid-container" >
2020-01-18 00:18:09 +00:00
{ /* Header / Buttons */ }
< SectionHeader
headline = "Secrets Management in Low Trust Networks"
description = "Centrally store, access, and deploy secrets across applications, systems, and infrastructure"
useH1 = { true }
/ >
< div className = "button-container" >
2021-05-03 22:01:29 +00:00
< Button
title = "Download"
url = "/downloads"
theme = { { brand : 'vault' } }
/ >
2021-06-21 16:50:59 +00:00
< Button
title = "Get Started"
label = "Get started — external link to education platform"
url = "/intro"
theme = "dark-outline"
/ >
2020-01-18 00:18:09 +00:00
< / div >
< / section >
{ /* Before/After Diagram */ }
< section >
2021-08-20 16:20:18 +00:00
< div className = "g-grid-container" >
2021-02-11 21:29:38 +00:00
< BeforeAfterDiagram { ...content.beforeAfterDiagram } / >
2020-01-18 00:18:09 +00:00
< / div >
< / section >
{ /* Case study slider */ }
2021-05-03 22:01:29 +00:00
< FeaturedSlider
theme = "dark"
features = { [
{
logo : {
2021-07-27 22:43:40 +00:00
url :
'https://www.datocms-assets.com/2885/1539889072-1524097013-adobe-white-1.svg' ,
2021-05-03 22:01:29 +00:00
alt : 'Adobe Logo' ,
} ,
image : {
2021-07-27 22:43:40 +00:00
url :
'https://www.datocms-assets.com/2885/1520367019-dan_mcteer_adobe_hashiconf2017.jpg?fit=crop&fm=jpg&h=312.5&q=80&w=500' ,
2021-05-03 22:01:29 +00:00
alt : 'Dan McTeer at HashiConf 2017' ,
} ,
heading :
"Using Vault to Protect Adobe's Secrets and User Data Across Clouds and Datacenters" ,
content :
'Securing secrets and application data is a complex task for globally distributed organizations. For Adobe, managing secrets for over 20 products across 100,000 hosts, four regions, and trillions of transactions annually requires a different approach altogether.' ,
link : {
text : 'Read Case Study' ,
2021-07-27 22:43:40 +00:00
url :
'https://www.hashicorp.com/resources/adobe-100-trillion-transactions-hashicorp-vault' ,
2021-05-03 22:01:29 +00:00
type : 'outbound' ,
} ,
} ,
] }
/ >
2020-01-18 00:18:09 +00:00
2021-01-07 19:40:35 +00:00
{ /* Features */ }
< section className = "no-section-spacing" >
< div className = "g-grid-container" >
< SectionHeader headline = "Secret Management Features" / >
2020-01-18 00:18:09 +00:00
< / div >
2021-01-07 19:40:35 +00:00
< TextSplits textSplits = { content . features } / >
2020-01-18 00:18:09 +00:00
< / section >
< UseCaseCtaSection / >
2021-06-21 16:50:59 +00:00
< / main >
2020-01-18 00:18:09 +00:00
)
}