Merge branch 'main' into plugin-hostcatalogs

pull/1583/head
Jeff Mitchell 5 years ago
commit 491bc96233

@ -1,5 +1,4 @@
.homepageHero {
padding: 128px 0;
background-repeat: no-repeat;
background-color: var(--boundary-secondary);
background-image: url(/img/hero-pattern.svg);
@ -10,18 +9,7 @@
background-position: bottom -130px right -130px;
}
& :global(.g-hero) {
& .hero {
background: none;
padding: 0;
& :global(.carousel) {
display: flex;
flex-direction: column-reverse;
& :global(.controls) {
padding-top: 0;
margin-bottom: 32px;
}
}
}
}

@ -17,6 +17,8 @@ export default function HomepageHero({
return (
<div className={styles.homepageHero}>
<Hero
videoControlsTop
className={styles.hero}
data={{
product: 'boundary',
title: title,
@ -28,6 +30,7 @@ export default function HomepageHero({
{
name: 'UI',
playbackRate: uiVideo.playbackRate,
aspectRatio: uiVideo.aspectRatio,
src: [
{
srcType: uiVideo.srcType,
@ -38,6 +41,7 @@ export default function HomepageHero({
{
name: 'CLI',
playbackRate: cliVideo.playbackRate,
aspectRatio: cliVideo.aspectRatio,
src: [
{
srcType: cliVideo.srcType,
@ -48,6 +52,7 @@ export default function HomepageHero({
{
name: 'Desktop',
playbackRate: desktopVideo.playbackRate,
aspectRatio: desktopVideo.aspectRatio,
src: [
{
srcType: desktopVideo.srcType,

@ -0,0 +1 @@
/// <reference types="@hashicorp/platform-types" />

@ -1,3 +1,5 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="@hashicorp/platform-types" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.

@ -8,12 +8,8 @@ console.log(`NODE_ENV: ${process.env.NODE_ENV}`)
module.exports = withHashicorp({
defaultLayout: true,
transpileModules: [
'is-absolute-url',
'@hashicorp/react-.*',
'@hashicorp/versioned-docs',
],
mdx: { resolveIncludes: path.join(__dirname, 'pages/partials') },
nextOptimizedImages: true,
})({
async redirects() {
return await redirects

File diff suppressed because it is too large Load Diff

@ -5,42 +5,42 @@
"author": "HashiCorp",
"dependencies": {
"@apidevtools/json-schema-ref-parser": "9.0.9",
"@hashicorp/mktg-global-styles": "4.0.0",
"@hashicorp/mktg-global-styles": "^4.0.0",
"@hashicorp/mktg-logos": "^1.2.0",
"@hashicorp/platform-code-highlighting": "^0.1.1",
"@hashicorp/platform-code-highlighting": "^0.1.2",
"@hashicorp/platform-runtime-error-monitoring": "^0.1.0",
"@hashicorp/platform-util": "^0.1.0",
"@hashicorp/react-alert-banner": "6.2.0",
"@hashicorp/react-button": "^5.2.1",
"@hashicorp/react-consent-manager": "^6.0.0",
"@hashicorp/react-content": "8.0.1",
"@hashicorp/react-docs-page": "14.0.1",
"@hashicorp/react-enterprise-alert": "^5.0.1",
"@hashicorp/react-hashi-stack-menu": "^2.0.6",
"@hashicorp/react-head": "^3.1.1",
"@hashicorp/react-hero": "7.3.3",
"@hashicorp/react-image": "^4.0.2",
"@hashicorp/react-markdown-page": "1.4.2",
"@hashicorp/react-product-downloads-page": "2.3.2",
"@hashicorp/react-product-features-list": "^4.1.2",
"@hashicorp/react-section-header": "^5.0.3",
"@hashicorp/react-subnav": "^8.4.0",
"@hashicorp/react-use-cases": "^4.0.1",
"@hashicorp/react-vertical-text-block-list": "^6.0.3",
"@hashicorp/react-alert-banner": "^7.0.1",
"@hashicorp/react-button": "^6.0.1",
"@hashicorp/react-consent-manager": "^7.0.1",
"@hashicorp/react-content": "^8.0.2",
"@hashicorp/react-docs-page": "^14.4.0",
"@hashicorp/react-enterprise-alert": "^6.0.1",
"@hashicorp/react-hashi-stack-menu": "^2.0.7",
"@hashicorp/react-head": "^3.1.2",
"@hashicorp/react-hero": "^8.0.2",
"@hashicorp/react-image": "^4.0.3",
"@hashicorp/react-markdown-page": "^1.4.3",
"@hashicorp/react-product-downloads-page": "^2.5.2",
"@hashicorp/react-product-features-list": "^5.0.0",
"@hashicorp/react-section-header": "^5.0.4",
"@hashicorp/react-subnav": "^9.0.1",
"@hashicorp/react-use-cases": "^5.0.0",
"@hashicorp/react-vertical-text-block-list": "^7.0.0",
"change-case": "4.1.2",
"classnames": "2.2.6",
"next": "10.2.2",
"next-mdx-remote": "3.0.1",
"next": "^11.1.2",
"next-mdx-remote": "^3.0.4",
"next-remote-watch": "1.0.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-intersection-observer": "8.31.0",
"react-player": "2.7.0"
},
"devDependencies": {
"@hashicorp/platform-cli": "^0.2.0",
"@hashicorp/platform-nextjs-plugin": "^0.1.0",
"@hashicorp/platform-types": "^0.1.0",
"@hashicorp/platform-cli": "^1.2.0",
"@hashicorp/platform-nextjs-plugin": "^1.0.1",
"@hashicorp/platform-types": "^0.1.1",
"@types/node": "^15.12.2",
"@types/react": "^17.0.11",
"dart-linkcheck": "2.0.15",
@ -55,6 +55,9 @@
"pre-commit": "next-hashicorp precommit"
}
},
"engines": {
"npm": ">=7.0.0"
},
"scripts": {
"build": "node --max-old-space-size=2048 ./node_modules/.bin/next build",
"export": "node --max-old-space-size=2048 ./node_modules/.bin/next export",

@ -34,12 +34,14 @@ export default function HomePage() {
cliVideo={{
url: 'https://www.datocms-assets.com/2885/1614100038-hero-cli.mp4',
srcType: 'mp4',
aspectRatio: 0.62295082,
playbackRate: 1,
}}
desktopVideo={{
url:
'https://www.datocms-assets.com/2885/1614100044-hero-desktop.mp4',
srcType: 'mp4',
aspectRatio: 0.59968354,
playbackRate: 1,
}}
/>

@ -1,19 +1,6 @@
/* Global Component Styles */
@import '~@hashicorp/mktg-global-styles/style.css';
@import '~@hashicorp/react-hero/style.css';
@import '~@hashicorp/react-button/styles/index.css';
@import '~@hashicorp/react-consent-manager/style.css';
@import '~@hashicorp/react-toggle/style.css';
@import '~@hashicorp/react-vertical-text-block-list/style.css';
@import '~@hashicorp/react-search/style.css';
@import '~@hashicorp/react-subnav/style.css';
@import '~@hashicorp/react-tabs/style.css';
@import '~@hashicorp/react-enterprise-alert/style.css';
@import '~@hashicorp/react-product-features-list/style.css';
@import '~@hashicorp/react-use-cases/style.css';
@import '~@hashicorp/react-alert-banner/style.css';
/* Local Components */
@import '../components/footer/style.css';

Loading…
Cancel
Save