website: website source code / content split (#1838)

This commit is contained in:
Bryce Kalow authored and GitHub committed 2022-04-11 14:46:36 -05:00
1 parent 06c13064cc
commit 7f69e935bf
116 files changed
+2980 -18557

No files matched your search

-13
View File
@@ -1,13 +0,0 @@
export const ALERT_BANNER_ACTIVE = false
// https://github.com/hashicorp/web-components/tree/master/packages/alert-banner
export default {
tag: 'Blog post',
url: 'https://www.hashicorp.com/blog/a-new-chapter-for-hashicorp',
text:
'HashiCorp shares have begun trading on the Nasdaq. Read the blog from our founders, Mitchell Hashimoto and Armon Dadgar.',
linkText: 'Read the post',
// Set the expirationDate prop with a datetime string (e.g. '2020-01-31T12:00:00-07:00')
// if you'd like the component to stop showing at or after a certain date
expirationDate: '2021-12-17T23:00:00-07:00',
}
-66
View File
@@ -1,66 +0,0 @@
export const packageManagers = {
homebrew: {
label: 'Homebrew',
url: '',
commands: ['brew tap hashicorp/tap', 'brew install hashicorp/tap/boundary'],
},
ubuntu: {
label: 'Ubuntu/Debian',
commands: [
'curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -',
'sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"',
'sudo apt-get update && sudo apt-get install boundary',
],
},
centos: {
label: 'CentOS/RHEL',
commands: [
'sudo yum install -y yum-utils',
'sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo',
'sudo yum -y install boundary',
],
},
fedora: {
label: 'Fedora',
commands: [
'sudo dnf install -y dnf-plugins-core',
'sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo',
'sudo dnf -y install boundary',
],
},
amazonLinux: {
label: 'Amazon Linux',
commands: [
'sudo yum install -y yum-utils',
'sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo',
'sudo yum -y install boundary',
],
},
}
export const packageManagersByOs = {
darwin: packageManagers.homebrew,
linux: [
packageManagers.ubuntu,
packageManagers.centos,
packageManagers.fedora,
packageManagers.amazonLinux,
],
}
export const getStartedLinks = [
{
label: 'Install Boundary',
href:
'https://learn.hashicorp.com/tutorials/boundary/getting-started-install',
},
{
label: 'Introduction to Boundary',
href:
'https://learn.hashicorp.com/tutorials/boundary/getting-started-intro',
},
{
label: 'Start a Development Environment',
href: 'https://learn.hashicorp.com/tutorials/boundary/getting-started-dev',
},
]
-2
View File
@@ -1,2 +0,0 @@
export const productName = 'Boundary'
export const productSlug = 'boundary'
-28
View File
@@ -1,28 +0,0 @@
export default [
{
text: 'Overview',
url: '/',
type: 'inbound',
},
'divider',
{
text: 'Tutorials',
url: 'https://learn.hashicorp.com/boundary',
type: 'inbound',
},
{
text: 'Docs',
url: '/docs',
type: 'inbound',
},
{
text: 'API',
url: '/api-docs',
type: 'inbound',
},
{
text: 'Community',
url: '/community',
type: 'inbound',
},
]
-2
View File
@@ -1,2 +0,0 @@
export const VERSION = '0.7.6'
export const DESKTOP_VERSION = '1.4.2'