Skip to content

Commit 6608213

Browse files
committed
chore: add CoreUI links to the sidebar-nav, minor refactors
1 parent 783e3a3 commit 6608213

File tree

3 files changed

+27
-6
lines changed

3 files changed

+27
-6
lines changed

src/app/containers/default-layout/_nav.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const navItems: INavData[] = [
112112
{
113113
name: 'Dropdowns',
114114
url: '/buttons/dropdowns'
115-
},
115+
}
116116
]
117117
},
118118
{
@@ -241,4 +241,22 @@ export const navItems: INavData[] = [
241241
}
242242
]
243243
},
244+
{
245+
title: true,
246+
name: 'Links',
247+
class: 'py-0'
248+
},
249+
{
250+
name: 'Docs',
251+
url: 'https://coreui.io/angular/docs/templates/installation',
252+
iconComponent: { name: 'cil-description' },
253+
attributes: { target: '_blank', class: '-text-dark' },
254+
class: 'mt-auto'
255+
},
256+
{
257+
name: 'Try CoreUI PRO',
258+
url: 'https://coreui.io/product/angular-dashboard-template/',
259+
iconComponent: { name: 'cil-layers' },
260+
attributes: { target: '_blank' }
261+
}
244262
];

src/app/containers/default-layout/default-layout.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
<!--app-body-->
4242
<div class="body flex-grow-1 px-3">
4343
<c-container breakpoint="lg" class="h-auto">
44-
<router-outlet/>
44+
<router-outlet />
4545
</c-container>
4646
</div>
4747
<!--app footer-->
48-
<app-default-footer/>
48+
<app-default-footer />
4949
</div>

src/app/icons/icon-subset.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import {
3939
cilCommentSquare,
4040
cilCreditCard,
4141
cilCursor,
42+
cilDescription,
4243
cilDollar,
4344
cilDrop,
4445
cilEnvelopeClosed,
@@ -87,7 +88,7 @@ import {
8788
cilUser,
8889
cilUserFemale,
8990
cilUserFollow,
90-
cilUserUnfollow,
91+
cilUserUnfollow
9192
} from '@coreui/icons';
9293

9394
export const iconSubset = {
@@ -131,6 +132,7 @@ export const iconSubset = {
131132
cilCommentSquare,
132133
cilCreditCard,
133134
cilCursor,
135+
cilDescription,
134136
cilDollar,
135137
cilDrop,
136138
cilEnvelopeClosed,
@@ -179,7 +181,7 @@ export const iconSubset = {
179181
cilUser,
180182
cilUserFemale,
181183
cilUserFollow,
182-
cilUserUnfollow,
184+
cilUserUnfollow
183185
};
184186

185187
export enum IconSubset {
@@ -215,14 +217,15 @@ export enum IconSubset {
215217
cilCalendar = 'cilCalendar',
216218
cilChart = 'cilChart',
217219
cilChartPie = 'cilChartPie',
218-
cilCheck='cilCheck',
220+
cilCheck = 'cilCheck',
219221
cilChevronLeft = 'cilChevronLeft',
220222
cilChevronRight = 'cilChevronRight',
221223
cilCloudDownload = 'cilCloudDownload',
222224
cilCode = 'cilCode',
223225
cilCommentSquare = 'cilCommentSquare',
224226
cilCreditCard = 'cilCreditCard',
225227
cilCursor = 'cilCursor',
228+
cilDescription = 'cilDescription',
226229
cilDollar = 'cilDollar',
227230
cilDrop = 'cilDrop',
228231
cilEnvelopeClosed = 'cilEnvelopeClosed',

0 commit comments

Comments
 (0)