Fix broken links in website footer (#9613)

* add security page and press kit

* github link correction
This commit is contained in:
Jeff Escalante
2020-07-28 16:22:35 -04:00
committed by GitHub
parent f9b07efe3e
commit c58e176533
4 changed files with 59 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ export default function ProductSubnav() {
ctaLinks={[
{
text: 'GitHub',
url: 'https://www.github.com/hashicorp/vault',
url: 'https://github.com/hashicorp/vault',
},
{
text: 'Download',

35
website/layouts/index.jsx Normal file
View File

@@ -0,0 +1,35 @@
import DocsPage from '@hashicorp/react-docs-page'
import Head from 'next/head'
import Link from 'next/link'
function DefaultLayoutWrapper(pageMeta) {
function DefaultLayout(props) {
return (
<DocsPage
{...props}
product="vault"
head={{
is: Head,
title: `${pageMeta.page_title} | Vault by HashiCorp`,
description: pageMeta.description,
siteName: 'Vault by HashiCorp',
}}
sidenav={{
Link,
category: 'docs',
currentPage: props.path,
data: [],
order: [],
disableFilter: true,
}}
resourceURL={`https://github.com/hashicorp/vault/blob/master/website/pages/${pageMeta.__resourcePath}`}
/>
)
}
DefaultLayout.getInitialProps = ({ asPath }) => ({ path: asPath })
return DefaultLayout
}
export default DefaultLayoutWrapper

View File

@@ -0,0 +1,23 @@
---
layout: index
page_title: Security
description: >-
Vault takes security very seriously. Please responsibly disclose any
security vulnerabilities found and we'll handle it quickly.
---
# Security
We understand that many users place a high level of trust in HashiCorp and
the tools we build. We apply best practices and focus on security to make
sure we can maintain the trust of the community.
We deeply appreciate any effort to disclose vulnerabilities responsibly.
If you would like to report a vulnerability, please see the
[HashiCorp security page](https://www.hashicorp.com/security),
which has the proper email to communicate with as well as our PGP key.
If you aren't reporting a security sensitive vulnerability, please
open an issue on the standard [GitHub](https://github.com/hashicorp/vault)
repository.

Binary file not shown.