Skip to content

Commit 6a43c0d

Browse files
authored
Merge pull request #152 from Blazorade/feature/showroom
Added typography section to the showroom
2 parents 72433f4 + a077362 commit 6a43c0d

File tree

4 files changed

+78
-9
lines changed

4 files changed

+78
-9
lines changed

Blazorade.Bootstrap.Components.Showroom/Host/Shared/MainMenu.razor

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
new MenuItem { Text = "Grid", Url = "grid", Description = "Use the powerful grid system to build mobile-first layouts of all shapes and sizes." },
1111
}
1212
},
13-
//new MenuItem
14-
//{
15-
// Text = "Content",
16-
// Children = new List<MenuItem>
17-
// {
18-
19-
// }
20-
//},
13+
new MenuItem
14+
{
15+
Text = "Content",
16+
Children = new List<MenuItem>
17+
{
18+
new MenuItem { Text = "Typography", Url = "typography", Description = "Support for typography in Bootstrap."}
19+
}
20+
},
2121
new MenuItem
2222
{
2323
Text = "Components",
@@ -59,7 +59,7 @@
5959
IsDisabled = true,
6060
Children = new List<MenuItem>
6161
{
62-
62+
6363
}
6464
}
6565
};
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
2+
<Heading Level="2">Typography</Heading>
3+
4+
<Paragraph>
5+
Blazorade Bootstrap supports much of the typography support in Bootstrap. This section showcases this support.
6+
</Paragraph>
7+
<DocsSection ComponentName="Typography" />
8+
9+
10+
<Heading Id="headings" IsAnchor="true" Level="3" MarginTop="5">Headings</Heading>
11+
<Paragraph>
12+
All heading sizes are supported.
13+
</Paragraph>
14+
<DocsSection ComponentName="Heading" />
15+
16+
<Heading Level="1">h1 Heading</Heading>
17+
<Heading Level="2">h2 Heading</Heading>
18+
<Heading Level="3">h3 Heading</Heading>
19+
<Heading Level="4">h4 Heading</Heading>
20+
<Heading Level="5">h5 Heading</Heading>
21+
<Heading Level="6">h6 Heading</Heading>
22+
23+
24+
25+
<Heading Id="display" IsAnchor="true" Level="3" MarginTop="5">Display Headings</Heading>
26+
<Paragraph>
27+
If you need a heading to stand out, you can use a display heading. This is a larger size heading. This is
28+
used for instance in the <code><Anchor Url="jumbotrons">Jumbotron</Anchor></code> component.
29+
</Paragraph>
30+
31+
<Heading Level="1" Display="1">H1 Display 1</Heading>
32+
<Heading Level="1" Display="2">H1 Display 2</Heading>
33+
<Heading Level="1" Display="3">H1 Display 3</Heading>
34+
<Heading Level="1" Display="4">H1 Display 4</Heading>
35+
36+
37+
38+
<Heading Id="lead" IsAnchor="true" Level="3" MarginTop="5">Lead</Heading>
39+
<Paragraph>
40+
Make a paragraph stand out by making it into a lead paragraph.
41+
</Paragraph>
42+
<DocsSection ComponentName="Paragraph" />
43+
44+
<Paragraph IsLead="true">
45+
This is a lead paragraph, with slightly bigger font.
46+
</Paragraph>
47+
<Paragraph>
48+
This is just a standard paragraph.
49+
</Paragraph>
50+
51+
52+
53+
<Heading Id="lead" IsAnchor="true" Level="3" MarginTop="5">Lead</Heading>
54+
<Paragraph>
55+
For quoting blocks of content from another source, you can use the <code>Blockquote</code> component.
56+
</Paragraph>
57+
<DocsSection ComponentName="Blockquote" />
58+
59+
<Blockquote>
60+
<Paragraph>
61+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
62+
</Paragraph>
63+
</Blockquote>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@page "/typography"
2+
3+
<Blazorade.Bootstrap.Components.Showroom.Typography />
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@page "/typography"
2+
3+
<Blazorade.Bootstrap.Components.Showroom.Typography />

0 commit comments

Comments
 (0)