e33ed2356e
* style: update gray brand colors * style: update brand colors * chore: upgrades base platform deps * style: updates learn callouts label color * style: icons to flat consul primary color * style: errand link styles * refactor(home): use react-learn-callout * chore; adds ts config, upgrades components * chore: upgrade deps chore: upgrade to latest component styles chore: upgrades nextjs-scripts * chore: fix-router * update deps, add new downloads page * chore: upgrade to stable deps chore: use npm 7 * style: home callouts body copy to gray-2 * chore: upgrade hashi-stack-menu * style: home feature icons update * chore: upgrade deps body copy colors * chore: upgrades alert banner * feat: updates favicon * style(downloads): adds pre-release and release candidate styles * fix(home): adds right padding to quote * content(home): swap assets * content(uses-cases): updates assets * chore: removes use cases icon override * content(use-cases): swap out svgs for pngs * content: copies asset * trying again with this asset * try putting asset in public * content(use-cases): updates mercedes case study aseset * chore: upgrades product download page prerelease * chore: updates product download page to stable * chore: updates favicon path Co-authored-by: Jeff Escalante <jescalan@users.noreply.github.com>
21 lines
656 B
JavaScript
21 lines
656 B
JavaScript
const withHashicorp = require('@hashicorp/nextjs-scripts')
|
|
const redirects = require('./redirects.next')
|
|
|
|
module.exports = withHashicorp()({
|
|
svgo: { plugins: [{ removeViewBox: false }] },
|
|
rewrites: () => [
|
|
{
|
|
source: '/api/:path*',
|
|
destination: '/api-docs/:path*',
|
|
},
|
|
],
|
|
redirects: () => redirects,
|
|
// Note: These are meant to be public, it's not a mistake that they are here
|
|
env: {
|
|
HASHI_ENV: process.env.HASHI_ENV || 'development',
|
|
SEGMENT_WRITE_KEY: 'IyzLrqXkox5KJ8XL4fo8vTYNGfiKlTCm',
|
|
BUGSNAG_CLIENT_KEY: '01625078d856ef022c88f0c78d2364f1',
|
|
BUGSNAG_SERVER_KEY: 'be8ed0d0fc887d547284cce9e98e60e5',
|
|
},
|
|
})
|