Skip to content

Commit 6024429

Browse files
committed
docs: update link to documentation
1 parent 0b70545 commit 6024429

File tree

30 files changed

+52
-52
lines changed

30 files changed

+52
-52
lines changed

src/views/base/accordion/Accordion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const Accordion = () => {
1616
return (
1717
<CRow>
1818
<CCol xs={12}>
19-
<DocsComponents href="components/accordion" />
19+
<DocsComponents href="components/accordion/" />
2020
<CCard className="mb-4">
2121
<CCardHeader>
2222
<strong>React Accordion</strong>

src/views/base/breadcrumbs/Breadcrumbs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const Breadcrumbs = () => {
1515
return (
1616
<CRow>
1717
<CCol xs={12}>
18-
<DocsComponents href="components/breadcrumb" />
18+
<DocsComponents href="components/breadcrumb/" />
1919
<CCard className="mb-4">
2020
<CCardHeader>
2121
<strong>React Breadcrumb</strong>

src/views/base/cards/Cards.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const Cards = () => {
2727
return (
2828
<CRow>
2929
<CCol xs={12}>
30-
<DocsComponents href="components/card" />
30+
<DocsComponents href="components/card/" />
3131
<CCard className="mb-4">
3232
<CCardHeader>
3333
<strong>Card</strong> <small>Example</small>
@@ -245,7 +245,7 @@ const Cards = () => {
245245
</CCard>
246246
</DocsExample>
247247
<p className="text-body-secondary small">
248-
Card headers can be styled by adding ex. <code>component=&#34;h5&#34;</code>.
248+
Card headers can be styled by adding ex. <code>as=&#34;h5&#34;</code>.
249249
</p>
250250
<DocsExample href="components/card/#header-and-footer">
251251
<CCard>

src/views/base/carousels/Carousels.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const Carousels = () => {
2525
return (
2626
<CRow>
2727
<CCol xs={12}>
28-
<DocsComponents href="components/carousel" />
28+
<DocsComponents href="components/carousel/" />
2929
<CCard className="mb-4">
3030
<CCardHeader>
3131
<strong>Carousel</strong> <small>Slide only</small>

src/views/base/collapses/Collapses.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const Collapses = () => {
1111
return (
1212
<CRow>
1313
<CCol xs={12}>
14-
<DocsComponents href="components/collapse" />
14+
<DocsComponents href="components/collapse/" />
1515
<CCard className="mb-4">
1616
<CCardHeader>
1717
<strong>React Collapse</strong>

src/views/base/list-groups/ListGroups.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const ListGroups = () => {
1616
return (
1717
<CRow>
1818
<CCol xs={12}>
19-
<DocsComponents href="components/list-group" />
19+
<DocsComponents href="components/list-group/" />
2020
<CCard className="mb-4">
2121
<CCardHeader>
2222
<strong>React List Group</strong> <small>Basic example</small>
@@ -91,8 +91,8 @@ const ListGroups = () => {
9191
<p className="text-body-secondary small">
9292
Use <code>&lt;a&gt;</code>s or <code>&lt;button&gt;</code>s to create{' '}
9393
<em>actionable</em> list group items with hover, disabled, and active states by adding{' '}
94-
<code>component=&#34;a|button&#34;</code>. We separate these pseudo-classes to ensure
95-
list groups made of non-interactive elements (like <code>&lt;li&gt;</code>s or{' '}
94+
<code>as=&#34;a|button&#34;</code>. We separate these pseudo-classes to ensure list
95+
groups made of non-interactive elements (like <code>&lt;li&gt;</code>s or{' '}
9696
<code>&lt;div&gt;</code>
9797
s) don&#39;tprovide a click or tap affordance.
9898
</p>

src/views/base/navs/Navs.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Navs = () => {
1919
return (
2020
<CRow>
2121
<CCol xs={12}>
22-
<DocsComponents href="components/nav" />
22+
<DocsComponents href="components/nav-tabs/" />
2323
<CCard className="mb-4">
2424
<CCardHeader>
2525
<strong>React Navs</strong> <small>Base navs</small>
@@ -31,7 +31,7 @@ const Navs = () => {
3131
overrides (for working with lists), some link padding for larger hit areas, and basic
3232
disabled styling.
3333
</p>
34-
<DocsExample href="components/nav#base-nav">
34+
<DocsExample href="components/nav-tabs#base-nav">
3535
<CNav>
3636
<CNavItem>
3737
<CNavLink href="#" active>
@@ -58,7 +58,7 @@ const Navs = () => {
5858
the .nav uses display: flex, the nav links behave the same as nav items would, but
5959
without the extra markup.
6060
</p>
61-
<DocsExample href="components/nav#base-nav">
61+
<DocsExample href="components/nav-tabs#base-nav">
6262
<CNav as="nav">
6363
<CNavLink href="#" active>
6464
Active
@@ -90,7 +90,7 @@ const Navs = () => {
9090
<p className="text-body-secondary small">
9191
Centered with <code>.justify-content-center</code>:
9292
</p>
93-
<DocsExample href="components/nav#horizontal-alignment">
93+
<DocsExample href="components/nav-tabs#horizontal-alignment">
9494
<CNav className="justify-content-center">
9595
<CNavItem>
9696
<CNavLink href="#" active>
@@ -113,7 +113,7 @@ const Navs = () => {
113113
<p className="text-body-secondary small">
114114
Right-aligned with <code>.justify-content-end</code>:
115115
</p>
116-
<DocsExample href="components/nav#base-nav">
116+
<DocsExample href="components/nav-tabs#base-nav">
117117
<CNav className="justify-content-end">
118118
<CNavItem>
119119
<CNavLink href="#" active>
@@ -147,7 +147,7 @@ const Navs = () => {
147147
<code>.flex-column</code> utility. Need to stack them on some viewports but not
148148
others? Use the responsive versions (e.g., <code>.flex-sm-column</code>).
149149
</p>
150-
<DocsExample href="components/nav#vertical">
150+
<DocsExample href="components/nav-tabs#vertical">
151151
<CNav className="flex-column">
152152
<CNavItem>
153153
<CNavLink href="#" active>
@@ -180,7 +180,7 @@ const Navs = () => {
180180
Takes the basic nav from above and adds the <code>variant=&#34;tabs&#34;</code> class
181181
to generate a tabbed interface
182182
</p>
183-
<DocsExample href="components/nav#tabs">
183+
<DocsExample href="components/nav-tabs#tabs">
184184
<CNav variant="tabs">
185185
<CNavItem>
186186
<CNavLink href="#" active>
@@ -212,7 +212,7 @@ const Navs = () => {
212212
<p className="text-body-secondary small">
213213
Take that same HTML, but use <code>variant=&#34;pills&#34;</code> instead:
214214
</p>
215-
<DocsExample href="components/nav#pills">
215+
<DocsExample href="components/nav-tabs#pills">
216216
<CNav variant="pills">
217217
<CNavItem>
218218
<CNavLink href="#" active>
@@ -247,7 +247,7 @@ const Navs = () => {
247247
<code>.nav-item</code>s, use <code>layout=&#34;fill&#34;</code>. Notice that all
248248
horizontal space is occupied, but not every nav item has the same width.
249249
</p>
250-
<DocsExample href="components/nav#fill-and-justify">
250+
<DocsExample href="components/nav-tabs#fill-and-justify">
251251
<CNav variant="pills" layout="fill">
252252
<CNavItem>
253253
<CNavLink href="#" active>
@@ -272,7 +272,7 @@ const Navs = () => {
272272
space will be occupied by nav links, but unlike the .nav-fill above, every nav item
273273
will be the same width.
274274
</p>
275-
<DocsExample href="components/nav#fill-and-justify">
275+
<DocsExample href="components/nav-tabs#fill-and-justify">
276276
<CNav variant="pills" layout="justified">
277277
<CNavItem>
278278
<CNavLink href="#" active>
@@ -308,7 +308,7 @@ const Navs = () => {
308308
the example below, our nav will be stacked on the lowest breakpoint, then adapt to a
309309
horizontal layout that fills the available width starting from the small breakpoint.
310310
</p>
311-
<DocsExample href="components/nav#working-with-flex-utilities">
311+
<DocsExample href="components/nav-tabs#working-with-flex-utilities">
312312
<CNav as="nav" variant="pills" className="flex-column flex-sm-row">
313313
<CNavLink href="#" active>
314314
Active
@@ -329,7 +329,7 @@ const Navs = () => {
329329
<strong>React Navs</strong> <small>Tabs with dropdowns</small>
330330
</CCardHeader>
331331
<CCardBody>
332-
<DocsExample href="components/nav#tabs-with-dropdowns">
332+
<DocsExample href="components/nav-tabs#tabs-with-dropdowns">
333333
<CNav>
334334
<CNavItem>
335335
<CNavLink href="#" active>
@@ -363,7 +363,7 @@ const Navs = () => {
363363
<strong>React Navs</strong> <small>Pills with dropdowns</small>
364364
</CCardHeader>
365365
<CCardBody>
366-
<DocsExample href="components/nav#pills-with-dropdowns">
366+
<DocsExample href="components/nav-tabs#pills-with-dropdowns">
367367
<CNav variant="pills">
368368
<CNavItem>
369369
<CNavLink href="#" active>

src/views/base/paginations/Paginations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const Paginations = () => {
1414
return (
1515
<CRow>
1616
<CCol xs={12}>
17-
<DocsComponents href="components/pagination" />
17+
<DocsComponents href="components/pagination/" />
1818
<CCard className="mb-4">
1919
<CCardHeader>
2020
<strong>React Pagination</strong>

src/views/base/placeholders/Placeholders.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Placeholders = () => {
1919
return (
2020
<CRow>
2121
<CCol xs={12}>
22-
<DocsComponents href="components/placeholder" />
22+
<DocsComponents href="components/placeholder/" />
2323
<CCard className="mb-4">
2424
<CCardHeader>
2525
<strong>React Placeholder</strong>
@@ -60,10 +60,10 @@ const Placeholders = () => {
6060
<rect width="100%" height="100%" fill="#868e96"></rect>
6161
</svg>
6262
<CCardBody>
63-
<CPlaceholder component={CCardTitle} animation="glow" xs={7}>
63+
<CPlaceholder as={CCardTitle} animation="glow" xs={7}>
6464
<CPlaceholder xs={6} />
6565
</CPlaceholder>
66-
<CPlaceholder component={CCardText} animation="glow">
66+
<CPlaceholder as={CCardText} animation="glow">
6767
<CPlaceholder xs={7} />
6868
<CPlaceholder xs={4} />
6969
<CPlaceholder xs={4} />
@@ -72,7 +72,7 @@ const Placeholders = () => {
7272
</CPlaceholder>
7373
<CPlaceholder
7474
color="primary"
75-
component={CButton}
75+
as={CButton}
7676
disabled
7777
href="#"
7878
tabIndex={-1}
@@ -101,7 +101,7 @@ const Placeholders = () => {
101101
</p>
102102
<CPlaceholder
103103
color="primary"
104-
component={CButton}
104+
as={CButton}
105105
aria-hidden="true"
106106
disabled
107107
href="#"
@@ -179,11 +179,11 @@ const Placeholders = () => {
179179
being <em>actively</em> loaded.
180180
</p>
181181
<DocsExample href="components/placeholder#animation">
182-
<CPlaceholder component="p" animation="glow">
182+
<CPlaceholder as="p" animation="glow">
183183
<CPlaceholder xs={12} />
184184
</CPlaceholder>
185185

186-
<CPlaceholder component="p" animation="wave">
186+
<CPlaceholder as="p" animation="wave">
187187
<CPlaceholder xs={12} />
188188
</CPlaceholder>
189189
</DocsExample>

src/views/base/popovers/Popovers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Popovers = () => {
66
return (
77
<CRow>
88
<CCol xs={12}>
9-
<DocsComponents href="components/popover" />
9+
<DocsComponents href="components/popover/" />
1010
<CCard className="mb-4">
1111
<CCardHeader>
1212
<strong>React Popover</strong> <small>Basic example</small>

src/views/base/progress/Progress.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Progress = () => {
66
return (
77
<CRow>
88
<CCol xs={12}>
9-
<DocsComponents href="components/progress" />
9+
<DocsComponents href="components/progress/" />
1010
<CCard className="mb-4">
1111
<CCardHeader>
1212
<strong>React Progress</strong> <small>Basic example</small>

src/views/base/spinners/Spinners.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Spinners = () => {
66
return (
77
<CRow>
88
<CCol xs={12}>
9-
<DocsComponents href="components/spinner" />
9+
<DocsComponents href="components/spinner/" />
1010
<CCard className="mb-4">
1111
<CCardHeader>
1212
<strong>React Spinner</strong> <small>Border</small>

src/views/base/tables/Tables.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Tables = () => {
1919
return (
2020
<CRow>
2121
<CCol xs={12}>
22-
<DocsComponents href="components/table" />
22+
<DocsComponents href="components/table/" />
2323
<CCard className="mb-4">
2424
<CCardHeader>
2525
<strong>React Table</strong> <small>Basic example</small>

src/views/base/tabs/Tabs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const Navs = () => {
1717
return (
1818
<CRow>
1919
<CCol xs={12}>
20-
<DocsComponents href="components/tabs" />
20+
<DocsComponents href="components/tabs/" />
2121
<CCard className="mb-4">
2222
<CCardHeader>
2323
<strong>React Tabs</strong>

src/views/base/tooltips/Tooltips.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Tooltips = () => {
66
return (
77
<CRow>
88
<CCol xs={12}>
9-
<DocsComponents href="components/tooltip" />
9+
<DocsComponents href="components/tooltip/" />
1010
<CCard className="mb-4">
1111
<CCardHeader>
1212
<strong>React Tooltip</strong> <small>Basic example</small>

src/views/buttons/button-groups/ButtonGroups.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const ButtonGroups = () => {
2424
return (
2525
<CRow>
2626
<CCol xs={12}>
27-
<DocsComponents href="components/button-group" />
27+
<DocsComponents href="components/button-group/" />
2828
<CCard className="mb-4">
2929
<CCardHeader>
3030
<strong>React Button Group</strong> <span>Basic example</span>

src/views/buttons/buttons/Buttons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const Buttons = () => {
88
return (
99
<CRow>
1010
<CCol xs={12}>
11-
<DocsComponents href="components/buttons" />
11+
<DocsComponents href="components/buttons/" />
1212
<CCard className="mb-4">
1313
<CCardHeader>
1414
<strong>React Button</strong>

src/views/buttons/dropdowns/Dropdowns.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Dropdowns = () => {
1919
return (
2020
<CRow>
2121
<CCol xs={12}>
22-
<DocsComponents href="components/dropdown" />
22+
<DocsComponents href="components/dropdown/" />
2323
<CCard className="mb-4">
2424
<CCardHeader>
2525
<strong>React Dropdown</strong> <small>Single button</small>

src/views/forms/checks-radios/ChecksRadios.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const ChecksRadios = () => {
66
return (
77
<CRow>
88
<CCol xs={12}>
9-
<DocsComponents href="forms/checks-radios" />
9+
<DocsComponents href="forms/checks-radios/" />
1010
<CCard className="mb-4">
1111
<CCardHeader>
1212
<strong>React Checkbox</strong>

src/views/forms/floating-labels/FloatingLabels.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const FloatingLabels = () => {
1717
return (
1818
<CRow>
1919
<CCol xs={12}>
20-
<DocsComponents href="forms/floating-labels" />
20+
<DocsComponents href="forms/floating-labels/" />
2121
<CCard className="mb-4">
2222
<CCardHeader>
2323
<strong>React Floating labels</strong>

src/views/forms/form-control/FormControl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const FormControl = () => {
1717
return (
1818
<CRow>
1919
<CCol xs={12}>
20-
<DocsComponents href="forms/form-control" />
20+
<DocsComponents href="forms/form-control/" />
2121
<CCard className="mb-4">
2222
<CCardHeader>
2323
<strong>React Form Control</strong>

src/views/forms/input-group/InputGroup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const InputGroup = () => {
2525
return (
2626
<CRow>
2727
<CCol xs={12}>
28-
<DocsComponents href="forms/input-group" />
28+
<DocsComponents href="forms/input-group/" />
2929
<CCard className="mb-4">
3030
<CCardHeader>
3131
<strong>React Input group</strong> <small>Basic example</small>

src/views/forms/layout/Layout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Layout = () => {
2020
return (
2121
<CRow>
2222
<CCol xs={12}>
23-
<DocsComponents href="forms/layout" />
23+
<DocsComponents href="forms/layout/" />
2424
<CCard className="mb-4">
2525
<CCardHeader>
2626
<strong>Layout</strong> <small>Form grid</small>

src/views/forms/range/Range.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Range = () => {
66
return (
77
<CRow>
88
<CCol xs={12}>
9-
<DocsComponents href="forms/range" />
9+
<DocsComponents href="forms/range/" />
1010
<CCard className="mb-4">
1111
<CCardHeader>
1212
<strong>React Range</strong> <small></small>

src/views/forms/select/Select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Select = () => {
66
return (
77
<CRow>
88
<CCol xs={12}>
9-
<DocsComponents href="forms/select" />
9+
<DocsComponents href="forms/select/" />
1010
<CCard className="mb-4">
1111
<CCardHeader>
1212
<strong>React Select</strong> <small>Default</small>

0 commit comments

Comments
 (0)