Skip to content

Commit ab45175

Browse files
Remove banner example from index.mdx and text-refine new page
1 parent a2602c9 commit ab45175

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/content/docs/style-guide/frontmatter/banner.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Steps, FileTree } from "~/components";
99

1010
One of the fields you can add to the [Frontmatter](/style-guide/frontmatter/) is `banner`. It displays a prominent section at the top of the page and supports the use of HTML for links and formatting.
1111

12-
Only use it to alert about situations that may cause disruptions to users and take note to remove it when applicable.
12+
Only use it to alert about disruptive situations and take note to remove it when applicable.
1313

1414
## Example
1515

src/content/docs/style-guide/frontmatter/index.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ description: |
55
For example, a regular page might set title and description fields.
66
sidebar:
77
order: 3
8-
banner:
9-
content: |
10-
<h2>Hello, world!</h2>
11-
<a href="/">Homepage</a>
128
---
139

1410
Frontmatter contains the metadata for a page, such as the `title`. It is written as YAML, between `---`, at the top of the page.
@@ -23,10 +19,6 @@ description: |
2319
For example, a regular page might set title and description fields.
2420
sidebar:
2521
order: 3
26-
banner:
27-
content: |
28-
<h2>Hello, world!</h2>
29-
<a href="/">Homepage</a>
3022
---
3123
```
3224

0 commit comments

Comments
 (0)