File tree Expand file tree Collapse file tree 3 files changed +53
-3
lines changed Expand file tree Collapse file tree 3 files changed +53
-3
lines changed Original file line number Diff line number Diff line change @@ -157,19 +157,24 @@ export default {
157
157
icon : 'cui-pie-chart'
158
158
} ,
159
159
{
160
- name : 'CoreUI Icons' ,
160
+ name : 'Icons' ,
161
161
url : '/icons' ,
162
162
icon : 'cui-star' ,
163
163
children : [
164
164
{
165
- name : 'Icons library ' ,
165
+ name : 'CoreUI Icons ' ,
166
166
url : '/icons/coreui-icons' ,
167
167
icon : 'cui-star' ,
168
168
badge : {
169
169
variant : 'info' ,
170
170
text : 'NEW'
171
171
}
172
172
} ,
173
+ {
174
+ name : 'Brands' ,
175
+ url : '/icons/brands' ,
176
+ icon : 'cui-star'
177
+ } ,
173
178
{
174
179
name : 'Flags' ,
175
180
url : '/icons/flags' ,
Original file line number Diff line number Diff line change @@ -38,8 +38,9 @@ const Dropdowns = () => import('@/views/buttons/Dropdowns')
38
38
const BrandButtons = ( ) => import ( '@/views/buttons/BrandButtons' )
39
39
40
40
// Views - Icons
41
- const Flags = ( ) => import ( '@/views/icons/Flags' )
42
41
const CoreUIIcons = ( ) => import ( '@/views/icons/CoreUIIcons' )
42
+ const Brands = ( ) => import ( '@/views/icons/Brands' )
43
+ const Flags = ( ) => import ( '@/views/icons/Flags' )
43
44
44
45
// Views - Notifications
45
46
const Alerts = ( ) => import ( '@/views/notifications/Alerts' )
@@ -256,6 +257,11 @@ export default new Router({
256
257
name : 'Icons library' ,
257
258
component : CoreUIIcons
258
259
} ,
260
+ {
261
+ path : 'brands' ,
262
+ name : 'Brands' ,
263
+ component : Brands
264
+ } ,
259
265
{
260
266
path : 'flags' ,
261
267
name : 'Flags' ,
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div >
3
+ <CCard >
4
+ <CCardHeader >
5
+ <i class =" cui-globe" ></i >Font Awesome brand icons
6
+ </CCardHeader >
7
+ <CCardBody >
8
+ <CRow class =" c-text-center" >
9
+ <CCol class =" c-mb-5" col =" 12" >
10
+ <!-- For using the flags inline with text add the classes
11
+ <code>.flag-icon</code> and <code>.flag-icon-xx</code>
12
+ (where xx is the ISO 3166-1-alpha-2 code of a country) to an empty
13
+ span. If you want to have a squared version flag then add the class
14
+ flag-icon-squared as well. -->
15
+ </CCol >
16
+ <template v-for =" (brand , brandName ) in $options .brands " >
17
+ <CCol
18
+ class =" c-mb-5"
19
+ col =" 3"
20
+ sm =" 2"
21
+ :key =" key"
22
+ >
23
+ <CIcon :height =" 42" :content =" $options.brands[brandName]" />
24
+ <div >{{brandName}}</div >
25
+ </CCol >
26
+ </template >
27
+ </CRow >
28
+ </CCardBody >
29
+ </CCard >
30
+ </div >
31
+ </template >
32
+
33
+ <script >
34
+ import { iconSet as brands } from ' @coreui/icons/brands'
35
+ export default {
36
+ name: ' Brands' ,
37
+ brands
38
+ }
39
+ </script >
You can’t perform that action at this time.
0 commit comments