docs: add release announcement post (#617)

* docs: add release announcement post

- add mailchimp newsletter form
- fix wording
- fix mobile
- fix changelog links
- fix release drafter to use our format (GH-$ISSUE)

Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
Bobby DeSimone 2020-04-18 11:35:14 -07:00 committed by GitHub
parent d7daf274c0
commit 7fe4c5bdaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 864 additions and 146 deletions

View file

@ -5,14 +5,33 @@ module.exports = {
"Pomerium is a beyond-corp inspired, zero trust, open source identity-aware access proxy.",
plugins: {
sitemap: {
hostname: "https://www.pomerium.io"
hostname: "https://www.pomerium.io",
},
"@vuepress/google-analytics": {
ga: "UA-129872447-2"
}
ga: "UA-129872447-2",
},
"@vuepress/blog": {
directories: [
{
id: "post",
dirname: "_posts",
path: "/posts/",
itemPermalink: "/posts/:year/:month/:day/:slug",
},
],
},
"vuepress-plugin-mailchimp": {
title: "Sign up to be notified of new features and updates",
content: " ",
endpoint:
"https://pomerium.us19.list-manage.com/subscribe/post?u=76f0996a737c138396687fd6b&amp;id=2f4f70cf07",
sitemap: {
hostname: "https://www.pomerium.io",
},
},
},
markdown: {
externalLinkSymbol: false
externalLinkSymbol: false,
},
themeConfig: {
logo: "/logo-long-civez.png",
@ -38,13 +57,13 @@ module.exports = {
{ text: "v0.4.x", link: "https://0-4-0.docs.pomerium.io/docs" },
{ text: "v0.3.x", link: "https://0-3-0.docs.pomerium.io/docs" },
{ text: "v0.2.x", link: "https://0-2-0.docs.pomerium.io/docs" },
{ text: "v0.1.x", link: "https://0-1-0.docs.pomerium.io/docs" }
]
}
{ text: "v0.1.x", link: "https://0-1-0.docs.pomerium.io/docs" },
],
},
],
algolia: {
apiKey: "1653e881f3a6c17d3ad37f4d4c428e20",
indexName: "pomerium"
indexName: "pomerium",
},
sidebar: {
"/docs/": [
@ -59,8 +78,8 @@ module.exports = {
"releases",
"upgrading",
"CHANGELOG",
"FAQ"
]
"FAQ",
],
},
{
title: "Quick Start",
@ -74,8 +93,8 @@ module.exports = {
"quick-start/helm",
"quick-start/kubernetes",
"quick-start/synology",
"quick-start/from-source"
]
"quick-start/from-source",
],
},
{
title: "Identity Providers",
@ -91,8 +110,8 @@ module.exports = {
"identity-providers/github",
"identity-providers/google",
"identity-providers/okta",
"identity-providers/one-login"
]
"identity-providers/one-login",
],
},
{
title: "Community",
@ -104,8 +123,8 @@ module.exports = {
"community/",
"community/contributing",
"community/code-of-conduct",
"community/security"
]
"community/security",
],
},
{
title: "Reference",
@ -119,9 +138,9 @@ module.exports = {
"reference/impersonation",
"reference/programmatic-access",
"reference/getting-users-identity",
"reference/production-deployment"
]
}
"reference/production-deployment",
],
},
],
"/recipes/": [
{
@ -130,8 +149,8 @@ module.exports = {
collapsable: false,
sidebarDepth: 1,
children: ["", "ad-guard", "vs-code-server", "kubernetes"]
}
children: ["", "ad-guard", "vs-code-server", "kubernetes"],
},
],
"/enterprise/": [
{
@ -139,8 +158,8 @@ module.exports = {
type: "group",
collapsable: false,
sidebarDepth: 1,
children: [""]
}
children: [""],
},
],
"/configuration/": [
{
@ -148,9 +167,9 @@ module.exports = {
type: "group",
collapsable: false,
sidebarDepth: 1,
children: ["", "examples"]
}
]
}
}
children: ["", "examples"],
},
],
},
},
};

View file

@ -1,6 +1,6 @@
// colors
$mainColor= #6E43E8
$offColor = #259C30
$sidebarColor=#FAFAFC
$accentColor = #6E43E8
@ -58,6 +58,27 @@ $MQMobileNarrow = 419px
.dropdown-item
color $textColor !important
.newsletter
background-color $section-color
border-top 1px solid darken($section-color, 10%)
border-bottom 1px solid darken($section-color, 10%)
&__wrap
margin 1.5rem auto
padding 1.8rem 2.3rem
border-radius 3px
box-sizing border-box
max-width $contentWidth !important
background #f8f8f8
&__title
font-size 1.2rem
&__content
margin-top 1.5rem
margin-bottom 1.5rem
line-height 1.7rem
@media (min-width: $MQMobile)
.nav-links a
&:hover, &.router-link-active
@ -71,9 +92,14 @@ $MQMobileNarrow = 419px
color $navbar-text-color !important
.nav-dropdown
.dropdown-item
color $textColor !important
color $textColor !important
.newsletter
&__input
width 30% !important
&__button
width 15% !important
@media (max-width: $MQMobile)
.navbar
.site-name
display: none !important
display: none !important

View file

@ -63,6 +63,7 @@
</form>
</div>
</header>
<SimpleNewsletter />
<div class v-if="data.features && data.features.length">
<div
@ -96,14 +97,15 @@
</div>
</div>
<Content class="theme-default-content custom" />
<div class="footer">
<a href="https://www.netlify.com/">
<img
src="https://api.netlify.com/api/v1/badges/1853c996-a1f7-4545-b60c-612e8fca557c/deploy-status"
alt="Deploy status badge"
/>
</a>
<div class v-if="data.footer">
<div class="footer">
<a href="https://www.netlify.com/">
<img
src="https://api.netlify.com/api/v1/badges/1853c996-a1f7-4545-b60c-612e8fca557c/deploy-status"
alt="Deploy status badge"
/>
</a>
</div>
</div>
</main>
</template>
@ -164,9 +166,9 @@ export default {
button {
display: block;
background: $textColor;
background: $offColor
color: $section-color;
box-shadow: 0 1px 3px darken($textColor, 5%), 0 1px 1px rgba(0, 0, 0, 0.98);
box-shadow: 0 1px 3px darken($accentColor, 5%), 0 1px 1px rgba(0, 0, 0, 0.98);
border-radius: 6px;
border: 0;
width: 100%;

View file

@ -0,0 +1,19 @@
<template>
<div>
<ul id="default-layout">
<li v-for="page in $pagination.pages">
<router-link class="page-link" :to="page.path">{{
page.title
}}</router-link>
</li>
</ul>
<div id="pagination">
<router-link v-if="$pagination.hasPrev" :to="$pagination.prevLink"
>Prev</router-link
>
<router-link v-if="$pagination.hasNext" :to="$pagination.nextLink"
>Next</router-link
>
</div>
</div>
</template>