Skip to content

Commit 6134620

Browse files
committed
Tweaked home page
1 parent 88fed2c commit 6134620

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

docs/src/pages/page-home.tsx

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,19 @@ export const HomePage = () => {
3434

3535
return (
3636
<Page title="Documentation">
37-
<p>
38-
Welcome to the <strong>Blueprint Datagrid</strong> documentation! <strong>Blueprint Datagrid</strong> is an enhanced table component for{" "}
39-
<a href="https://blueprintjs.com/" target="_blank" rel="noreferrer">
40-
Blueprint 4
41-
</a>
42-
. It adds features like paging, sorting and filtering to basic Blueprint tables. <strong>Blueprint Datagrid</strong> is built with Blueprint components and styling and
43-
stays faithful to the look-and-feel of the library in both dark and light mode. It supports and is written in Typescript.
44-
</p>
37+
<Section>
38+
<p>
39+
Welcome to the <strong>Blueprint Datagrid</strong> documentation! <strong>Blueprint Datagrid</strong> is an enhanced table component for{" "}
40+
<a href="https://blueprintjs.com/" target="_blank" rel="noreferrer">
41+
Blueprint 4
42+
</a>
43+
. It adds features like paging, sorting and filtering to basic Blueprint tables. <strong>Blueprint Datagrid</strong> is built with Blueprint components and styling and
44+
stays faithful to the look-and-feel of the library in both dark and light mode. It supports and is written in Typescript.
45+
</p>
46+
</Section>
4547
<Section title="Example">
4648
<p>
47-
The following example shows most of the current features, like <strong>paging</strong>, <strong>sorting</strong> and <strong>filtering</strong>,{" "}
49+
The following example shows most of the current features, like <strong>paging</strong>, <strong>sorting</strong>, <strong>filtering</strong>,{" "}
4850
<strong>row-level actions</strong> and <strong>custom cell formatting</strong>:
4951
</p>
5052
<Example code={combinedExampleCode}>
@@ -91,7 +93,7 @@ export const HomePage = () => {
9193
the data to use as the contents of the table. The <Code>Datagrid</Code> is mainy configured by passing additional components to it's slot, like <Code>Column</Code>{" "}
9294
components or the <Code>Pager</Code>:
9395
</p>
94-
<Example code={usageExampleCode}>
96+
<Example code={usageExampleCode} showCode>
9597
<Datagrid dataSource={varieties}>
9698
<Column field="name" label="Name" />
9799
<Column field="shuUpperBound" label="Heat (SHU)" type={ColumnType.NUMBER} />

0 commit comments

Comments
 (0)