Include complete API and frontend sources for unified deployment
This commit is contained in:
1 parent
627b0ae60e
commit
d8fcae32b0
93 files changed
+53270
-3
No files matched your search
@@ -0,0 +1,52 @@
|
||||
<template>
|
||||
<svg
|
||||
:width="size"
|
||||
:height="size"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="1.65"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
aria-hidden="true"
|
||||
>
|
||||
<path v-for="(path, index) in paths" :key="index" :d="path" />
|
||||
</svg>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
const icons = {
|
||||
leaf: ['M12 21V11', 'M12 16C4 16 3 11 3 7c6 0 9 2 9 7', 'M12 11c0-6 3-8 9-8 0 6-3 9-9 9'],
|
||||
grid: ['M3 3h7v7H3z', 'M14 3h7v7h-7z', 'M3 14h7v7H3z', 'M14 14h7v7h-7z'],
|
||||
users: [
|
||||
'M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2',
|
||||
'M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8',
|
||||
'M17 4a4 4 0 0 1 0 8',
|
||||
'M22 21v-2a4 4 0 0 0-3-3.87',
|
||||
],
|
||||
chart: ['M4 20h16', 'M7 16v-5', 'M12 16V4', 'M17 16V8'],
|
||||
arrow: ['M5 12h14', 'm13 6 6 6-6 6'],
|
||||
back: ['M19 12H5', 'm11 6-6 6 6 6'],
|
||||
check: ['m5 12 4 4L19 6'],
|
||||
search: ['M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16', 'm17 17 4 4'],
|
||||
logout: ['M9 21H4V3h5', 'M10 12h11', 'm17 8 4 4-4 4'],
|
||||
close: ['m6 6 12 12', 'M6 18 18 6'],
|
||||
plus: ['M12 5v14', 'M5 12h14'],
|
||||
lock: ['M5 11h14v10H5z', 'M8 11V7a4 4 0 0 1 8 0v4'],
|
||||
info: ['M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20', 'M12 11v6', 'M12 7h.01'],
|
||||
clock: ['M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20', 'M12 6v6l4 2'],
|
||||
file: ['M14 2H4v20h16V8z', 'M14 2v6h6', 'M8 13h8', 'M8 17h5'],
|
||||
eye: ['M2 12s3-7 10-7 10 7 10 7-3 7-10 7S2 12 2 12', 'M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6'],
|
||||
copy: ['M8 8h13v13H8z', 'M16 4V2H2v14h2'],
|
||||
award: ['M12 15a6 6 0 1 0 0-12 6 6 0 0 0 0 12', 'm8 14-1 8 5-3 5 3-1-8'],
|
||||
menu: ['M4 6h16', 'M4 12h16', 'M4 18h16'],
|
||||
}
|
||||
export default {
|
||||
props: { name: { type: String, default: 'grid' }, size: { type: [Number, String], default: 20 } },
|
||||
computed: {
|
||||
paths() {
|
||||
return icons[this.name] || icons.grid
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Reference in new issue
Block a user