From 8875bf96fb207c5863b88a9ae9d5332c8bb6d37b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 18 Apr 2023 17:58:46 +0300 Subject: [PATCH] Custom Icon page added --- assets/menu/menu.json | 13 +++++-- doc/customicons/FontAwesomeDoc.vue | 23 +++++++++++++ doc/customicons/ImageDoc.vue | 23 +++++++++++++ doc/customicons/MaterialDoc.vue | 23 +++++++++++++ doc/customicons/SVGDoc.vue | 27 +++++++++++++++ doc/icons/ImportDoc.vue | 2 +- pages/customicons/index.vue | 55 ++++++++++++++++++++++++++++++ pages/icons/index.vue | 4 +-- 8 files changed, 165 insertions(+), 5 deletions(-) create mode 100644 doc/customicons/FontAwesomeDoc.vue create mode 100644 doc/customicons/ImageDoc.vue create mode 100644 doc/customicons/MaterialDoc.vue create mode 100644 doc/customicons/SVGDoc.vue create mode 100644 pages/customicons/index.vue diff --git a/assets/menu/menu.json b/assets/menu/menu.json index 4bd02ce41..a15a73703 100644 --- a/assets/menu/menu.json +++ b/assets/menu/menu.json @@ -455,9 +455,18 @@ "to": "/uikit" }, { - "name": "PrimeIcons", + "name": "Icons", "icon": "pi pi-eye", - "to": "/icons" + "children": [ + { + "name": "Prime Icons", + "to": "/icons" + }, + { + "name": "Custom Icons", + "to": "/customicons" + } + ] }, { "name": "Templates", diff --git a/doc/customicons/FontAwesomeDoc.vue b/doc/customicons/FontAwesomeDoc.vue new file mode 100644 index 000000000..7b1c73bcc --- /dev/null +++ b/doc/customicons/FontAwesomeDoc.vue @@ -0,0 +1,23 @@ + + + diff --git a/doc/customicons/ImageDoc.vue b/doc/customicons/ImageDoc.vue new file mode 100644 index 000000000..1dae2b392 --- /dev/null +++ b/doc/customicons/ImageDoc.vue @@ -0,0 +1,23 @@ + + + diff --git a/doc/customicons/MaterialDoc.vue b/doc/customicons/MaterialDoc.vue new file mode 100644 index 000000000..92e0cf39b --- /dev/null +++ b/doc/customicons/MaterialDoc.vue @@ -0,0 +1,23 @@ + + + diff --git a/doc/customicons/SVGDoc.vue b/doc/customicons/SVGDoc.vue new file mode 100644 index 000000000..efcccec09 --- /dev/null +++ b/doc/customicons/SVGDoc.vue @@ -0,0 +1,27 @@ + + + diff --git a/doc/icons/ImportDoc.vue b/doc/icons/ImportDoc.vue index 06213184b..b96ec6d70 100644 --- a/doc/icons/ImportDoc.vue +++ b/doc/icons/ImportDoc.vue @@ -1,6 +1,6 @@ diff --git a/pages/customicons/index.vue b/pages/customicons/index.vue new file mode 100644 index 000000000..2b3bbf52b --- /dev/null +++ b/pages/customicons/index.vue @@ -0,0 +1,55 @@ + + + diff --git a/pages/icons/index.vue b/pages/icons/index.vue index 4a3f35592..89cadb22e 100755 --- a/pages/icons/index.vue +++ b/pages/icons/index.vue @@ -2,7 +2,7 @@
Vue Icon Library - PrimeVue - +
@@ -11,7 +11,7 @@

Icons

PrimeIcons - is the default icon library of PrimeVue with over 250 open source icons developed by PrimeTek. + is the default icon library of PrimeVue with over 250 open source icons developed by PrimeTek. PrimeIcons library is optional as PrimeVue components can use any icon with templating.