docs: add enterprise contact page (#371)

Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
Bobby DeSimone 2019-10-20 10:48:08 -07:00 committed by GitHub
parent 028434ff4f
commit 83342112bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 119 additions and 1 deletions

View file

@ -25,6 +25,8 @@ module.exports = {
{ text: "Documentation", link: "/docs/" }, { text: "Documentation", link: "/docs/" },
{ text: "Recipes", link: "/recipes/" }, { text: "Recipes", link: "/recipes/" },
{ text: "Community", link: "/community/" }, { text: "Community", link: "/community/" },
{ text: "Enterprise", link: "/enterprise/" },
{ {
text: "🚧Dev", // current tagged version text: "🚧Dev", // current tagged version
ariaLabel: "Version menu", ariaLabel: "Version menu",
@ -125,6 +127,15 @@ module.exports = {
sidebarDepth: 1, sidebarDepth: 1,
children: ["", "ad-guard", "vs-code-server", "kubernetes"] children: ["", "ad-guard", "vs-code-server", "kubernetes"]
} }
],
"/enterprise/": [
{
title: "Enterprise",
type: "group",
collapsable: false,
sidebarDepth: 1,
children: [""]
}
] ]
} }
} }

View file

@ -14,7 +14,7 @@
</p> </p>
</div> </div>
<video class="media" autoplay loop muted playsinline> <video v-if="data.heroImage" class="media" autoplay loop muted playsinline>
<source <source
v-if="data.heroImage" v-if="data.heroImage"
:src="$withBase(data.heroImage)" :src="$withBase(data.heroImage)"
@ -22,6 +22,31 @@
type="video/mp4" type="video/mp4"
/>Your browser does not support the video tag. />Your browser does not support the video tag.
</video> </video>
<form
v-if="data.contactForm === true"
method="POST"
name="contact"
data-netlify="true"
netlify-honeypot="bot-field"
>
<input type="hidden" name="form-name" value="contact" />
<fieldset>
<label>
<span>Name</span>
<input name="name" class="field" required />
</label>
<label>
<span>Email</span>
<input name="email" type="email" class="field" required />
</label>
<label>
<span>Company</span>
<input name="company" class="field" />
</label>
</fieldset>
<button class="nav-link action-button" type="submit">Get in touch</button>
</form>
</div> </div>
</header> </header>
@ -102,6 +127,81 @@ export default {
align-items: center; align-items: center;
} }
form {
background-color: $accentColor;
padding: 0 20px;
flex: 1;
max-width: 40%;
button {
display: block;
background: $textColor;
color: $section-color;
box-shadow: 0 1px 3px darken($textColor, 5%), 0 1px 1px rgba(0, 0, 0, 0.98);
border-radius: 6px;
border: 0;
width: 100%;
height: 40px;
outline: none;
cursor: pointer;
transition: all 0.15s ease;
font-size: 1.2rem;
font-weight: 450;
&:hover {
transform: translateY(-1px);
}
}
fieldset {
margin-bottom: 20px;
background: #fff;
box-shadow: 0 1px 2px 0 lighten($section-color, 35%), 0 2px 2px 0 lighten($section-color, 35%);
border-radius: 4px;
border: none;
label {
position: relative;
display: flex;
flex-direction: row;
height: 42px;
padding: 8px 0;
align-items: center;
justify-content: center;
&:not(:last-child) {
border-bottom: 1px solid #f0f5fa;
}
span {
color: lighten($textColor, 25%);
font-weight: 450;
min-width: 60px;
padding: 0 15px;
text-align: right;
font-size: 0.9rem;
}
}
.field {
flex: 1;
padding: 0 15px;
background: transparent;
color: $textColor;
outline: none;
cursor: text;
font-size: 0.95rem;
}
input {
flex: 1;
border-style: none;
outline: none;
color: #313b3f;
}
}
}
.content { .content {
flex: 1; flex: 1;
padding: 0 20px; padding: 0 20px;

View file

@ -0,0 +1,7 @@
---
home: true
heroText: Pomerium Enterprise
tagline: Governance, reporting, compliance, and policy features built for organizations.
search: false
contactForm: true