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 {
157157 icon : 'cui-pie-chart'
158158 } ,
159159 {
160- name : 'CoreUI Icons' ,
160+ name : 'Icons' ,
161161 url : '/icons' ,
162162 icon : 'cui-star' ,
163163 children : [
164164 {
165- name : 'Icons library ' ,
165+ name : 'CoreUI Icons ' ,
166166 url : '/icons/coreui-icons' ,
167167 icon : 'cui-star' ,
168168 badge : {
169169 variant : 'info' ,
170170 text : 'NEW'
171171 }
172172 } ,
173+ {
174+ name : 'Brands' ,
175+ url : '/icons/brands' ,
176+ icon : 'cui-star'
177+ } ,
173178 {
174179 name : 'Flags' ,
175180 url : '/icons/flags' ,
Original file line number Diff line number Diff line change @@ -38,8 +38,9 @@ const Dropdowns = () => import('@/views/buttons/Dropdowns')
3838const BrandButtons = ( ) => import ( '@/views/buttons/BrandButtons' )
3939
4040// Views - Icons
41- const Flags = ( ) => import ( '@/views/icons/Flags' )
4241const CoreUIIcons = ( ) => import ( '@/views/icons/CoreUIIcons' )
42+ const Brands = ( ) => import ( '@/views/icons/Brands' )
43+ const Flags = ( ) => import ( '@/views/icons/Flags' )
4344
4445// Views - Notifications
4546const Alerts = ( ) => import ( '@/views/notifications/Alerts' )
@@ -256,6 +257,11 @@ export default new Router({
256257 name : 'Icons library' ,
257258 component : CoreUIIcons
258259 } ,
260+ {
261+ path : 'brands' ,
262+ name : 'Brands' ,
263+ component : Brands
264+ } ,
259265 {
260266 path : 'flags' ,
261267 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