Skip to content

Commit

Permalink
feat: add blueprint icon and more redirects (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsterne authored Dec 30, 2022
1 parent 9ce716a commit ff3df2c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/blueprints/migrations/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ hide_table_of_contents: true

import { Intro } from "@site/src/components/shared/Intro";
import { Card } from "@site/src/components/shared/Card";
import UserIcon from "@site/static/img/blueprints/personal-information/personal-information-blueprint-icon.svg";
import MigrationIcon from "@site/static/img/blueprints/migrations/migration-blueprint-icon.svg";

<Intro
title="Migration Blueprints"
Expand All @@ -24,7 +24,7 @@ Avoiding vendor lockin, including Basis Theory, is important to future-proof you
<Card.TwoColumnLayout>
<Card
column
img={<UserIcon />}
img={<MigrationIcon />}
href="/docs/blueprints/migrations/migrate-off-basis-theory"
heading="Migrate off Basis Theory"
>
Expand Down
10 changes: 9 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,20 @@ const config = {
'@docusaurus/plugin-client-redirects',
{
redirects: [
{ from: '/getting-started', to: '/docs' },
{ from: '/api-reference', to: '/docs/api' },
{ from: '/elements', to: '/docs/sdks/web/javascript' },
{ from: '/expressions', to: '/docs/expressions' },
{ from: '/labs', to: '/docs' },

{ from: '/getting-started', to: '/docs' },
{ from: '/getting-started/quickstart-with-curl', to: '/docs' },
{ from: '/getting-started/quickstart-with-dotnet', to: '/docs' },
{ from: '/getting-started/quickstart-with-go', to: '/docs' },
{ from: '/getting-started/quickstart-with-java', to: '/docs' },
{ from: '/getting-started/quickstart-with-nodejs', to: '/docs' },
{ from: '/getting-started/quickstart-with-ruby', to: '/docs' },
{ from: '/getting-started/quickstart-with-python', to: '/docs' },

{ from: '/concepts/access-controls', to: '/docs/concepts/access-controls' },
{ from: '/concepts/what-are-containers', to: '/docs/concepts/what-are-containers' },
{ from: '/concepts/what-are-mats', to: '/docs/concepts/what-are-mats' },
Expand Down
5 changes: 5 additions & 0 deletions static/img/blueprints/migrations/migration-blueprint-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit ff3df2c

@vercel
Copy link

@vercel vercel bot commented on ff3df2c Dec 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.