Skip to content

Commit c60ce93

Browse files
Merge pull request #860 from DuendeSoftware/ka/fix-multifrontend-styling
Standardize code block formatting in multi-frontend BFF documentation.
2 parents 4521225 + da1dea4 commit c60ce93

10 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/content/docs/bff/getting-started/blazor.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ redirect_from:
1414
- /identityserver/v7/bff/samples/bff-blazor/
1515
---
1616

17-
import { Code } from "astro/components";
17+
import { Code } from "@astrojs/starlight/components";
1818
import { Tabs, TabItem } from "@astrojs/starlight/components";
1919

2020
This quickstart walks you through how to create a BFF Blazor application. The sourcecode for this quickstart is available on [GitHub](https://github.com/DuendeSoftware/Samples/tree/main/BFF/v3/Quickstarts/BlazorBffApp)

src/content/docs/bff/getting-started/multi-frontend.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar:
88
text: v4
99
variant: tip
1010
---
11-
import { Code } from "astro/components";
11+
import { Code } from "@astrojs/starlight/components";
1212
import { Tabs, TabItem } from "@astrojs/starlight/components";
1313

1414
Duende.BFF (Backend for Frontend) supports multiple frontends in a single BFF host. This is useful for scenarios where you want to serve several SPAs or frontend apps from the same backend, each with their own authentication and API proxying configuration.

src/content/docs/bff/getting-started/single-frontend.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 10
66
label: "Single Frontend"
77
---
8-
import { Code } from "astro/components";
8+
import { Code } from "@astrojs/starlight/components";
99
import { Tabs, TabItem } from "@astrojs/starlight/components";
1010

1111
Duende.BFF (Backend for Frontend) is a library that helps you build secure, modern web applications by acting as a security gateway between your frontend and backend APIs. This guide will walk you through setting up a simple BFF application with a single frontend.
@@ -180,12 +180,12 @@ It's important to mark up the APIs with .AsBffApiEndpoint(), because this adds C
180180
<Code
181181
lang="csharp"
182182
title="Program.cs"
183-
code={`// Aadds authorization for local and remote API endpoints
183+
code={`// Adds authorization for local and remote API endpoints
184184
app.UseAuthorization();
185185
186186
// Place your custom routes after the 'UseAuthorization()'
187187
app.MapGet("/hello-world", () => "hello-world")
188-
.AsBffApiEndpoint(); // Aadds CSRF protection to the controller endpoints`}/>
188+
.AsBffApiEndpoint(); // Adds CSRF protection to the controller endpoints`}/>
189189

190190
</TabItem>
191191
<TabItem label="Controllers">

src/content/docs/identitymodel/endpoints/introspection.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ redirect_from:
88
- /foss/identitymodel/endpoints/introspection/
99
---
1010

11-
import { Code } from "astro/components";
11+
import { Code } from "@astrojs/starlight/components";
1212
import { Tabs, TabItem } from "@astrojs/starlight/components";
1313

1414
The client library for [OAuth 2.0 token introspection (RFC 7662)](https://tools.ietf.org/html/rfc7662) is provided by the `IntrospectionClient` class,

src/content/docs/identityserver/diagnostics/data.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar:
88
variant: tip
99
---
1010

11-
import { Code } from "astro/components";
11+
import { Code } from "@astrojs/starlight/components";
1212
import { Tabs, TabItem } from "@astrojs/starlight/components";
1313

1414
<span data-shb-badge data-shb-badge-variant="default">Added in 7.3</span>

src/content/docs/identityserver/quickstarts/7-blazor.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ redirect_from:
1010
- /identityserver/v7/quickstarts/7_blazor/
1111
---
1212

13-
import { Code } from "astro/components";
13+
import { Code } from "@astrojs/starlight/components";
1414
import { Tabs, TabItem } from "@astrojs/starlight/components";
1515

1616
Similar to JavaScript SPAs, you can build Blazor WASM applications with and without a backend. Not having a backend has

src/content/docs/identityserver/quickstarts/javascript-clients/js-with-backend.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ redirect_from:
1010
- /identityserver/v7/quickstarts/js_clients/js_with_backend/
1111
---
1212

13-
import { Code } from "astro/components";
13+
import { Code } from "@astrojs/starlight/components";
1414
import { Tabs, TabItem } from "@astrojs/starlight/components";
1515

1616
:::note

src/content/docs/identityserver/troubleshooting/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ redirect_from:
1111
- /identityserver/v7/troubleshooting/wilson/
1212
---
1313

14-
import { Code } from "astro/components";
14+
import { Code } from "@astrojs/starlight/components";
1515
import { Tabs, TabItem } from "@astrojs/starlight/components";
1616

1717
When troubleshooting an IdentityServer setup we have some tips and tricks to share. These are both ways to get more

src/content/docs/identityserver/ui/server-side-sessions/session-expiration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ redirect_from:
99
- /identityserver/v7/ui/server_side_sessions/session_expiration/
1010
---
1111

12-
import { Code } from "astro/components";
12+
import { Code } from "@astrojs/starlight/components";
1313
import { Tabs, TabItem } from "@astrojs/starlight/components";
1414

1515
If the user session ends when the session cookie expires without explicitly triggering logout, there is most likely a

src/content/docs/identityserver/upgrades/identityserver4-to-duende-identityserver-v7.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
label: IdentityServer4 → v7.3
66
---
77

8-
import { Code } from "astro/components";
8+
import { Code } from "@astrojs/starlight/components";
99
import { Steps } from "@astrojs/starlight/components";
1010
import { Tabs, TabItem } from "@astrojs/starlight/components";
1111

0 commit comments

Comments
 (0)