Skip to content

Commit 9d1c000

Browse files
committed
fix(buttons): doc paths
1 parent b78d327 commit 9d1c000

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/app/views/buttons/buttons/buttons.component.html

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<c-row ngPreserveWhitespaces>
22
<c-col xs="12">
3-
<app-docs-callout href="components/buttons" name="Button"></app-docs-callout>
3+
<app-docs-callout href="components/button" name="Button"></app-docs-callout>
44
</c-col>
55
<c-col xs="12">
66
<c-card class="mb-4" id="AngularButton">
@@ -14,7 +14,7 @@
1414
it. CoreUI buttons are used to initialize operations, both in the background or
1515
foreground of an experience.
1616
</p>
17-
<app-docs-example fragment="AngularButton" href="components/buttons">
17+
<app-docs-example fragment="AngularButton" href="components/button">
1818
<c-row *ngFor="let state of states; index as i" class="align-items-center mb-3">
1919
<c-col class="mb-3 mb-xl-0" xl="2" xs="12">
2020
{{state.charAt(0).toUpperCase() + state.slice(1)}}
@@ -44,7 +44,7 @@
4444
<p class="text-medium-emphasis small">
4545
You can combine button with our <a href="https://icons.coreui.io/">CoreUI Icons</a>.
4646
</p>
47-
<app-docs-example fragment="AngularButtonWithIcons" href="components/buttons">
47+
<app-docs-example fragment="AngularButtonWithIcons" href="components/button">
4848
<c-row *ngFor="let state of states; index as i" class="align-items-center mb-3">
4949
<c-col class="mb-3 mb-xl-0" xl="2" xs="12">
5050
{{state.charAt(0).toUpperCase() + state.slice(1)}}
@@ -83,7 +83,7 @@
8383
should be given a <code>role=&#34;button&#34;</code> to adequately communicate their
8484
meaning to assistive technologies such as screen readers.
8585
</p>
86-
<app-docs-example href="components/buttons#button-components">
86+
<app-docs-example href="components/button#button-components">
8787
<a cButton class="me-1" color="primary" routerLink="./">
8888
Link
8989
</a>
@@ -107,7 +107,7 @@
107107
If you need a button, but without the strong background colors. Set
108108
<code>variant=&#34;outline&#34;</code> prop to remove all background colors.
109109
</p>
110-
<app-docs-example href="components/buttons#outline-buttons">
110+
<app-docs-example href="components/button#outline-buttons">
111111
<c-row *ngFor="let state of states; index as i" class="align-items-center mb-3">
112112
<c-col class="mb-3 mb-xl-0" xl="2" xs="12">
113113
{{state.charAt(0).toUpperCase() + state.slice(1)}}
@@ -142,7 +142,7 @@
142142
If you need a ghost variant of button, set <code>variant=&#34;ghost&#34;</code> prop
143143
to remove all background colors.
144144
</p>
145-
<app-docs-example href="components/buttons#ghost-buttons">
145+
<app-docs-example href="components/button#ghost-buttons">
146146
<c-row *ngFor="let state of states; index as i" class="align-items-center mb-3">
147147
<c-col class="mb-3 mb-xl-0" xl="2" xs="12">
148148
{{state.charAt(0).toUpperCase() + state.slice(1)}}
@@ -177,15 +177,15 @@
177177
Larger or smaller buttons? Add <code>size=&#34;lg&#34;</code>
178178
<code>size=&#34;sm&#34;</code> for additional sizes.
179179
</p>
180-
<app-docs-example href="components/buttons#sizes">
180+
<app-docs-example href="components/button#sizes">
181181
<button cButton class="mb-3" color="primary" size="lg">
182182
Large button
183183
</button>
184184
<button cButton class="mb-3" color="secondary" size="lg">
185185
Large button
186186
</button>
187187
</app-docs-example>
188-
<app-docs-example href="components/buttons#sizes">
188+
<app-docs-example href="components/button#sizes">
189189
<br>
190190
<button cButton class="mb-3" color="primary" size="sm">
191191
Small button
@@ -203,7 +203,7 @@
203203
<strong>Angular Button</strong> <small>Pill</small>
204204
</c-card-header>
205205
<c-card-body>
206-
<app-docs-example href="components/buttons#pill-buttons">
206+
<app-docs-example href="components/button#pill-buttons">
207207
<ng-container *ngFor="let color of colors; index as i; last as isLast">
208208
<button
209209
*ngIf="!isLast"
@@ -225,7 +225,7 @@
225225
<strong>Angular Button</strong> <small>Square</small>
226226
</c-card-header>
227227
<c-card-body>
228-
<app-docs-example href="components/buttons#square">
228+
<app-docs-example href="components/button#square">
229229
<ng-container *ngFor="let color of colors; index as i; last as isLast">
230230
<button
231231
*ngIf="!isLast"
@@ -253,7 +253,7 @@
253253
<code>pointer-events: none</code> applied to, disabling hover and active states from
254254
triggering.
255255
</p>
256-
<app-docs-example href="components/buttons#disabled-state">
256+
<app-docs-example href="components/button#disabled-state">
257257
<button cButton color="primary" disabled size="lg">
258258
Primary button
259259
</button>
@@ -271,11 +271,11 @@
271271
<code>aria-disabled=&#34;true&#34;</code> attribute to show the state of the component
272272
to assistive technologies.
273273
</p>
274-
<app-docs-example href="components/buttons#disabled-state">
275-
<a cButton color="primary" disabled routerLink="./" size="lg">
274+
<app-docs-example href="components/button#disabled-state">
275+
<a cButton color="primary" disabled [routerLink]="[]" size="lg">
276276
Primary link
277277
</a>
278-
<a cButton color="secondary" disabled routerLink="./" size="lg">
278+
<a cButton color="secondary" disabled [routerLink]="[]" size="lg">
279279
Link
280280
</a>
281281
</app-docs-example>
@@ -291,7 +291,7 @@
291291
<p class="text-medium-emphasis small">
292292
Create buttons that span the full width of a parent—by using utilities.
293293
</p>
294-
<app-docs-example href="components/buttons#block-buttons">
294+
<app-docs-example href="components/button#block-buttons">
295295
<div class="d-grid gap-2">
296296
<button cButton color="primary">Button</button>
297297
<button cButton color="primary">Button</button>
@@ -303,7 +303,7 @@
303303
<code>.d-grid</code> class, thus nullifying the <code>gap-2</code> utility. Resize
304304
your browser to see them change.
305305
</p>
306-
<app-docs-example href="components/buttons#block-buttons">
306+
<app-docs-example href="components/button#block-buttons">
307307
<div class="d-grid gap-2 d-md-block">
308308
<button cButton color="primary">Button</button>
309309
<button cButton color="primary">Button</button>
@@ -314,7 +314,7 @@
314314
example, for a half-width &#34;block button&#34;, use <code>.col-6</code>. Center it
315315
horizontally with <code>.mx-auto</code>, too.
316316
</p>
317-
<app-docs-example href="components/buttons#block-buttons">
317+
<app-docs-example href="components/button#block-buttons">
318318
<div class="d-grid gap-2 col-6 mx-auto">
319319
<button cButton color="primary">Button</button>
320320
<button cButton color="primary">Button</button>
@@ -326,7 +326,7 @@
326326
a margin utility on the button to right align the buttons when they&#39;re no longer
327327
stacked.
328328
</p>
329-
<app-docs-example href="components/buttons#block-buttons">
329+
<app-docs-example href="components/button#block-buttons">
330330
<div class="d-grid gap-2 d-md-flex justify-content-md-end">
331331
<button cButton class="me-md-2" color="primary">
332332
Button

0 commit comments

Comments
 (0)