mirror of
https://github.com/khairul169/garage-webui.git
synced 2026-09-15 00:43:21 +07:00
chore: first build
This commit is contained in:
Executable
+131
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="30mm"
|
||||
height="30mm"
|
||||
viewBox="0 0 30 30"
|
||||
version="1.1"
|
||||
id="svg5"
|
||||
sodipodi:docname="garage-logo.svg"
|
||||
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:zoom="5.0701029"
|
||||
inkscape:cx="75.738107"
|
||||
inkscape:cy="78.20354"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1009"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg5" />
|
||||
<defs
|
||||
id="defs2" />
|
||||
<path
|
||||
id="path6"
|
||||
d="m 18.252345,9.0579502 c -0.218792,0.024311 -0.461894,0 -0.680691,-0.072931 L 9.1116177,6.6998396 C 8.8928239,6.6269083 8.6740302,6.5296667 8.4795464,6.4081145 Z"
|
||||
style="stroke-width:0.243104" />
|
||||
<path
|
||||
id="path26"
|
||||
class="st3"
|
||||
d="m 18.422521,12.558652 4.643297,-1.871904 c 0.09724,-0.04862 0.145863,-0.145862 0.121552,-0.267414 -0.02432,-0.04862 -0.04862,-0.09724 -0.121552,-0.121554 -0.534828,-0.218791 -1.215524,-0.4862076 -1.871903,-0.7536217 -0.121557,-0.04862 -1.264147,0.7779337 -1.361387,0.8508647 l -1.993457,1.604487 c -0.4619,0.437588 -0.04862,0.826556 0.58345,0.559142 z"
|
||||
style="stroke-width:0.243104" />
|
||||
<ellipse
|
||||
id="circle28"
|
||||
class="st3"
|
||||
cx="15.067682"
|
||||
cy="14.381929"
|
||||
rx="2.4310451"
|
||||
ry="2.4310422"
|
||||
style="stroke-width:0.243104" />
|
||||
<path
|
||||
id="path6-0"
|
||||
d="m 18.252345,9.0579502 c -0.218792,0.024311 -0.461894,0 -0.680691,-0.072931 L 9.1116177,6.6998396 C 8.8928239,6.6269083 8.6740302,6.5296667 8.4795464,6.4081145 Z"
|
||||
style="stroke-width:0.243104" />
|
||||
<g
|
||||
id="g1"
|
||||
style="stroke:#ffffff;stroke-opacity:1;stroke-linejoin:round;stroke-linecap:butt;paint-order:markers stroke fill;stroke-width:0.8;stroke-dasharray:none">
|
||||
<path
|
||||
id="path8"
|
||||
class="st0"
|
||||
d="m 5.3921192,23.425409 c 0.4836869,0.0057 0.9683846,-0.0121 1.4513623,0.01026 0.2797376,0.01631 0.5246598,0.244204 0.5357045,0.528822 0.014525,0.715514 0.00242,1.431989 0.00639,2.147882 0.00975,0.18178 -0.2937553,0.13971 -0.4176027,0.217322 C 6.2505828,26.527076 5.4892337,26.60307 4.7516897,26.487383 4.1256342,26.381378 3.5905644,25.93667 3.3273915,25.364822 2.9915288,24.650787 2.9376085,23.833058 3.020282,23.057781 c 0.07389,-0.647851 0.3650579,-1.282203 0.8753663,-1.70056 0.5504884,-0.483741 1.319811,-0.660967 2.0361625,-0.553729 0.5196872,0.06538 1.0240239,0.255395 1.4537643,0.555533 -0.049017,0.302734 -0.2236719,0.59045 -0.4862094,0.753622 -0.4701824,-0.345013 -1.0720551,-0.534813 -1.6553823,-0.471769 -0.5097053,0.0798 -0.9483078,0.472324 -1.0796061,0.972454 -0.1679185,0.593908 -0.1684748,1.229968 -0.063593,1.835175 0.08495,0.484701 0.3735586,0.980534 0.8684921,1.132012 0.468823,0.153492 0.9695032,0.05737 1.4438802,-0.0158 0.00585,-0.413445 -0.014399,-0.828053 0.016284,-1.240543 0.011286,-0.09692 -0.1751,-0.02652 -0.2530503,-0.04791 -0.2543952,-0.01394 -0.533292,0.04887 -0.7599644,-0.09724 -0.2168052,-0.202613 -0.082489,-0.513657 -0.024311,-0.753622 z"
|
||||
style="stroke-width:0.8;stroke:#ffffff;stroke-opacity:1;stroke-linejoin:round;stroke-linecap:butt;paint-order:markers stroke fill;stroke-dasharray:none" />
|
||||
<path
|
||||
id="path10"
|
||||
class="st0"
|
||||
d="m 11.639907,25.953692 c -0.02432,0.09724 -0.07293,0.194483 -0.145865,0.291725 -0.04862,0.09724 -0.121552,0.170174 -0.194481,0.218794 -0.316036,-0.02432 -0.583453,-0.194482 -0.753627,-0.486208 -0.291725,0.316034 -0.7293107,0.51052 -1.1668987,0.51052 -0.4132803,0 -0.7293157,-0.121554 -0.9481099,-0.364657 -0.1944835,-0.243105 -0.3160359,-0.534831 -0.3160359,-0.850865 0,-0.461899 0.1458627,-0.802245 0.4375883,-1.021039 0.3403461,-0.243102 0.7293149,-0.364656 1.1425891,-0.340345 0.2431078,0 0.4862111,0 0.7050071,0.02432 v -0.243105 c 0,-0.437588 -0.194485,-0.632071 -0.6077645,-0.632071 -0.2917228,0 -0.7050023,0.09724 -1.2398317,0.291726 -0.1701732,-0.194483 -0.2674151,-0.4619 -0.2674151,-0.729314 0.5591402,-0.243103 1.1425926,-0.364656 1.7503523,-0.364656 0.364659,-0.02432 0.705004,0.09724 0.99673,0.340347 0.243105,0.218794 0.388965,0.55914 0.388965,1.021037 v 1.653109 c -0.02432,0.364657 0.04862,0.55914 0.218797,0.680691 z M 9.5978268,25.759209 c 0.3160366,-0.02432 0.6077622,-0.145862 0.8022472,-0.388968 v -0.705002 c -0.194485,-0.02432 -0.4132792,-0.02432 -0.6077645,-0.02432 -0.1944827,-0.02432 -0.3646542,0.04862 -0.5105168,0.170171 -0.1215542,0.121554 -0.170175,0.267417 -0.170175,0.437588 0,0.145863 0.048621,0.291726 0.1458637,0.413277 0.097243,0.04862 0.218794,0.09724 0.3403454,0.09724 z"
|
||||
style="stroke-width:0.8;stroke:#ffffff;stroke-opacity:1;stroke-linejoin:round;stroke-linecap:butt;paint-order:markers stroke fill;stroke-dasharray:none" />
|
||||
<path
|
||||
id="path12"
|
||||
class="st0"
|
||||
d="m 12.296286,22.866269 c 0.02432,-0.09724 0.07293,-0.194482 0.145863,-0.291725 0.04862,-0.09724 0.121554,-0.170174 0.194483,-0.218794 0.413276,0.04862 0.729313,0.340345 0.850867,0.729313 0.218794,-0.486208 0.559139,-0.729313 1.04535,-0.729313 0.145863,0 0.316032,0.02432 0.461897,0.04862 0,0.340348 -0.07293,0.656382 -0.243103,0.948108 -0.121554,-0.02432 -0.243105,-0.04862 -0.364657,-0.04862 -0.340348,0 -0.58345,0.170172 -0.802247,0.534829 v 2.576905 c -0.170171,0.02432 -0.340345,0.04862 -0.48621,0.04862 -0.170169,0 -0.340343,-0.02432 -0.510517,-0.04862 v -2.722768 c 0,-0.388966 -0.09724,-0.656382 -0.291726,-0.826554 z"
|
||||
style="stroke-width:0.8;stroke:#ffffff;stroke-opacity:1;stroke-linejoin:round;stroke-linecap:butt;paint-order:markers stroke fill;stroke-dasharray:none" />
|
||||
<path
|
||||
id="path14"
|
||||
class="st0"
|
||||
d="m 18.762867,25.953692 c -0.02432,0.09724 -0.07293,0.194483 -0.145863,0.291725 -0.04862,0.09724 -0.121551,0.170174 -0.194483,0.218794 -0.316036,-0.02432 -0.58345,-0.194482 -0.753627,-0.486208 -0.291723,0.316034 -0.729311,0.51052 -1.166901,0.51052 -0.413275,0 -0.729314,-0.121554 -0.948105,-0.364657 -0.194485,-0.243105 -0.316037,-0.534831 -0.316037,-0.850865 0,-0.461899 0.145863,-0.802245 0.437588,-1.021039 0.316034,-0.243102 0.729314,-0.364656 1.118282,-0.340345 0.243102,0 0.48621,0 0.705002,0.02432 v -0.243105 c 0,-0.437588 -0.194481,-0.632071 -0.607762,-0.632071 -0.291726,0 -0.705002,0.09724 -1.239833,0.291726 -0.170174,-0.194483 -0.267414,-0.4619 -0.267414,-0.729314 0.559139,-0.243103 1.14259,-0.364656 1.750352,-0.364656 0.364657,-0.02432 0.705005,0.09724 0.99673,0.340347 0.243103,0.218794 0.388965,0.55914 0.388965,1.021037 v 1.653109 c 0,0.364657 0.09724,0.55914 0.243106,0.680691 z m -2.042078,-0.194483 c 0.316034,-0.02432 0.607762,-0.145862 0.802245,-0.388968 v -0.705002 c -0.194483,-0.02432 -0.413279,-0.02432 -0.607762,-0.02432 -0.194483,-0.02432 -0.364659,0.04862 -0.510519,0.170171 -0.121552,0.121554 -0.170172,0.267417 -0.170172,0.437588 0,0.145863 0.04862,0.291726 0.145863,0.413277 0.09724,0.04862 0.218791,0.09724 0.340345,0.09724 z"
|
||||
style="stroke-width:0.8;stroke:#ffffff;stroke-opacity:1;stroke-linejoin:round;stroke-linecap:butt;paint-order:markers stroke fill;stroke-dasharray:none" />
|
||||
<path
|
||||
id="path16"
|
||||
class="st0"
|
||||
d="m 19.759597,25.929383 c -0.243106,-0.364657 -0.364659,-0.875176 -0.364659,-1.531558 0,-0.656382 0.145865,-1.166899 0.461899,-1.531556 0.267416,-0.340345 0.680693,-0.559139 1.118281,-0.559139 0.413279,0 0.802245,0.145863 1.09397,0.413277 0.145863,-0.194483 0.388971,-0.316037 0.632071,-0.340346 0.09724,0.04862 0.170174,0.145863 0.218797,0.218794 0.04862,0.09724 0.09724,0.170172 0.145862,0.291723 -0.145862,0.121554 -0.218796,0.364657 -0.218796,0.705005 v 2.285178 c 0,0.850864 -0.145863,1.458626 -0.413275,1.823281 -0.267416,0.364656 -0.753627,0.53483 -1.385697,0.53483 -0.486211,0 -0.996728,-0.09724 -1.458627,-0.267414 0,-0.267416 0.07293,-0.534831 0.243105,-0.729313 0.340345,0.170174 0.705002,0.243105 1.093968,0.243105 0.364659,0 0.607764,-0.09724 0.729316,-0.267417 0.145862,-0.218794 0.218794,-0.486208 0.194482,-0.753622 v -0.316036 c -0.291725,0.243105 -0.63207,0.388968 -1.021038,0.388968 -0.437589,-0.02432 -0.850868,-0.243106 -1.069659,-0.60776 z m 2.066389,-0.656382 v -1.871903 c -0.170174,-0.194483 -0.437589,-0.316035 -0.705005,-0.340346 -0.218794,0 -0.437586,0.145863 -0.534831,0.340346 -0.145862,0.316036 -0.218794,0.656382 -0.194483,0.996727 0,0.437588 0.04862,0.753625 0.170172,0.948107 0.07293,0.170172 0.267417,0.291726 0.461899,0.316035 0.340348,0 0.632074,-0.145863 0.802248,-0.388966 z"
|
||||
style="stroke-width:0.8;stroke:#ffffff;stroke-opacity:1;stroke-linejoin:round;stroke-linecap:butt;paint-order:markers stroke fill;stroke-dasharray:none" />
|
||||
<path
|
||||
id="path18-7"
|
||||
class="st0"
|
||||
d="m 26.979799,24.73817 h -2.260871 c 0,0.267417 0.07293,0.51052 0.218794,0.729314 0.121551,0.170174 0.340345,0.267414 0.656379,0.267414 0.36466,-0.02432 0.729316,-0.121551 1.069662,-0.291725 0.170174,0.170174 0.267414,0.388968 0.291725,0.607762 -0.461897,0.316034 -0.996727,0.486208 -1.555869,0.461896 -0.60776,0 -1.04535,-0.194482 -1.312762,-0.583448 -0.267419,-0.388968 -0.388968,-0.899487 -0.388968,-1.531558 0,-0.632071 0.14586,-1.14259 0.437588,-1.531556 0.291723,-0.388968 0.753622,-0.607762 1.23983,-0.58345 0.534833,0 0.94811,0.170174 1.239836,0.486208 0.291725,0.340345 0.461896,0.777933 0.437588,1.239833 0,0.243102 -0.02432,0.486208 -0.07293,0.72931 z M 25.42393,23.012132 c -0.437588,0 -0.680693,0.340346 -0.705002,0.996728 h 1.410004 v -0.09724 c 0,-0.218794 -0.04862,-0.461897 -0.170171,-0.656382 -0.121552,-0.170172 -0.340348,-0.243103 -0.534831,-0.243103 z"
|
||||
style="stroke-width:0.8;stroke:#ffffff;stroke-opacity:1;stroke-linejoin:round;stroke-linecap:butt;paint-order:markers stroke fill;stroke-dasharray:none" />
|
||||
</g>
|
||||
<path
|
||||
id="path24-3-6-9"
|
||||
class="st4"
|
||||
d="m 14.970437,1.7648241 c -0.364657,0 -0.729316,0.072931 -1.045352,0.2187938 L 3.179868,6.7484604 c -0.1944833,0.072931 -0.2917252,0.3160354 -0.2187938,0.5105189 0,0 0,0 0,0 0,0.024311 0,0.024311 0.024311,0.048621 L 4.7114273,10.71106 H 6.2186752 L 5.9998812,9.519847 C 5.9755699,9.4226069 5.8297079,8.7419148 5.6838453,8.2557065 l 5.0322627,1.5801772 c 0.07293,0.3160363 0.145863,0.6077593 0.267417,0.8751763 h 8.143998 c 0.09724,-0.267417 0.170172,-0.55914 0.218794,-0.8751763 l 5.007952,-1.5558669 c -0.145861,0.4862083 -0.291723,1.1669014 -0.316035,1.2641415 l -0.218796,1.1912097 h 1.507249 l 1.701732,-3.3791471 0.02432,-0.024311 0.02432,-0.048621 c 0,0 0,0 0,0 0.02432,-0.048621 0.02432,-0.072931 0.02432,-0.1215521 0,-0.170173 -0.09724,-0.3160354 -0.243105,-0.3889668 L 16.113047,2.0079277 C 15.724077,1.8377547 15.35942,1.7405131 14.970455,1.7648234 Z"
|
||||
style="stroke-width:0.243104" />
|
||||
<path
|
||||
id="path24-3-2"
|
||||
class="st0"
|
||||
d="m 14.970437,4.0013828 c -0.364657,0 -0.729316,0.072931 -1.045352,0.2187938 L 3.179868,8.9850191 c -0.1944833,0.072931 -0.2917252,0.3160364 -0.2187938,0.5105192 0,0 0,0 0,0 0,0.024321 0,0.024321 0.024311,0.04862 L 3.9091823,11.391751 H 5.9026395 C 5.8297079,11.124336 5.7567764,10.8083 5.6595347,10.492266 l 2.844323,0.899485 H 21.485638 l 2.844319,-0.899485 c -0.09724,0.291725 -0.170169,0.63207 -0.2431,0.899485 h 1.993452 l 0.923799,-1.8232814 0.02432,-0.024321 0.02432,-0.04862 c 0,0 0,0 0,0 0.02432,-0.04862 0.02432,-0.072931 0.02432,-0.1215514 0,-0.170174 -0.09724,-0.3160367 -0.243105,-0.3889677 L 16.088718,4.2201766 C 15.724059,4.0743142 15.359403,4.0013828 14.970437,4.0013828 Z"
|
||||
style="stroke-width:0.243104" />
|
||||
<path
|
||||
id="path24-0"
|
||||
class="st4"
|
||||
d="m 27.077039,11.659165 c 0,0.04862 0,0.07293 -0.02432,0.121554 0,0 0,0 0,0 l -0.02432,0.04862 v 0 l -0.02432,0.02432 -2.601219,5.153809 c -0.364654,0.705002 -1.021034,0.680691 -0.923791,-0.02432 l 0.534825,-2.917251 c 0.02432,-0.09724 0.170174,-0.777933 0.316037,-1.264141 l -5.007969,1.555867 c -0.777933,5.1295 -7.536236,5.202431 -8.630209,0 l -5.0322664,-1.58018 c 0.1458629,0.486211 0.2917256,1.166902 0.3160361,1.264145 l 0.5348297,2.917248 c 0.1215524,0.729313 -0.5591402,0.753625 -0.9237969,0.02432 l -2.6254813,-5.17813 c 0,-0.0243 -0.024311,-0.0243 -0.024311,-0.04862 -0.097242,-0.194482 0,-0.437588 0.1944835,-0.510519 0,0 0,0 0,0 L 13.876467,6.4810456 c 0.680691,-0.2917249 1.482936,-0.2917249 2.163629,0 l 10.745218,4.7648424 c 0.194485,0.09724 0.291725,0.243105 0.291725,0.413277 z"
|
||||
style="stroke-width:0.243104" />
|
||||
<path
|
||||
id="path26-2"
|
||||
class="st0"
|
||||
d="m 18.422521,12.558652 4.643297,-1.871904 c 0.09724,-0.04862 0.145863,-0.145862 0.121552,-0.267414 -0.02432,-0.04862 -0.04862,-0.09724 -0.121552,-0.121554 -0.534828,-0.218791 -1.215524,-0.4862076 -1.871903,-0.7536217 -0.121557,-0.04862 -1.264147,0.7779337 -1.361387,0.8508647 l -1.993457,1.604487 c -0.4619,0.437588 -0.04862,0.826556 0.58345,0.559142 z"
|
||||
style="stroke-width:0.243104" />
|
||||
<ellipse
|
||||
id="circle28-3"
|
||||
class="st0"
|
||||
cx="15.067682"
|
||||
cy="14.381929"
|
||||
rx="2.4310451"
|
||||
ry="2.4310422"
|
||||
style="stroke-width:0.243104" />
|
||||
<style
|
||||
type="text/css"
|
||||
id="style2346">
|
||||
.st0{fill:#4E4E4E;}
|
||||
.st1{fill:#FFD952;}
|
||||
.st2{fill:#49C8FA;}
|
||||
.st3{fill:#45C8FF;}
|
||||
.st4{fill:#FF9329;}
|
||||
.st5{fill:#3B2100;}
|
||||
.st6{fill:#C3C3C3;}
|
||||
</style>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
@@ -11,6 +11,7 @@ import { Link, useLocation } from "react-router-dom";
|
||||
import Button from "../ui/button";
|
||||
import { themes } from "@/app/themes";
|
||||
import appStore from "@/stores/app-store";
|
||||
import garageLogo from "@/assets/garage-logo.svg";
|
||||
|
||||
const pages = [
|
||||
{ icon: LayoutDashboard, title: "Dashboard", path: "/", exact: true },
|
||||
@@ -26,7 +27,7 @@ const Sidebar = () => {
|
||||
<aside className="bg-base-100 border-r border-base-300/30 w-[80%] md:w-[250px] flex flex-col items-stretch overflow-hidden h-full">
|
||||
<div className="p-4">
|
||||
<img
|
||||
src="https://garagehq.deuxfleurs.fr/images/garage-logo.svg"
|
||||
src={garageLogo}
|
||||
alt="logo"
|
||||
className="w-full max-w-[100px] mx-auto"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user