first commit
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
import React from "react";
|
||||
import Icons from "./Icons";
|
||||
|
||||
export default function Accordion({ datas }) {
|
||||
const [isOpen, setOpen] = React.useState(false);
|
||||
const accordionHandler = () => {
|
||||
setOpen(!isOpen);
|
||||
};
|
||||
return (
|
||||
<>
|
||||
<div className="accordion-item overflow-hidden relative z-[1]">
|
||||
<div
|
||||
className="accordion-title-bar flex items-center space-x-3 py-5 border-b border-light-purple dark:border-[#5356fb29] "
|
||||
onClick={accordionHandler}
|
||||
>
|
||||
<div className="accordion-title-icon relative">
|
||||
<span className="horizontal text-purple">
|
||||
<Icons name="accordion-minus" />
|
||||
</span>
|
||||
<span
|
||||
className={`vertical text-purple absolute left-0 top-0 ${
|
||||
isOpen ? "active" : ""
|
||||
}`}
|
||||
>
|
||||
<Icons name="accordion-minus" />
|
||||
</span>
|
||||
</div>
|
||||
<div className="accordion-title w-full">
|
||||
<p className="text-18 tracking-wide text-dark-gray dark:text-white">
|
||||
{datas.title}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className={`accordion-body ${isOpen ? "active" : ""}`}>
|
||||
<div className="accordion-body-content flex space-x-4 sm:pl-10 pl-5 pt-5">
|
||||
<div className="w-[3px] h-auto bg-purple rounded-[28px]"></div>
|
||||
<div className="flex-1">
|
||||
<p className="text-base text-thin-light-gray tracking-wide">
|
||||
{datas.content}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
/* eslint-disable no-underscore-dangle */
|
||||
import React, { useEffect, useState } from "react";
|
||||
|
||||
function CountDown({ lastDate = "" }) {
|
||||
// const [showDate, setDate] = useState(0);
|
||||
const [showHour, setHour] = useState(0);
|
||||
const [showMinute, setMinute] = useState(0);
|
||||
const [showSecound, setDateSecound] = useState(0);
|
||||
// count Down
|
||||
const provideDate = new Date(lastDate);
|
||||
// format date
|
||||
const year = provideDate.getFullYear();
|
||||
const month = provideDate.getMonth();
|
||||
// console.log(month);
|
||||
const date = provideDate.getDate();
|
||||
// console.log(date);
|
||||
const hours = provideDate.getHours();
|
||||
// console.log(hours);
|
||||
const minutes = provideDate.getMinutes();
|
||||
// console.log(minutes);
|
||||
const seconds = provideDate.getSeconds();
|
||||
// console.log(seconds);
|
||||
|
||||
// date calculation logic
|
||||
const _seconds = 1000;
|
||||
const _minutes = _seconds * 60;
|
||||
const _hours = _minutes * 60;
|
||||
const _date = _hours * 24;
|
||||
|
||||
// interval function
|
||||
const startInterval = () => {
|
||||
const timer = setInterval(() => {
|
||||
const now = new Date();
|
||||
const distance =
|
||||
new Date(year, month, date, hours, minutes, seconds).getTime() -
|
||||
now.getTime();
|
||||
if (distance < 0) {
|
||||
clearInterval(timer);
|
||||
return;
|
||||
}
|
||||
// setDate(Math.floor(distance / _date));
|
||||
setMinute(Math.floor((distance % _hours) / _minutes));
|
||||
setHour(Math.floor((distance % _date) / _hours));
|
||||
setDateSecound(Math.floor((distance % _minutes) / _seconds));
|
||||
}, 1000);
|
||||
};
|
||||
|
||||
// effect
|
||||
useEffect(() => {
|
||||
if (lastDate !== "") {
|
||||
startInterval();
|
||||
}
|
||||
});
|
||||
return (
|
||||
<span>
|
||||
{showHour} : {showMinute} : {showSecound}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
export default CountDown;
|
||||
@@ -0,0 +1,28 @@
|
||||
import React, { useEffect, useState } from "react";
|
||||
import CountUp from "react-countup";
|
||||
|
||||
function CounterUp({ endValue = 0, sectionId }) {
|
||||
const [showCount, setShowCountValue] = useState(false);
|
||||
useEffect(() => {
|
||||
const rec = document.getElementById(sectionId);
|
||||
if (rec) {
|
||||
const currentPosition = rec.offsetTop - document.body.scrollTop;
|
||||
if (currentPosition < window.innerHeight) {
|
||||
setShowCountValue(true);
|
||||
} else {
|
||||
window.addEventListener("scroll", () => {
|
||||
const currentScrollPosition =
|
||||
window.pageYOffset || document.documentElement.scrollTop;
|
||||
if (currentScrollPosition + 500 > currentPosition) {
|
||||
setShowCountValue(true);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}, [endValue, sectionId, showCount]);
|
||||
return (
|
||||
<>{showCount ? <CountUp delay={0} duration={3} end={endValue} /> : 0}</>
|
||||
);
|
||||
}
|
||||
|
||||
export default CounterUp;
|
||||
@@ -0,0 +1,16 @@
|
||||
import React from "react";
|
||||
|
||||
function DataIteration(props) {
|
||||
const { datas, startLength, endLength, children } = props;
|
||||
return (
|
||||
<>
|
||||
{datas &&
|
||||
datas.length >= endLength &&
|
||||
datas
|
||||
.slice(startLength, endLength)
|
||||
.map((value) => children({ datas: value }))}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default DataIteration;
|
||||
@@ -0,0 +1,476 @@
|
||||
import React from "react";
|
||||
|
||||
export default function Icons({ name }) {
|
||||
return (
|
||||
<>
|
||||
{name === "message" ? (
|
||||
<svg
|
||||
className="inline"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="22"
|
||||
height="20"
|
||||
viewBox="0 0 22 20"
|
||||
fill="none"
|
||||
>
|
||||
<path
|
||||
d="M21.7764 4.12903L14.1237 11.7818C13.2704 12.6329 12.1143 13.1109 10.9091 13.1109C9.7039 13.1109 8.54787 12.6329 7.69457 11.7818L0.0418183 4.12903C0.029091 4.27267 0 4.40267 0 4.54539V15.4545C0.00144351 16.6596 0.480803 17.8149 1.33293 18.6671C2.18506 19.5192 3.34038 19.9985 4.54547 20H17.2728C18.4779 19.9985 19.6332 19.5192 20.4853 18.6671C21.3374 17.8149 21.8168 16.6596 21.8182 15.4545V4.54539C21.8182 4.40267 21.7892 4.27267 21.7764 4.12903Z"
|
||||
fill="#374557"
|
||||
fillOpacity="0.6"
|
||||
/>
|
||||
<path
|
||||
d="M12.8389 10.4964L21.1425 2.19182C20.7403 1.52484 20.1729 0.972764 19.4952 0.588847C18.8175 0.204931 18.0523 0.00212789 17.2734 0H4.5461C3.76721 0.00212789 3.00201 0.204931 2.3243 0.588847C1.6466 0.972764 1.07926 1.52484 0.677002 2.19182L8.98066 10.4964C9.493 11.0067 10.1867 11.2932 10.9098 11.2932C11.6329 11.2932 12.3265 11.0067 12.8389 10.4964Z"
|
||||
fill="#374557"
|
||||
fillOpacity="0.6"
|
||||
/>
|
||||
</svg>
|
||||
) : name === "password" ? (
|
||||
<svg
|
||||
className="inline"
|
||||
width="18"
|
||||
height="21"
|
||||
viewBox="0 0 18 21"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
d="M14.4467 7.1581V5.94904C14.4467 2.66455 11.7822 0 8.49771 0C5.21323 0 2.54867 2.66455 2.54867 5.94904V7.1581C1.00076 7.83194 -0.000366211 9.36059 -0.000366211 11.0471V16.149C0.0034843 18.494 1.90178 20.3961 4.25059 20.4H12.7525C15.0975 20.3961 16.9996 18.4978 17.0035 16.149V11.051C16.9919 9.36059 15.9908 7.83579 14.4467 7.1581ZM9.34482 14.451C9.34482 14.9207 8.96362 15.3019 8.49386 15.3019C8.0241 15.3019 7.6429 14.9207 7.6429 14.451V12.749C7.6429 12.2793 8.0241 11.8981 8.49386 11.8981C8.96362 11.8981 9.34482 12.2793 9.34482 12.749V14.451ZM12.7448 6.8H4.24289V5.94904C4.24289 3.60023 6.14505 1.69807 8.49386 1.69807C10.8427 1.69807 12.7448 3.60023 12.7448 5.94904V6.8Z"
|
||||
fill="#374557"
|
||||
fillOpacity="0.6"
|
||||
/>
|
||||
</svg>
|
||||
) : name === "password-hover" ? (
|
||||
<svg
|
||||
className="inline fill-current"
|
||||
width="18"
|
||||
height="21"
|
||||
viewBox="0 0 18 21"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M14.4467 7.1581V5.94904C14.4467 2.66455 11.7822 0 8.49771 0C5.21323 0 2.54867 2.66455 2.54867 5.94904V7.1581C1.00076 7.83194 -0.000366211 9.36059 -0.000366211 11.0471V16.149C0.0034843 18.494 1.90178 20.3961 4.25059 20.4H12.7525C15.0975 20.3961 16.9996 18.4978 17.0035 16.149V11.051C16.9919 9.36059 15.9908 7.83579 14.4467 7.1581ZM9.34482 14.451C9.34482 14.9207 8.96362 15.3019 8.49386 15.3019C8.0241 15.3019 7.6429 14.9207 7.6429 14.451V12.749C7.6429 12.2793 8.0241 11.8981 8.49386 11.8981C8.96362 11.8981 9.34482 12.2793 9.34482 12.749V14.451ZM12.7448 6.8H4.24289V5.94904C4.24289 3.60023 6.14505 1.69807 8.49386 1.69807C10.8427 1.69807 12.7448 3.60023 12.7448 5.94904V6.8Z" />
|
||||
</svg>
|
||||
) : name === "people" ? (
|
||||
<svg
|
||||
width="15"
|
||||
height="20"
|
||||
viewBox="0 0 15 20"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
d="M10.8692 11.6667H4.13085C3.03569 11.668 1.98576 12.1036 1.21136 12.878C0.436961 13.6524 0.00132319 14.7023 0 15.7975V20H15.0001V15.7975C14.9987 14.7023 14.5631 13.6524 13.7887 12.878C13.0143 12.1036 11.9644 11.668 10.8692 11.6667Z"
|
||||
fill="#374557"
|
||||
fillOpacity="0.6"
|
||||
/>
|
||||
<path
|
||||
d="M7.49953 10C10.261 10 12.4995 7.76145 12.4995 5.00002C12.4995 2.23858 10.261 0 7.49953 0C4.7381 0 2.49951 2.23858 2.49951 5.00002C2.49951 7.76145 4.7381 10 7.49953 10Z"
|
||||
fill="#374557"
|
||||
fillOpacity="0.6"
|
||||
/>
|
||||
</svg>
|
||||
) : name === "people-hover" ? (
|
||||
<svg
|
||||
width="15"
|
||||
height="20"
|
||||
viewBox="0 0 15 20"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M10.8692 11.6667H4.13085C3.03569 11.668 1.98576 12.1036 1.21136 12.878C0.436961 13.6524 0.00132319 14.7023 0 15.7975V20H15.0001V15.7975C14.9987 14.7023 14.5631 13.6524 13.7887 12.878C13.0143 12.1036 11.9644 11.668 10.8692 11.6667Z" />
|
||||
<path d="M7.49953 10C10.261 10 12.4995 7.76145 12.4995 5.00002C12.4995 2.23858 10.261 0 7.49953 0C4.7381 0 2.49951 2.23858 2.49951 5.00002C2.49951 7.76145 4.7381 10 7.49953 10Z" />
|
||||
</svg>
|
||||
) : name === "deep-search" ? (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="22"
|
||||
height="22"
|
||||
viewBox="0 0 22 22"
|
||||
className="fill-current"
|
||||
>
|
||||
<path d="M21.7426 20.4458L16.2713 14.9752C17.7603 13.1535 18.4922 10.8291 18.3156 8.48289C18.1391 6.13666 17.0676 3.94804 15.3227 2.36968C13.5779 0.791326 11.2932 -0.0560273 8.94115 0.00287756C6.58912 0.0617824 4.3497 1.02244 2.68605 2.68616C1.0224 4.34988 0.0617799 6.5894 0.00287744 8.94152C-0.056025 11.2936 0.791293 13.5784 2.36959 15.3233C3.94788 17.0683 6.13641 18.1398 8.48253 18.3164C10.8287 18.4929 13.1529 17.761 14.9746 16.272L20.4458 21.7426C20.6188 21.9096 20.8504 22.0021 21.0909 22C21.3314 21.9979 21.5614 21.9014 21.7314 21.7314C21.9014 21.5613 21.9979 21.3313 22 21.0909C22.0021 20.8504 21.9096 20.6187 21.7426 20.4458ZM11.9235 10.0888H6.42102C6.17779 10.0888 5.94453 9.99219 5.77255 9.8202C5.60056 9.64821 5.50394 9.41494 5.50394 9.1717C5.50394 8.92847 5.60056 8.6952 5.77255 8.52321C5.94453 8.35122 6.17779 8.25459 6.42102 8.25459H11.9235C12.1667 8.25459 12.3999 8.35122 12.5719 8.52321C12.7439 8.6952 12.8405 8.92847 12.8405 9.1717C12.8405 9.41494 12.7439 9.64821 12.5719 9.8202C12.3999 9.99219 12.1667 10.0888 11.9235 10.0888Z" />
|
||||
</svg>
|
||||
) : name === "wallet" ? (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="30"
|
||||
height="26"
|
||||
viewBox="0 0 30 26"
|
||||
fill="none"
|
||||
>
|
||||
<path
|
||||
d="M27.8434 13.0019C26.112 13.0019 24.5502 12.9922 22.9885 13.0058C21.7543 13.0156 21.3869 13.3784 21.3689 14.582C21.3589 15.3291 21.3569 16.0782 21.3749 16.8254C21.3988 17.8827 21.8182 18.304 22.8947 18.3157C24.4903 18.3313 26.086 18.3196 27.6957 18.3196C27.6957 20.0109 27.8714 21.669 27.6437 23.2745C27.436 24.7453 25.9462 25.6953 24.3166 25.6992C17.3867 25.7168 10.4568 25.7207 3.52686 25.6973C1.53976 25.6895 0.0379447 24.2264 0.0239651 22.2952C-0.00798837 17.871 -0.00798837 13.4486 0.0239651 9.02438C0.0379447 7.07365 1.52977 5.63011 3.52287 5.62426C10.4528 5.60475 17.3827 5.6067 24.3126 5.62426C26.3336 5.62816 27.7875 7.02879 27.8395 8.98537C27.8714 10.2787 27.8434 11.5759 27.8434 13.0019Z"
|
||||
fill="white"
|
||||
/>
|
||||
<path
|
||||
d="M25.5153 5.18346C25.1678 5.18346 24.8762 5.16395 24.5866 5.18736C23.8597 5.24393 23.632 4.95913 23.638 4.2276C23.65 2.31003 22.7752 1.66239 20.878 2.00767C15.2901 3.024 9.70428 4.04033 4.11043 5.02155C2.59064 5.28685 1.10481 5.5502 0.0703125 7.0191C0.184147 5.10543 1.42234 3.6931 3.38149 3.32636C9.45265 2.19299 15.5318 1.10253 21.6169 0.0452329C22.963 -0.188855 23.9935 0.511458 24.7584 1.54925C25.5612 2.63776 25.665 3.87647 25.5153 5.18346Z"
|
||||
fill="white"
|
||||
/>
|
||||
<path
|
||||
d="M25.9067 17.8806C24.9101 17.8806 23.9136 17.8767 22.917 17.8826C22.1821 17.8865 21.8046 17.5548 21.8126 16.8214C21.8206 16.043 21.8186 15.2647 21.8146 14.4863C21.8106 13.7607 22.1661 13.429 22.919 13.4349C24.9121 13.4505 26.9052 13.4544 28.9003 13.4368C29.6552 13.431 30.0067 13.7548 30.0007 14.4844C29.9927 15.2627 29.9907 16.0411 29.9987 16.8194C30.0067 17.549 29.6452 17.8865 28.9003 17.8767C27.9037 17.865 26.9072 17.8728 25.9106 17.8728C25.9067 17.8748 25.9067 17.8787 25.9067 17.8806ZM27.4244 14.6853C27.069 15.1184 26.6616 15.4129 26.7075 15.6041C26.7774 15.8928 27.1628 16.1093 27.4145 16.3551C27.6441 16.1191 28.0236 15.9026 28.0575 15.6431C28.0875 15.411 27.738 15.132 27.4244 14.6853Z"
|
||||
fill="white"
|
||||
/>
|
||||
</svg>
|
||||
) : name === "deep-plus" ? (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="38"
|
||||
height="38"
|
||||
viewBox="0 0 42 42"
|
||||
fill="none"
|
||||
>
|
||||
<path
|
||||
d="M21 0C16.8466 0 12.7865 1.23163 9.33303 3.53914C5.8796 5.84665 3.18798 9.1264 1.59854 12.9636C0.00909901 16.8009 -0.406771 21.0233 0.403518 25.0969C1.21381 29.1705 3.21386 32.9123 6.15077 35.8492C9.08767 38.7861 12.8295 40.7862 16.9031 41.5965C20.9767 42.4068 25.1991 41.9909 29.0364 40.4015C32.8736 38.812 36.1534 36.1204 38.4609 32.667C40.7684 29.2135 42 25.1534 42 21C41.994 15.4323 39.7796 10.0944 35.8426 6.15741C31.9056 2.22045 26.5677 0.00602189 21 0ZM28 22.75H22.75V28C22.75 28.4641 22.5656 28.9092 22.2374 29.2374C21.9093 29.5656 21.4641 29.75 21 29.75C20.5359 29.75 20.0908 29.5656 19.7626 29.2374C19.4344 28.9092 19.25 28.4641 19.25 28V22.75H14C13.5359 22.75 13.0908 22.5656 12.7626 22.2374C12.4344 21.9092 12.25 21.4641 12.25 21C12.25 20.5359 12.4344 20.0907 12.7626 19.7626C13.0908 19.4344 13.5359 19.25 14 19.25H19.25V14C19.25 13.5359 19.4344 13.0908 19.7626 12.7626C20.0908 12.4344 20.5359 12.25 21 12.25C21.4641 12.25 21.9093 12.4344 22.2374 12.7626C22.5656 13.0908 22.75 13.5359 22.75 14V19.25H28C28.4641 19.25 28.9093 19.4344 29.2374 19.7626C29.5656 20.0907 29.75 20.5359 29.75 21C29.75 21.4641 29.5656 21.9092 29.2374 22.2374C28.9093 22.5656 28.4641 22.75 28 22.75Z"
|
||||
fill="white"
|
||||
/>
|
||||
</svg>
|
||||
) : name === "notification" ? (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="22"
|
||||
height="24"
|
||||
viewBox="0 0 22 24"
|
||||
fill="none"
|
||||
>
|
||||
<path
|
||||
d="M3.27336 17.6123H18.3622C18.8266 17.6123 19.2841 17.5005 19.6961 17.2863C20.1081 17.072 20.4625 16.7617 20.7292 16.3815C20.9959 16.0014 21.1671 15.5626 21.2283 15.1023C21.2896 14.6419 21.239 14.1736 21.081 13.737L18.3323 6.13763C17.8629 4.44882 16.8532 2.96026 15.4577 1.89961C14.0621 0.838957 12.3576 0.264609 10.6048 0.264404V0.264404C8.78009 0.264376 7.00995 0.886604 5.58662 2.02836C4.16328 3.17011 3.17186 4.76311 2.77605 6.54435L0.511187 13.869C0.377839 14.3015 0.347861 14.7592 0.423665 15.2053C0.49947 15.6515 0.678939 16.0736 0.947633 16.4377C1.21633 16.8018 1.56674 17.0978 1.97069 17.3018C2.37463 17.5058 2.82082 17.6122 3.27336 17.6123Z"
|
||||
fill="#374557"
|
||||
/>
|
||||
<path
|
||||
d="M6.19531 19.5398C6.41651 20.6291 7.00751 21.6085 7.86817 22.312C8.72883 23.0154 9.80622 23.3997 10.9178 23.3997C12.0294 23.3997 13.1068 23.0154 13.9674 22.312C14.8281 21.6085 15.4191 20.6291 15.6403 19.5398H6.19531Z"
|
||||
fill="#374557"
|
||||
/>
|
||||
</svg>
|
||||
) : name === "dashboard" ? (
|
||||
<svg
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="16"
|
||||
height="16"
|
||||
viewBox="0 0 16 16"
|
||||
>
|
||||
<path d="M0.800781 2.60005V7.40005H7.40078V0.800049H2.60078C2.12339 0.800049 1.66555 0.989691 1.32799 1.32726C0.990424 1.66482 0.800781 2.12266 0.800781 2.60005H0.800781Z" />
|
||||
<path d="M13.4016 0.800049H8.60156V7.40005H15.2016V2.60005C15.2016 2.12266 15.0119 1.66482 14.6744 1.32726C14.3368 0.989691 13.879 0.800049 13.4016 0.800049V0.800049Z" />
|
||||
<path d="M0.800781 13.4001C0.800781 13.8775 0.990424 14.3353 1.32799 14.6729C1.66555 15.0105 2.12339 15.2001 2.60078 15.2001H7.40078V8.6001H0.800781V13.4001Z" />
|
||||
<path d="M8.60156 15.2001H13.4016C13.879 15.2001 14.3368 15.0105 14.6744 14.6729C15.0119 14.3353 15.2016 13.8775 15.2016 13.4001V8.6001H8.60156V15.2001Z" />
|
||||
</svg>
|
||||
) : name === "active-bids" ? (
|
||||
<svg
|
||||
width="16"
|
||||
height="16"
|
||||
viewBox="0 0 16 16"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M8.40093 8.39892C8.07534 8.74593 7.8023 9.13874 7.59052 9.56484L13.3422 15.3165C13.4732 15.4475 13.651 15.5211 13.8362 15.5211C14.0215 15.5211 14.1992 15.4475 14.3303 15.3165L15.3185 14.3283C15.3834 14.2634 15.4349 14.1864 15.47 14.1016C15.5052 14.0168 15.5232 13.9259 15.5232 13.8342C15.5232 13.7424 15.5052 13.6515 15.47 13.5667C15.4349 13.482 15.3834 13.4049 15.3185 13.34L9.56685 7.5899C9.13999 7.79984 8.74699 8.07254 8.40093 8.39892Z" />
|
||||
<path d="M4.94216 4.94003C4.41373 5.43043 3.80202 5.8226 3.1358 6.09809L6.74747 9.70976C7.02543 9.04469 7.41799 8.43359 7.90728 7.90427C8.43576 7.4139 9.04746 7.02168 9.71363 6.74604L6.10179 3.13507C5.82373 3.79989 5.43125 4.41079 4.94216 4.94003Z" />
|
||||
<path d="M7.4116 0.494075L6.42351 1.48216C6.15066 1.75501 6.15066 2.19739 6.42351 2.47024L10.3758 6.42256C10.6487 6.69541 11.0911 6.69541 11.3639 6.42256L12.352 5.43448C12.6249 5.16163 12.6249 4.71925 12.352 4.4464L8.39968 0.494075C8.12683 0.221224 7.68445 0.221224 7.4116 0.494075Z" />
|
||||
<path d="M1.48209 6.42236L0.49401 7.41044C0.221159 7.68329 0.221159 8.12567 0.49401 8.39852L4.44633 12.3508C4.71919 12.6237 5.16156 12.6237 5.43441 12.3508L6.4225 11.3628C6.69535 11.0899 6.69535 10.6475 6.4225 10.3747L2.47017 6.42236C2.19732 6.14951 1.75494 6.14951 1.48209 6.42236Z" />
|
||||
</svg>
|
||||
) : name === "market" ? (
|
||||
<svg
|
||||
width="13"
|
||||
height="14"
|
||||
viewBox="0 0 13 14"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M10.2704 9.42604C9.70288 9.42584 9.14549 9.27516 8.65433 8.98917C8.16317 9.27516 7.60578 9.42584 7.03831 9.42604H5.96096C5.39271 9.42532 4.83491 9.27227 4.34494 8.98267C3.85499 9.27232 3.29717 9.42537 2.72891 9.42604H2.19024C1.62228 9.42585 1.06457 9.27377 0.574219 8.98538V11.5942C0.574219 12.0254 0.744478 12.439 1.04754 12.744C1.3506 13.0489 1.76165 13.2202 2.19024 13.2202H10.809C11.2376 13.2202 11.6487 13.0489 11.9517 12.744C12.2548 12.439 12.425 12.0254 12.425 11.5942V8.98592C11.9346 9.27391 11.3769 9.42578 10.809 9.42604H10.2704Z" />
|
||||
<path d="M9.20833 0V3.24641H8.125V0H4.875V3.24641H3.79167V0H1.19167L0.013 5.29327L0 5.95175C0 6.52575 0.228273 7.07624 0.634602 7.48212C1.04093 7.888 1.59203 8.11602 2.16667 8.11602H2.70833C3.01703 8.11503 3.32189 8.04774 3.60227 7.91872C3.88264 7.78971 4.13197 7.60198 4.33333 7.36827C4.5347 7.60198 4.78402 7.78971 5.0644 7.91872C5.34477 8.04774 5.64964 8.11503 5.95833 8.11602H7.04167C7.34923 8.11618 7.65329 8.05077 7.93352 7.92415C8.21375 7.79753 8.4637 7.61263 8.66667 7.38179C8.86963 7.61263 9.11958 7.79753 9.39981 7.92415C9.68004 8.05077 9.9841 8.11618 10.2917 8.11602H10.8333C11.408 8.11602 11.9591 7.888 12.3654 7.48212C12.7717 7.07624 13 6.52575 13 5.95175V5.41068L11.8083 0H9.20833Z" />
|
||||
</svg>
|
||||
) : name === "wallet-two" ? (
|
||||
<svg
|
||||
width="16"
|
||||
height="13"
|
||||
viewBox="0 0 16 13"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M14.0764 6.57306C13.201 6.57306 12.4115 6.56813 11.6219 6.57503C10.998 6.57996 10.8122 6.76339 10.8031 7.37187C10.7981 7.74959 10.7971 8.12828 10.8062 8.506C10.8183 9.04051 11.0303 9.25353 11.5745 9.25945C12.3812 9.26734 13.1879 9.26142 14.0016 9.26142C14.0016 10.1164 14.0905 10.9547 13.9754 11.7663C13.8704 12.5099 13.1172 12.9902 12.2933 12.9922C8.78993 13.0011 5.28652 13.003 1.7831 12.9912C0.778516 12.9873 0.0192745 12.2476 0.0122071 11.2713C-0.00394697 9.0346 -0.00394697 6.79889 0.0122071 4.56221C0.0192745 3.57602 0.773468 2.84623 1.78108 2.84327C5.2845 2.83341 8.78791 2.8344 12.2913 2.84327C13.3131 2.84525 14.0481 3.55333 14.0743 4.54249C14.0905 5.19633 14.0764 5.85215 14.0764 6.57306Z" />
|
||||
<path d="M12.8989 2.62038C12.7232 2.62038 12.5758 2.61052 12.4294 2.62235C12.0619 2.65095 11.9468 2.50697 11.9498 2.13714C11.9559 1.16772 11.5136 0.8403 10.5545 1.01486C7.72955 1.52866 4.90561 2.04247 2.07764 2.53852C1.30931 2.67265 0.558145 2.80578 0.0351562 3.54839C0.0927052 2.58093 0.718676 1.86693 1.70912 1.68152C4.7784 1.10854 7.85171 0.557262 10.9281 0.0227454C11.6085 -0.0955978 12.1295 0.258446 12.5162 0.783101C12.9221 1.3334 12.9746 1.95963 12.8989 2.62038Z" />
|
||||
<path d="M13.0971 9.03944C12.5933 9.03944 12.0895 9.03747 11.5857 9.04043C11.2142 9.0424 11.0234 8.87475 11.0274 8.50394C11.0314 8.11045 11.0304 7.71696 11.0284 7.32347C11.0264 6.9566 11.2061 6.78895 11.5867 6.79191C12.5944 6.7998 13.602 6.80177 14.6106 6.79289C14.9922 6.78994 15.1699 6.95364 15.1669 7.32248C15.1628 7.71597 15.1618 8.10946 15.1659 8.50295C15.1699 8.87179 14.9872 9.0424 14.6106 9.03747C14.1068 9.03155 13.603 9.0355 13.0992 9.0355C13.0971 9.03648 13.0971 9.03846 13.0971 9.03944ZM13.8645 7.42406C13.6848 7.64299 13.4788 7.79191 13.502 7.88856C13.5373 8.03451 13.7322 8.14398 13.8594 8.26824C13.9755 8.14891 14.1674 8.03944 14.1845 7.90828C14.1997 7.79092 14.023 7.6499 13.8645 7.42406Z" />
|
||||
</svg>
|
||||
) : name === "star" ? (
|
||||
<svg
|
||||
width="15"
|
||||
height="15"
|
||||
viewBox="0 0 15 15"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M14.1755 7.88376L11.9493 9.56253L12.7948 12.266C12.9314 12.6853 12.9331 13.1389 12.7997 13.5593C12.6663 13.9797 12.4049 14.3444 12.0544 14.5988C11.7099 14.8615 11.2925 15.0022 10.8643 15C10.436 14.9978 10.02 14.8528 9.67807 14.5866L7.50125 12.9323L5.3238 14.5846C4.97996 14.8458 4.56476 14.9876 4.13792 14.9898C3.71108 14.9919 3.29457 14.8542 2.94827 14.5966C2.60197 14.3389 2.34373 13.9745 2.21066 13.5557C2.0776 13.1369 2.07657 12.6854 2.20772 12.266L3.05318 9.56253L0.826957 7.88376C0.483556 7.62452 0.22828 7.25987 0.0975914 6.84188C-0.0330973 6.4239 -0.0325136 5.97396 0.0992584 5.55633C0.23103 5.13871 0.487251 4.77476 0.831323 4.51648C1.17539 4.25819 1.58972 4.11878 2.01511 4.11815H4.74974L5.57957 1.44762C5.71006 1.02726 5.96649 0.660548 6.31187 0.400372C6.65724 0.140196 7.07372 0 7.50125 0C7.92878 0 8.34526 0.140196 8.69064 0.400372C9.03601 0.660548 9.29244 1.02726 9.42293 1.44762L10.2528 4.11815H12.9849C13.4103 4.11878 13.8246 4.25819 14.1687 4.51648C14.5127 4.77476 14.769 5.13871 14.9007 5.55633C15.0325 5.97396 15.0331 6.4239 14.9024 6.84188C14.7717 7.25987 14.5164 7.62452 14.173 7.88376H14.1755Z" />
|
||||
</svg>
|
||||
) : name === "shop-card" ? (
|
||||
<svg
|
||||
width="16"
|
||||
height="13"
|
||||
viewBox="0 0 16 13"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M13.7481 5.26312C13.5414 5.97928 13.3729 6.66044 13.1345 7.31719C13.0759 7.47914 12.7927 7.65899 12.6104 7.66062C10.4807 7.68503 8.3509 7.67689 6.22115 7.67771C5.90621 7.67771 5.7052 7.52227 5.63277 7.22116C5.29585 5.81082 4.95567 4.4013 4.63422 2.9877C4.53656 2.56045 4.73106 2.29677 5.14285 2.29433C6.87872 2.28294 8.61377 2.28945 10.3928 2.28945C10.3716 3.2115 10.6231 4.01636 11.3205 4.63079C12.0049 5.23464 12.813 5.41531 13.7481 5.26312Z" />
|
||||
<path d="M5.19379 8.17081C6.62692 8.17081 8.03482 8.17081 9.44271 8.17081C10.364 8.17081 11.286 8.16837 12.2072 8.17162C12.6361 8.17325 12.8803 8.36531 12.8917 8.69735C12.9039 9.04729 12.6524 9.25969 12.2056 9.25969C9.7658 9.26132 7.3268 9.26132 4.88699 9.25969C4.393 9.25888 4.25547 9.13925 4.14723 8.63957C3.68336 6.49598 3.21623 4.3524 2.76131 2.20718C2.70759 1.9549 2.60912 1.8133 2.34952 1.73354C1.75462 1.55125 1.17112 1.33152 0.584356 1.124C0.0911849 0.949842 -0.0911093 0.683725 0.0423561 0.34111C0.174194 0.00256369 0.46147 -0.0828867 0.929413 0.0798759C1.65859 0.332972 2.38126 0.605599 3.11694 0.834281C3.48804 0.949842 3.66545 1.15981 3.74439 1.53579C4.19362 3.66879 4.66075 5.79854 5.12218 7.92911C5.13683 7.9934 5.16043 8.05687 5.19379 8.17081Z" />
|
||||
<path d="M10.7344 2.61573C10.7271 1.28596 11.8054 0.206025 13.1352 0.210094C14.4381 0.214164 15.5107 1.29654 15.5082 2.60596C15.5066 3.91213 14.4291 4.99125 13.1246 4.9945C11.82 4.99694 10.7417 3.92434 10.7344 2.61573ZM14.1402 1.55533C13.7089 2.01839 13.2849 2.47168 12.782 3.01124C12.5411 2.6849 12.3474 2.42285 12.1252 2.12174C11.9022 2.35612 11.7549 2.50993 11.6589 2.61084C12.0666 3.03159 12.4564 3.43442 12.817 3.80552C13.4013 3.21958 14.0027 2.61654 14.6554 1.96223C14.5488 1.8776 14.421 1.77587 14.2932 1.67414C14.2533 1.64241 14.2118 1.61067 14.1402 1.55533Z" />
|
||||
<path d="M11.6107 9.7032C12.4571 9.69506 13.1464 10.3599 13.1618 11.1998C13.1781 12.0535 12.4847 12.7542 11.6245 12.7542C10.7847 12.7542 10.097 12.0714 10.0938 11.2348C10.0913 10.3933 10.7668 9.71134 11.6107 9.7032ZM12.3024 11.2234C12.3008 10.8523 12.0103 10.552 11.6441 10.5439C11.2648 10.5349 10.9483 10.8482 10.9507 11.2307C10.9531 11.5978 11.2486 11.9029 11.6107 11.9119C11.9899 11.9217 12.3041 11.6091 12.3024 11.2234Z" />
|
||||
<path d="M5.41555 12.7526C4.57082 12.7461 3.8921 12.0665 3.89454 11.2291C3.89698 10.364 4.58221 9.69181 5.45218 9.70239C6.29122 9.71216 6.96506 10.4039 6.95448 11.2454C6.94471 12.0877 6.25867 12.7591 5.41555 12.7526ZM6.1016 11.2299C6.10241 10.845 5.78828 10.5349 5.40579 10.5447C5.04527 10.5536 4.73846 10.8661 4.73765 11.2234C4.73683 11.5831 5.0412 11.8981 5.40009 11.9103C5.78014 11.9241 6.10079 11.6132 6.1016 11.2299Z" />
|
||||
</svg>
|
||||
) : name === "heart" ? (
|
||||
<svg
|
||||
width="14"
|
||||
height="13"
|
||||
viewBox="0 0 14 13"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M3.79296 0C4.44956 0.010169 5.09184 0.192671 5.65493 0.529075C6.21803 0.86548 6.682 1.34387 7 1.91595C7.318 1.34387 7.78197 0.86548 8.34507 0.529075C8.90816 0.192671 9.55044 0.010169 10.207 0C11.2537 0.0452807 12.2399 0.501197 12.9501 1.26814C13.6602 2.03509 14.0367 3.05073 13.9972 4.09316C13.9972 8.02666 7.60875 12.5698 7.33703 12.7625L7 13L6.66297 12.7625C6.39125 12.5709 0.00282288 8.02666 0.00282288 4.09316C-0.0366831 3.05073 0.339771 2.03509 1.04994 1.26814C1.76011 0.501197 2.74626 0.0452807 3.79296 0Z" />
|
||||
</svg>
|
||||
) : name === "history" ? (
|
||||
<svg
|
||||
width="19"
|
||||
height="19"
|
||||
viewBox="0 0 19 19"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M9.37855 15.6715C10.5752 15.6715 11.745 15.3166 12.74 14.6518C13.7349 13.987 14.5104 13.042 14.9684 11.9365C15.4263 10.8309 15.5461 9.61436 15.3127 8.4407C15.0792 7.26704 14.503 6.18896 13.6568 5.3428C12.8107 4.49664 11.7326 3.92039 10.5589 3.68694C9.38526 3.45348 8.16873 3.5733 7.06316 4.03124C5.9576 4.48918 5.01266 5.26467 4.34783 6.25966C3.683 7.25464 3.32816 8.42442 3.32816 9.62107C3.33057 11.225 3.9688 12.7625 5.10295 13.8967C6.23709 15.0308 7.77463 15.669 9.37855 15.6715ZM8.70628 7.60428C8.70628 7.42598 8.77711 7.25499 8.90318 7.12891C9.02926 7.00284 9.20025 6.93201 9.37855 6.93201C9.55684 6.93201 9.72784 7.00284 9.85391 7.12891C9.97999 7.25499 10.0508 7.42598 10.0508 7.60428V9.33872L11.2811 10.569C11.4068 10.6957 11.4772 10.8672 11.4768 11.0457C11.4765 11.2243 11.4054 11.3954 11.2791 11.5216C11.1529 11.6479 10.9817 11.719 10.8032 11.7193C10.6246 11.7197 10.4532 11.6493 10.3264 11.5236L8.90124 10.0984C8.7779 9.96987 8.70818 9.79918 8.70628 9.62107V7.60428Z" />
|
||||
<path d="M9.37854 0.209365C9.20024 0.209365 9.02925 0.280193 8.90317 0.406267C8.7771 0.532342 8.70627 0.703335 8.70627 0.881631C8.70627 1.05993 8.7771 1.23092 8.90317 1.35699C9.02925 1.48307 9.20024 1.5539 9.37854 1.5539C11.2605 1.54612 13.0865 2.19384 14.5428 3.38583C15.9992 4.57782 16.9951 6.23969 17.3595 8.08605C17.7239 9.93241 17.4341 11.848 16.5398 13.504C15.6455 15.1599 14.2026 16.4528 12.4588 17.1606C10.715 17.8685 8.77918 17.9471 6.98374 17.3829C5.1883 16.8188 3.64531 15.6471 2.61973 14.0691C1.59415 12.4911 1.15 10.6053 1.36354 8.73548C1.57707 6.86565 2.43498 5.12852 3.78993 3.82239L3.74435 4.17009C3.72117 4.3469 3.76918 4.52568 3.87782 4.6671C3.98646 4.80852 4.14682 4.90099 4.32364 4.92417C4.50045 4.94734 4.67924 4.89933 4.82065 4.7907C4.96207 4.68206 5.05454 4.52169 5.07772 4.34487L5.33936 2.34515C5.35537 2.16962 5.30457 1.99451 5.19711 1.8548C5.08964 1.71508 4.93343 1.62105 4.75967 1.59148L2.75995 1.33003C2.6712 1.31592 2.58053 1.31974 2.49328 1.34127C2.40604 1.3628 2.324 1.40161 2.25201 1.45539C2.18002 1.50917 2.11954 1.57684 2.07415 1.6544C2.02876 1.73195 1.99938 1.81782 1.98775 1.90693C1.97612 1.99603 1.98247 2.08657 2.00643 2.17318C2.03038 2.25979 2.07146 2.34071 2.12723 2.41118C2.183 2.48164 2.25233 2.5402 2.33112 2.58341C2.40991 2.62662 2.49657 2.65359 2.58597 2.66273L3.00459 2.71759C1.3997 4.20681 0.365311 6.20977 0.0800858 8.38051C-0.20514 10.5512 0.27671 12.7534 1.44241 14.6067C2.6081 16.46 4.38444 17.8479 6.4646 18.5308C8.54476 19.2138 10.7981 19.1487 12.8354 18.347C14.8728 17.5453 16.5661 16.0573 17.623 14.1399C18.6799 12.2225 19.034 9.99617 18.6241 7.84549C18.2142 5.69482 17.0661 3.75482 15.378 2.3606C13.6899 0.966386 11.5679 0.205498 9.37854 0.209365Z" />
|
||||
</svg>
|
||||
) : name === "setting" ? (
|
||||
<svg
|
||||
width="14"
|
||||
height="16"
|
||||
viewBox="0 0 14 16"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M0.259306 11.548C0.789972 12.469 1.96681 12.7854 2.88783 12.2548C2.88846 12.2544 2.88906 12.254 2.88969 12.2537L3.17517 12.0888C3.71408 12.5499 4.33352 12.9074 5.00231 13.1435V13.4727C5.00231 14.5356 5.86402 15.3973 6.92698 15.3973C7.98993 15.3973 8.85164 14.5356 8.85164 13.4727V13.1435C9.52052 12.9071 10.14 12.5491 10.6788 12.0875L10.9656 12.253C11.8868 12.7845 13.0645 12.4686 13.5959 11.5473C14.1274 10.6261 13.8115 9.44842 12.8902 8.91694L12.6054 8.75271C12.7336 8.05499 12.7336 7.33974 12.6054 6.64199L12.8902 6.47776C13.8114 5.94628 14.1274 4.76863 13.5959 3.84738C13.0645 2.92615 11.8868 2.61018 10.9656 3.14165L10.6801 3.30654C10.1406 2.84604 9.52076 2.48913 8.85164 2.25378V1.92467C8.85164 0.861709 7.98993 0 6.92698 0C5.86402 0 5.00231 0.861709 5.00231 1.92467V2.25378C4.33343 2.49025 3.71396 2.84823 3.17517 3.30979L2.8884 3.14364C1.96715 2.61213 0.789491 2.92811 0.258013 3.84933C-0.273465 4.77055 0.0424806 5.94824 0.963734 6.47972L1.24858 6.64394C1.12035 7.34166 1.12035 8.05692 1.24858 8.75467L0.963734 8.9189C0.0450368 9.45179 -0.269887 10.6272 0.259306 11.548ZM6.92698 5.13245C8.34425 5.13245 9.49319 6.28139 9.49319 7.69866C9.49319 9.11594 8.34425 10.2649 6.92698 10.2649C5.5097 10.2649 4.36077 9.11594 4.36077 7.69866C4.36077 6.28139 5.5097 5.13245 6.92698 5.13245Z" />
|
||||
</svg>
|
||||
) : name === "people-two" ? (
|
||||
<svg
|
||||
width="15"
|
||||
height="20"
|
||||
viewBox="0 0 15 20"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M10.8692 11.6667H4.13085C3.03569 11.668 1.98576 12.1036 1.21136 12.878C0.436961 13.6524 0.00132319 14.7023 0 15.7975V20H15.0001V15.7975C14.9987 14.7023 14.5631 13.6524 13.7887 12.878C13.0143 12.1036 11.9644 11.668 10.8692 11.6667Z" />
|
||||
<path d="M7.49953 10C10.261 10 12.4995 7.76145 12.4995 5.00002C12.4995 2.23858 10.261 0 7.49953 0C4.7381 0 2.49951 2.23858 2.49951 5.00002C2.49951 7.76145 4.7381 10 7.49953 10Z" />
|
||||
</svg>
|
||||
) : name === "message-two" ? (
|
||||
<svg
|
||||
width="14"
|
||||
height="13"
|
||||
viewBox="0 0 14 13"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M13.9729 3L9.06236 7.82172C7.92242 8.93841 6.07703 8.93841 4.93709 7.82172L0.0267964 3C0.0185934 3.09048 0 3.17238 0 3.26232V10.1359C0.00191403 11.7168 1.30673 12.9981 2.9167 13H11.0833C12.6933 12.9981 13.9981 11.7168 14 10.1359V3.26232C13.9997 3.17238 13.9811 3.09048 13.9729 3Z" />
|
||||
<path d="M8.31954 6.50593L14 1.35845C13.4403 0.517707 12.4369 0.00264136 11.353 0H2.64666C1.5631 0.00264136 0.559417 0.517707 0 1.35845L5.68046 6.50593C6.40983 7.16469 7.58988 7.16469 8.31954 6.50593Z" />
|
||||
</svg>
|
||||
) : name === "add-people" ? (
|
||||
<svg
|
||||
width="13"
|
||||
height="12"
|
||||
viewBox="0 0 13 12"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
d="M12.1351 5.4852H11.1378V4.4879C11.1378 4.2125 10.9145 3.98926 10.6391 3.98926C10.3637 3.98926 10.1405 4.2125 10.1405 4.4879V5.4852H9.14317C8.86778 5.4852 8.64453 5.70845 8.64453 5.98384C8.64453 6.25924 8.86778 6.48248 9.14317 6.48248H10.1405V7.47979C10.1405 7.75518 10.3637 7.97843 10.6391 7.97843C10.9145 7.97843 11.1378 7.75518 11.1378 7.47979V6.48248H12.1351C12.4105 6.48248 12.6337 6.25924 12.6337 5.98384C12.6337 5.70845 12.4105 5.4852 12.1351 5.4852Z"
|
||||
fill="white"
|
||||
/>
|
||||
<path
|
||||
d="M5.15595 5.98378C6.80833 5.98378 8.14784 4.64426 8.14784 2.99189C8.14784 1.33951 6.80833 0 5.15595 0C3.50358 0 2.16406 1.33951 2.16406 2.99189C2.16406 4.64426 3.50358 5.98378 5.15595 5.98378Z"
|
||||
fill="white"
|
||||
/>
|
||||
<path
|
||||
d="M5.1558 6.98096C2.67838 6.98372 0.670727 8.99137 0.667969 11.4688C0.667969 11.7442 0.891215 11.9674 1.16661 11.9674H9.14497C9.42037 11.9674 9.64361 11.7442 9.64361 11.4688C9.64088 8.99137 7.63323 6.98369 5.1558 6.98096Z"
|
||||
fill="white"
|
||||
/>
|
||||
</svg>
|
||||
) : name === "close" ? (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 20 20"
|
||||
fill="currentColor"
|
||||
>
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
|
||||
clipRule="evenodd"
|
||||
/>
|
||||
</svg>
|
||||
) : name === "arrows" ? (
|
||||
<svg
|
||||
width="11"
|
||||
height="19"
|
||||
viewBox="0 0 11 19"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
d="M1.34766 17.0801L9.31224 9.11549L1.34766 1.15091"
|
||||
stroke="currentColor"
|
||||
strokeWidth="2"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
) : name === "love" ? (
|
||||
<svg
|
||||
width="14"
|
||||
height="13"
|
||||
viewBox="0 0 14 13"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M3.8954 0C4.54541 0.00982495 5.18124 0.186152 5.73868 0.511175C6.29613 0.836198 6.75545 1.29841 7.07025 1.85113C7.38506 1.29841 7.84438 0.836198 8.40182 0.511175C8.95927 0.186152 9.5951 0.00982495 10.2451 0C11.2813 0.0437487 12.2576 0.48424 12.9606 1.22524C13.6636 1.96624 14.0363 2.94751 13.9972 3.95468C13.9972 7.75509 7.6729 12.1445 7.4039 12.3307L7.07025 12.5602L6.7366 12.3307C6.46761 12.1456 0.143298 7.75509 0.143298 3.95468C0.10419 2.94751 0.476866 1.96624 1.17991 1.22524C1.88295 0.48424 2.85921 0.0437487 3.8954 0Z" />
|
||||
</svg>
|
||||
) : name === "dots" ? (
|
||||
<svg
|
||||
width="3"
|
||||
height="13"
|
||||
viewBox="0 0 3 13"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<circle cx="1.5" cy="1.5" r="1.5" fill="#374557" />
|
||||
<circle cx="1.5" cy="6.5" r="1.5" fill="#374557" />
|
||||
<circle cx="1.5" cy="11.5" r="1.5" fill="#374557" />
|
||||
</svg>
|
||||
) : name === "bank-card" ? (
|
||||
<svg
|
||||
width="19"
|
||||
height="14"
|
||||
viewBox="0 0 19 14"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M14.5258 0H3.82277C1.71401 0.00346265 0.00346265 1.71055 0 3.82277H18.3451C18.3451 1.71401 16.6346 0.00346265 14.5258 0Z" />
|
||||
<path d="M0 9.93807C0.00346265 12.0468 1.71055 13.7574 3.82277 13.7608H14.5258C16.6346 13.7574 18.3451 12.0503 18.3486 9.93807V5.35352H0V9.93807ZM5.3498 9.55718C5.3498 10.1908 4.83733 10.7033 4.20366 10.7033C3.57 10.7033 3.05752 10.1908 3.05752 9.55718C3.05752 8.92351 3.57 8.41104 4.20366 8.41104C4.83733 8.41104 5.3498 8.92351 5.3498 9.55718Z" />
|
||||
</svg>
|
||||
) : name === "notification-setting" ? (
|
||||
<svg
|
||||
width="19"
|
||||
height="19"
|
||||
viewBox="0 0 19 19"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M0.0413044 14.8498C-0.0591125 14.32 0.0032142 13.8871 0.456822 13.527C0.848102 13.2154 1.16667 12.8172 1.53717 12.4744C1.70684 12.3151 1.76224 12.1454 1.76224 11.9169C1.75532 10.3414 1.73108 8.76241 1.77263 7.1869C1.83496 4.85654 3.38276 2.81704 5.59886 2.06218C6.12519 1.88212 6.12519 1.88212 6.13211 1.32463C6.1425 0.400103 7.00124 -0.216249 7.87383 0.0711515C8.37245 0.233896 8.7291 0.694429 8.76027 1.22075C8.76719 1.33156 8.77758 1.44582 8.76027 1.55663C8.72564 1.8094 8.81567 1.92021 9.0719 1.99985C11.5165 2.73047 13.1267 4.90848 13.1267 7.46045C13.1267 7.81711 13.1267 8.17376 13.1267 8.50964C9.68826 9.24718 7.96386 11.3836 7.7561 14.8532C5.21797 14.8498 2.64176 14.8498 0.0413044 14.8498Z" />
|
||||
<path d="M16.9909 17.6617C16.655 17.5301 16.3642 17.4124 16.0733 17.3016C15.7132 17.1596 15.1072 17.5163 15.0588 17.9006C14.9272 18.9359 14.9272 18.9359 13.9022 18.9359C13.6114 18.9359 13.317 18.9602 13.0296 18.9221C12.9154 18.9082 12.7873 18.7732 12.7249 18.6589C12.6626 18.5516 12.6488 18.3958 12.6591 18.2677C12.7145 17.7136 12.3787 17.447 11.932 17.267C11.8523 17.2358 11.7381 17.2358 11.655 17.2635C11.4022 17.3535 11.1564 17.4609 10.9105 17.5647C10.682 17.6617 10.5158 17.6305 10.3876 17.3847C10.1591 16.9518 9.90633 16.5259 9.65356 16.107C9.5289 15.9027 9.55314 15.7538 9.74705 15.6222C9.85786 15.546 9.95134 15.4456 10.0691 15.3798C10.4638 15.1651 10.6231 14.8604 10.5712 14.4033C10.5469 14.1956 10.5123 14.0536 10.3357 13.9359C10.121 13.7939 9.93057 13.6208 9.72281 13.4684C9.55314 13.3472 9.53582 13.2122 9.6397 13.0356C9.90633 12.582 10.1695 12.1284 10.4292 11.6713C10.5296 11.4912 10.6681 11.4497 10.8516 11.5259C10.9763 11.5743 11.1044 11.6159 11.2221 11.6782C11.5996 11.8791 11.9493 11.9379 12.3267 11.6401C12.4756 11.5224 12.5968 11.4462 12.6107 11.2419C12.628 11.0099 12.6938 10.7779 12.7076 10.5459C12.7215 10.2793 12.8427 10.1685 13.1058 10.172C13.5975 10.1789 14.0892 10.1789 14.5809 10.172C14.8129 10.1685 14.9376 10.2551 14.9445 10.5009C14.948 10.6325 14.993 10.7641 14.9999 10.8991C15.0172 11.3008 15.1419 11.602 15.5643 11.7717C15.7825 11.8583 15.9452 11.8998 16.153 11.7994C16.3746 11.6955 16.5996 11.5847 16.8386 11.5328C16.9528 11.5086 17.1571 11.5778 17.2195 11.6713C17.5103 12.1214 17.7804 12.5854 18.0228 13.0633C18.0713 13.1602 18.0089 13.3472 17.9397 13.458C17.8739 13.5654 17.7458 13.6519 17.628 13.7073C17.1121 13.9463 17.0533 14.386 17.1052 14.8708C17.1156 14.9539 17.1848 15.0509 17.2541 15.1097C17.4688 15.2898 17.6904 15.4629 17.9155 15.6222C18.1094 15.7572 18.1405 15.9027 18.0193 16.1035C17.7562 16.5433 17.5069 16.9934 17.2402 17.4332C17.1779 17.5301 17.074 17.589 16.9909 17.6617ZM13.8434 15.8611C14.5601 15.8611 15.1419 15.2794 15.1419 14.5626C15.1419 13.8458 14.5636 13.271 13.8399 13.2676C13.1231 13.2641 12.5449 13.8458 12.5483 14.5661C12.5483 15.2932 13.1162 15.8611 13.8434 15.8611Z" />
|
||||
<path d="M5.69238 15.7393C6.45763 15.7393 7.17094 15.7393 7.88424 15.7393C8.04699 16.2275 8.20973 16.7088 8.38633 17.2317C7.8323 17.5572 7.24711 17.6056 6.65846 17.3113C6.03865 16.9997 5.72701 16.4768 5.69238 15.7393Z" />
|
||||
</svg>
|
||||
) : name === "login-activity" ? (
|
||||
<svg
|
||||
width="14"
|
||||
height="20"
|
||||
viewBox="0 0 14 20"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M11.864 15.982C11.4632 12.6503 9.25877 11.1115 7.04363 11.0543C5.70166 11.0221 4.5422 11.5123 3.57598 12.4607C2.60976 13.4054 2.19465 14.5935 1.99067 16.0285C1.37873 15.7458 0.809733 15.506 0.272945 15.2126C0.147695 15.1446 0.0582333 14.8941 0.0582333 14.7259C0.0439189 13.5629 -0.0849134 12.3819 0.0940158 11.2475C0.365988 9.54055 1.99067 8.23794 3.71555 8.05544C4.60661 7.96239 5.46547 7.95166 6.35296 8.16995C6.88617 8.30236 7.51243 8.19142 8.06711 8.05902C10.2357 7.52938 13.1559 8.64948 13.7571 10.997C14.0577 12.1672 14.0577 13.3661 13.8751 14.5613C13.8107 14.9979 13.6068 15.32 13.1737 15.481C12.7336 15.6385 12.3042 15.8102 11.864 15.982Z" />
|
||||
<path d="M10.6071 3.72194C10.5928 5.77962 8.96814 7.38999 6.93193 7.36494C4.8814 7.33989 3.24241 5.7009 3.26388 3.69331C3.28535 1.59984 4.90287 -0.0212607 6.94982 0.000210833C9.01824 0.0181038 10.6215 1.64994 10.6071 3.72194Z" />
|
||||
<path d="M10.9477 16.0178C10.9119 18.2795 9.07609 19.9972 6.74286 19.9507C4.58139 19.9077 2.77779 18.0719 2.81 15.9498C2.84578 13.7454 4.69591 11.9776 6.93968 12.0062C9.17272 12.0384 10.9799 13.8492 10.9477 16.0178ZM6.84306 18.4834C7.27606 18.462 7.76991 18.4262 8.26375 18.419C8.62877 18.4154 8.75044 18.2222 8.75044 17.8966C8.75044 17.1808 8.75402 16.4687 8.74687 15.753C8.74687 15.6599 8.7075 15.5025 8.6574 15.4882C8.32817 15.4059 8.40332 15.1482 8.38185 14.9263C8.36396 14.7367 8.34249 14.547 8.3067 14.3645C8.1564 13.6309 7.64108 13.2122 6.91821 13.2229C6.22396 13.2337 5.64781 13.7418 5.52972 14.4432C5.46888 14.8154 5.65139 15.2735 5.17186 15.5096C5.15039 15.5204 5.15039 15.5919 5.15039 15.6349C5.15039 16.4508 5.13607 17.2667 5.16112 18.0826C5.1647 18.19 5.35079 18.3689 5.46888 18.3868C5.90547 18.4477 6.34205 18.4548 6.84306 18.4834Z" />
|
||||
<path d="M7.78818 15.3706C7.81323 14.8159 7.93491 14.2684 7.41601 13.9069C7.09036 13.6815 6.70745 13.6851 6.40327 13.9499C5.95953 14.3328 6.03826 14.8481 6.08836 15.3706C6.66451 15.3706 7.19414 15.3706 7.78818 15.3706ZM6.76113 17.643C6.8828 17.643 7.00448 17.643 7.11899 17.643C7.15836 17.3209 7.22635 17.0239 7.21561 16.7304C7.21204 16.6088 7.02953 16.4978 6.92933 16.3797C6.83986 16.4835 6.6824 16.5837 6.67883 16.6911C6.67167 16.9988 6.72892 17.3137 6.76113 17.643Z" />
|
||||
<path d="M7.78818 15.3706C7.19414 15.3706 6.66451 15.3706 6.08836 15.3706C6.03826 14.8445 5.95953 14.3328 6.40327 13.9499C6.71103 13.6851 7.09394 13.6815 7.41601 13.9069C7.93491 14.2684 7.81323 14.8159 7.78818 15.3706Z" />
|
||||
<path d="M6.76163 17.6421C6.72942 17.3129 6.67217 17.0016 6.67932 16.6902C6.6829 16.5865 6.84036 16.4827 6.92982 16.3789C7.03002 16.4934 7.21253 16.6079 7.21611 16.7296C7.22685 17.0231 7.15885 17.3201 7.11949 17.6421C7.00497 17.6421 6.88688 17.6421 6.76163 17.6421Z" />
|
||||
</svg>
|
||||
) : name === "block-question" ? (
|
||||
<svg
|
||||
width="17"
|
||||
height="17"
|
||||
viewBox="0 0 17 17"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M8.5 0C3.80338 0 0 3.80622 0 8.5C0 13.1938 3.80623 17 8.5 17C13.1938 17 17 13.1938 17 8.5C16.9972 3.80907 13.1938 0.00568942 8.5 0ZM8.5 14.1695C8.10743 14.1695 7.79167 13.8537 7.79167 13.4612C7.79167 13.0686 8.10743 12.7528 8.5 12.7528C8.89257 12.7528 9.20833 13.0686 9.20833 13.4612C9.20833 13.8509 8.89257 14.1695 8.5 14.1695ZM9.86831 8.86128C9.4416 9.12868 9.19126 9.6009 9.20833 10.1016V10.6278C9.20833 11.0204 8.89257 11.3362 8.5 11.3362C8.10743 11.3362 7.79167 11.0204 7.79167 10.6278V10.1016C7.77176 9.08317 8.30371 8.13303 9.18273 7.62098C9.72038 7.32513 10.0049 6.71637 9.89107 6.11613C9.77728 5.54434 9.33066 5.09772 8.75887 4.98678C7.9908 4.84454 7.25118 5.35375 7.10894 6.12182C7.09472 6.20716 7.08618 6.2925 7.08618 6.37784C7.08618 6.77041 6.77042 7.08618 6.37785 7.08618C5.98528 7.08618 5.66952 6.77041 5.66952 6.37784C5.66952 4.81325 6.93825 3.54451 8.50569 3.54451C10.0703 3.54451 11.339 4.81325 11.339 6.38069C11.3333 7.41048 10.7729 8.36061 9.86831 8.86128Z" />
|
||||
</svg>
|
||||
) : name === "page-right" ? (
|
||||
<svg
|
||||
width="17"
|
||||
height="21"
|
||||
viewBox="0 0 17 21"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M9.10101 0C9.10101 1.3622 9.10101 2.64618 9.10101 3.93017C9.10101 4.65363 9.29915 4.84916 10.0256 4.84916C11.3267 4.84916 12.6278 4.84916 13.9685 4.84916C13.9685 7.41061 13.9685 9.91992 13.9685 12.4879C12.4231 12.3706 11.0427 12.7356 9.90016 13.798C8.77739 14.8473 8.30847 16.1639 8.34149 17.7216C8.11033 17.7346 7.9122 17.7542 7.71406 17.7542C5.43551 17.7542 3.16356 17.7542 0.885004 17.7477C0.20474 17.7542 0 17.5456 0 16.8547C0 11.5885 0 6.32216 0 1.05587C0 0.156425 0.158508 0 1.07653 0C3.55322 0 6.03652 0 8.51981 0C8.68493 0 8.85004 0 9.10101 0ZM6.99417 8.1406C8.09052 8.1406 9.19347 8.1406 10.2898 8.1406C10.8512 8.1406 11.1946 7.89944 11.155 7.50838C11.1088 7.01955 10.7653 6.8892 10.3228 6.89572C9.35198 6.90223 8.38772 6.8892 7.41686 6.8892C6.16861 6.8892 4.92036 6.8892 3.67211 6.89572C3.0843 6.90223 2.79371 7.18249 2.88617 7.63222C2.97203 8.03631 3.27584 8.13408 3.63908 8.13408C4.76185 8.1406 5.87801 8.1406 6.99417 8.1406ZM7.0272 10.1676C5.91103 10.1676 4.79487 10.1741 3.67871 10.1676C3.2296 10.1676 2.88617 10.311 2.88617 10.8063C2.88617 11.2886 3.2296 11.3994 3.65229 11.3994C5.88462 11.3929 8.11694 11.3929 10.3559 11.3994C10.8116 11.3994 11.1682 11.2495 11.155 10.7737C11.1418 10.2914 10.772 10.1676 10.3228 10.1741C9.2265 10.1806 8.13015 10.1676 7.0272 10.1676ZM5.13831 14.6974C5.66006 14.6974 6.18182 14.7039 6.70357 14.6909C7.11305 14.6844 7.39705 14.5019 7.40365 14.0717C7.41026 13.635 7.12626 13.4655 6.71018 13.4655C5.66667 13.4721 4.62315 13.4655 3.58625 13.4655C3.17016 13.4655 2.88617 13.6285 2.88617 14.0652C2.89277 14.4888 3.17016 14.6844 3.57964 14.6844C4.09479 14.7039 4.61655 14.6974 5.13831 14.6974ZM5.01282 4.84264C5.49495 4.84264 5.98368 4.84916 6.46581 4.84264C6.84887 4.83613 7.13287 4.65363 7.14608 4.25605C7.15268 3.83892 6.8819 3.61732 6.46581 3.61732C5.49495 3.6108 4.52409 3.6108 3.55322 3.61732C3.16356 3.61732 2.89938 3.80633 2.87957 4.20391C2.85975 4.6406 3.15035 4.82961 3.55322 4.84264C4.04196 4.85568 4.52409 4.84264 5.01282 4.84264Z" />
|
||||
<path d="M9.60305 17.3306C9.60965 15.3166 11.274 13.6937 13.3148 13.7002C15.3424 13.7067 17.0133 15.3687 17.0001 17.3697C16.9869 19.3706 15.3093 21.0065 13.2752 21C11.2476 20.9935 9.59644 19.3445 9.60305 17.3306ZM12.8062 17.5065C12.6147 17.3306 12.4892 17.2263 12.3703 17.1155C12.0731 16.8222 11.7363 16.77 11.4391 17.0699C11.1287 17.3827 11.2344 17.7021 11.525 17.9889C11.7495 18.2105 11.9675 18.4386 12.1986 18.6537C12.6213 19.0578 12.9383 19.0643 13.3544 18.6602C13.863 18.1713 14.3517 17.6695 14.8602 17.1807C15.1772 16.8743 15.3622 16.555 14.9857 16.19C14.6291 15.838 14.279 15.9684 13.9686 16.2943C13.5856 16.6853 13.2091 17.0894 12.8062 17.5065Z" />
|
||||
<path d="M10.3955 3.56557C10.3955 2.43801 10.3955 1.32349 10.3955 0.228516C11.5183 1.34956 12.6344 2.46408 13.7374 3.56557C12.6873 3.56557 11.5579 3.56557 10.3955 3.56557Z" />
|
||||
</svg>
|
||||
) : name === "deep-delete" ? (
|
||||
<svg
|
||||
width="15"
|
||||
height="16"
|
||||
viewBox="0 0 15 16"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path d="M12.5771 16.0002C9.45311 16.0002 6.32727 16.0002 3.20326 16.0002C2.8367 15.8841 2.57773 15.6681 2.53943 15.2671C2.40448 13.8988 2.27317 12.5287 2.14186 11.1605C1.96861 9.35304 1.79901 7.54563 1.62211 5.73821C1.56739 5.19199 1.89749 4.81817 2.44642 4.8345C2.61238 4.83994 2.77834 4.84357 2.94429 4.84357C6.29992 4.84357 9.65736 4.84357 13.013 4.84357C14.0799 4.84357 14.2768 5.09763 14.1546 6.16284C13.985 7.65995 13.8555 9.1625 13.7096 10.6632C13.5656 12.1422 13.4106 13.6193 13.2884 15.1001C13.2501 15.5828 13.044 15.8786 12.5771 16.0002ZM5.72545 12.2148C5.72727 12.2148 5.7291 12.2148 5.73092 12.2148C5.70539 11.7412 5.68168 11.2693 5.65615 10.7957C5.60873 9.89382 5.56679 8.99192 5.51025 8.09003C5.4829 7.65995 5.22028 7.42949 4.82271 7.45671C4.43609 7.48211 4.2373 7.71983 4.25736 8.15717C4.30843 9.23509 4.36314 10.313 4.41967 11.3909C4.44521 11.8754 4.46527 12.36 4.51451 12.8409C4.5528 13.2038 4.83913 13.4179 5.18016 13.3853C5.54308 13.349 5.75463 13.1149 5.74916 12.7429C5.74916 12.5668 5.73457 12.3908 5.72545 12.2148ZM11.565 8.28964C11.5686 8.28964 11.5704 8.28964 11.5741 8.28964C11.5741 8.25698 11.5741 8.22431 11.5741 8.19165C11.5868 7.72709 11.3753 7.46941 10.9686 7.45671C10.5637 7.444 10.3321 7.69261 10.3175 8.15354C10.3139 8.27513 10.3011 8.39489 10.2957 8.51466C10.2172 9.90833 10.1352 11.302 10.064 12.6957C10.0422 13.1131 10.2975 13.3834 10.6859 13.3925C11.0489 13.3998 11.2932 13.1421 11.3169 12.7356C11.3972 11.253 11.4811 9.77042 11.565 8.28964ZM8.46648 10.4364C8.46648 9.67787 8.47013 8.91934 8.46466 8.1608C8.46283 7.71621 8.23487 7.46034 7.85554 7.45489C7.47621 7.44945 7.21542 7.71076 7.21359 8.13902C7.2063 9.65609 7.20812 11.1732 7.21359 12.6902C7.21542 13.1058 7.48897 13.3889 7.85007 13.3871C8.22211 13.3834 8.46101 13.1149 8.46466 12.6793C8.47013 11.9317 8.46648 11.1841 8.46648 10.4364Z" />
|
||||
<path d="M9.31995 0C9.83606 0.19417 9.9856 0.597028 9.91813 1.13054C10.0677 1.1378 10.1862 1.14688 10.3048 1.14688C11.512 1.14869 12.7175 1.14688 13.9248 1.14869C14.5266 1.1505 14.7145 1.33923 14.7145 1.93989C14.7145 2.30282 14.7127 2.66576 14.7145 3.03051C14.7163 3.27731 14.5905 3.39344 14.3497 3.40252C14.2622 3.40615 14.1728 3.40615 14.0835 3.40615C9.93271 3.40615 5.78195 3.40615 1.6312 3.40615C1.02572 3.40615 0.998369 3.37711 0.998369 2.77101C0.998369 2.4734 0.996545 2.1758 0.998369 1.88C1.00202 1.36101 1.20627 1.15595 1.75521 1.15413C2.91691 1.14869 4.07861 1.15232 5.24214 1.15232C5.42816 1.15232 5.616 1.15232 5.85673 1.15232C5.79654 0.613361 5.90597 0.177838 6.4622 0C7.41417 0 8.36797 0 9.31995 0Z" />
|
||||
</svg>
|
||||
) : name === "hide-password" ? (
|
||||
<svg
|
||||
width="25"
|
||||
height="21"
|
||||
viewBox="0 0 25 21"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
d="M20.5478 16.3524C20.1556 15.9557 19.7691 15.5605 19.3797 15.1683C18.7797 14.5653 18.1782 13.9638 17.5723 13.3667C17.4968 13.2911 17.4866 13.2388 17.5374 13.1415C19.3478 9.66037 17.212 5.46008 13.3328 4.87747C12.1138 4.69441 10.9529 4.89636 9.85743 5.46299C9.78623 5.49931 9.73538 5.53563 9.65547 5.45572C8.88108 4.67262 8.10087 3.89678 7.32212 3.11803C7.30033 3.09624 7.28289 3.07154 7.24512 3.0265C7.56621 2.90591 7.86841 2.78387 8.17788 2.67926C10.0754 2.03563 12.0237 1.83513 14.0127 2.05161C18.8785 2.58337 23.1747 5.85381 24.9763 10.3926C24.9995 10.4522 25.0068 10.5379 24.9821 10.596C24.0479 12.8916 22.595 14.792 20.6278 16.2986C20.6132 16.3117 20.5958 16.3219 20.5478 16.3524Z"
|
||||
fill="#374557"
|
||||
fillOpacity="0.6"
|
||||
/>
|
||||
<path
|
||||
d="M4.44163 4.65918C4.91528 5.13573 5.3773 5.6021 5.84222 6.06703C6.36962 6.59442 6.89703 7.12327 7.42733 7.64776C7.49853 7.7175 7.51015 7.7669 7.4622 7.85989C5.81462 11.0228 7.40118 14.873 10.801 15.9336C12.2829 16.3956 13.7271 16.2576 15.1161 15.5573C15.1626 15.534 15.2076 15.5093 15.2468 15.489C16.0735 16.3186 16.893 17.1424 17.724 17.9778C17.6862 17.9952 17.6383 18.0199 17.5874 18.0403C15.5069 18.8844 13.3493 19.1909 11.1162 18.9657C6.18511 18.4674 1.87 15.2275 0.02773 10.6364C0.000124928 10.5666 -0.0114982 10.4693 0.0146539 10.4039C0.941602 8.12286 2.38433 6.23411 4.33557 4.73328C4.36317 4.71003 4.39514 4.69114 4.44163 4.65918Z"
|
||||
fill="#374557"
|
||||
fillOpacity="0.6"
|
||||
/>
|
||||
<path
|
||||
d="M2.04297 1.0577C2.36406 0.732254 2.72292 0.370486 3.09051 0C9.71717 6.64695 16.3482 13.2968 22.9749 19.9438C22.645 20.2721 22.2833 20.631 21.9128 21C15.2905 14.3531 8.66237 7.70174 2.04297 1.0577Z"
|
||||
fill="#374557"
|
||||
fillOpacity="0.6"
|
||||
/>
|
||||
<path
|
||||
d="M13.5471 13.7324C12.655 14.071 11.1164 14.0158 10.0093 12.8433C9.16664 11.9512 8.80197 10.3283 9.27125 9.46387C10.698 10.8877 12.116 12.3028 13.5471 13.7324Z"
|
||||
fill="#374557"
|
||||
fillOpacity="0.6"
|
||||
/>
|
||||
<path
|
||||
d="M11.5186 7.24656C12.3118 6.80779 13.942 7.17247 14.8384 8.01369C16.0167 9.11933 16.0705 10.6638 15.7523 11.4933C14.3415 10.0797 12.9264 8.66022 11.5186 7.24656Z"
|
||||
fill="#374557"
|
||||
fillOpacity="0.6"
|
||||
/>
|
||||
</svg>
|
||||
) : name === "show-password" ? (
|
||||
<svg
|
||||
className=" text-dark-gray dark:text-white"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="25"
|
||||
height="21"
|
||||
viewBox="0 0 25 21"
|
||||
fill="currentColor"
|
||||
>
|
||||
<path d="M10 12a2 2 0 100-4 2 2 0 000 4z" />
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
d="M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z"
|
||||
clipRule="evenodd"
|
||||
/>
|
||||
</svg>
|
||||
) : name === "accordion-minus" ? (
|
||||
<svg
|
||||
width="20"
|
||||
height="4"
|
||||
viewBox="0 0 20 4"
|
||||
fill="none"
|
||||
className="fill-current"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<rect y="0.823242" width="20" height="2.35294" rx="1.17647" />
|
||||
</svg>
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
import React from "react";
|
||||
|
||||
export default function BtcIco() {
|
||||
return (
|
||||
<svg
|
||||
width="31"
|
||||
height="30"
|
||||
viewBox="0 0 31 30"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<g clipPath="url(#clip0_759_93291)">
|
||||
<path
|
||||
d="M15.5157 0.0010975C23.9774 -0.0715737 31.0657 6.70887 30.9998 15.098C30.935 23.3528 23.8978 30.2499 14.9905 29.9934C6.65728 29.7534 -0.0513565 23.017 -0.00019762 14.8921C0.0520981 6.67474 7.03358 -0.0991007 15.5157 0.0010975ZM18.4159 23.9441C19.3856 23.9397 20.2621 23.954 21.1205 23.7712C22.5563 23.4662 23.6704 22.7318 24.3185 21.4248C24.7903 20.4746 25.0256 19.466 24.9858 18.4056C24.9608 17.7604 24.7596 17.1691 24.3776 16.6373C23.9444 16.0339 23.3317 15.643 22.6927 15.2808C22.3403 15.0815 22.3426 15.0661 22.6893 14.8591C23.2111 14.5475 23.6943 14.1907 24.0456 13.6952C24.7107 12.756 24.8698 11.7155 24.6516 10.6166C24.4708 9.7005 24.0013 8.95617 23.1805 8.43426C22.6825 8.11715 22.1595 7.84959 21.6173 7.61396C21.0613 7.37282 20.4793 7.19995 19.9086 6.99846C19.7835 6.95441 19.6937 6.90046 19.7164 6.74631C19.7937 6.21889 19.8631 5.69037 19.9381 5.16185C20.0166 4.61352 20.1007 4.06518 20.1825 3.51684C20.2007 3.39572 20.1882 3.30323 20.0325 3.2691C19.4311 3.13807 18.824 3.04778 18.2089 3.00594C17.91 2.98612 17.9077 2.99273 17.8577 3.28231C17.6883 4.26558 17.5155 5.24774 17.3552 6.2332C17.329 6.39396 17.2688 6.44351 17.1073 6.4358C16.7265 6.41929 16.3536 6.35653 15.9807 6.28936C15.5771 6.21669 15.5794 6.21228 15.6385 5.80378C15.7749 4.85025 15.9045 3.89561 16.0455 2.94318C16.0739 2.7549 16.0034 2.67342 15.8204 2.64479C15.2702 2.5589 14.7199 2.46751 14.1629 2.42677C13.6876 2.39154 13.7627 2.33208 13.6842 2.80555C13.5182 3.79652 13.3659 4.78969 13.209 5.78176C13.1897 5.89958 13.1431 5.96564 12.9953 5.94692C12.4075 5.87205 11.8164 5.81039 11.2286 5.73772C10.4487 5.64082 9.66996 5.53622 8.89008 5.43823C8.73092 5.41841 8.58312 5.40189 8.54674 5.62761C8.44329 6.25633 8.32506 6.88284 8.26594 7.51927C8.25116 7.67892 8.31482 7.75159 8.46489 7.77802C8.74683 7.82647 9.02764 7.87601 9.30958 7.92226C9.66883 7.98172 10.0292 8.03787 10.3657 8.18542C10.7989 8.37591 11.0035 8.70513 10.9774 9.16208C10.9523 9.60471 10.8819 10.044 10.8171 10.4823C10.6602 11.5448 10.5112 12.6074 10.3544 13.6699C10.1645 14.9515 9.97351 16.2343 9.77228 17.5149C9.67906 18.1105 9.62108 18.7128 9.46874 19.2975C9.34255 19.7798 9.11404 19.9284 8.60131 19.9141C8.14316 19.902 7.68955 19.8503 7.23594 19.7864C7.07678 19.7644 6.9017 19.7291 6.81644 19.9328C6.52426 20.6265 6.2878 21.3378 6.0843 22.0601C6.04792 22.1911 6.08543 22.2671 6.24118 22.2891C6.65841 22.3475 7.07337 22.4191 7.4906 22.4829C8.43078 22.6272 9.36983 22.7714 10.3112 22.9101C10.4999 22.9377 10.5749 23.0125 10.5624 23.2085C10.5294 23.736 10.426 24.2535 10.3578 24.7754C10.2839 25.338 10.177 25.8974 10.1202 26.4622C10.1042 26.6153 10.1554 26.6946 10.3134 26.7265C10.8807 26.8443 11.4548 26.9225 12.0324 26.9709C12.3802 27.0007 12.3859 26.9907 12.445 26.645C12.6179 25.6485 12.7872 24.651 12.9544 23.6534C12.9737 23.5411 12.9919 23.4475 13.1431 23.4574C13.5921 23.4882 14.0401 23.54 14.4846 23.6082C14.6301 23.6314 14.6892 23.6941 14.6858 23.8428C14.6767 24.2535 14.5937 24.6554 14.5392 25.0606C14.4459 25.7476 14.3527 26.4347 14.2572 27.1207C14.2436 27.2176 14.264 27.288 14.3732 27.3068C15.036 27.4147 15.6953 27.5402 16.3684 27.571C16.4866 27.5765 16.5559 27.5402 16.5707 27.4136C16.5912 27.2352 16.6287 27.0579 16.6571 26.8795C16.8004 25.9833 16.9459 25.087 17.0846 24.1896C17.1085 24.0366 17.1892 23.9793 17.337 23.965C17.7258 23.9253 18.1203 23.9529 18.4159 23.9441Z"
|
||||
fill="#F49621"
|
||||
/>
|
||||
<path
|
||||
d="M18.4161 23.9441C18.1205 23.954 17.726 23.9253 17.3327 23.965C17.1837 23.9793 17.103 24.0366 17.0803 24.1896C16.9427 25.087 16.7972 25.9833 16.6528 26.8795C16.6244 27.0579 16.5869 27.2341 16.5664 27.4136C16.5516 27.5402 16.4823 27.5765 16.364 27.571C15.691 27.5402 15.0305 27.4147 14.3688 27.3068C14.2597 27.2891 14.2404 27.2176 14.2529 27.1207C14.3484 26.4336 14.4416 25.7476 14.5348 25.0606C14.5894 24.6554 14.6735 24.2546 14.6815 23.8428C14.6849 23.6941 14.6258 23.6314 14.4803 23.6082C14.0357 23.5389 13.5878 23.4882 13.1388 23.4574C12.9876 23.4464 12.9682 23.5411 12.95 23.6534C12.7818 24.651 12.6124 25.6485 12.4407 26.645C12.3805 26.9907 12.3759 27.0007 12.028 26.9709C11.4505 26.9214 10.8775 26.8443 10.3091 26.7265C10.1522 26.6935 10.1011 26.6153 10.1158 26.4622C10.1727 25.8963 10.2784 25.338 10.3534 24.7754C10.4228 24.2535 10.5251 23.736 10.5581 23.2085C10.5706 23.0126 10.4956 22.9377 10.3068 22.9102C9.36665 22.7714 8.42646 22.6272 7.48627 22.4829C7.07018 22.4191 6.65409 22.3475 6.23686 22.2891C6.08111 22.2671 6.04359 22.1911 6.07997 22.0601C6.28347 21.3378 6.51994 20.6265 6.81211 19.9328C6.89738 19.7291 7.07246 19.7644 7.23162 19.7864C7.68523 19.8491 8.13883 19.9009 8.59699 19.9141C9.11085 19.9284 9.33823 19.7798 9.46442 19.2975C9.61789 18.7117 9.67474 18.1105 9.76796 17.5149C9.96805 16.2343 10.159 14.9515 10.35 13.6699C10.5081 12.6074 10.6559 11.5448 10.8127 10.4823C10.8775 10.0429 10.948 9.60471 10.973 9.16208C10.9992 8.70513 10.7945 8.3759 10.3614 8.18542C10.0249 8.03677 9.66451 7.98172 9.30526 7.92226C9.02331 7.87601 8.74251 7.82536 8.46057 7.77802C8.3105 7.75269 8.2457 7.68002 8.26162 7.51927C8.32073 6.88394 8.43897 6.25743 8.54242 5.62761C8.57994 5.40189 8.72773 5.4173 8.88575 5.43823C9.66564 5.53622 10.4444 5.64082 11.2243 5.73772C11.8132 5.81039 12.4032 5.87205 12.991 5.94692C13.1388 5.96564 13.1854 5.89958 13.2047 5.78176C13.3627 4.78969 13.5151 3.79652 13.6799 2.80554C13.7595 2.33208 13.6833 2.39154 14.1585 2.42677C14.7145 2.46751 15.2647 2.5589 15.8161 2.64479C15.998 2.67342 16.0685 2.75379 16.0412 2.94318C15.9002 3.89561 15.7695 4.85025 15.6342 5.80378C15.5762 6.21338 15.5728 6.21779 15.9764 6.28936C16.3493 6.35653 16.7222 6.41929 17.103 6.4358C17.2633 6.44241 17.3247 6.39396 17.3508 6.2332C17.5111 5.24884 17.6828 4.26558 17.8533 3.28231C17.9034 2.99273 17.9056 2.98612 18.2046 3.00594C18.8197 3.04778 19.4268 3.13917 20.0282 3.2691C20.1828 3.30323 20.1964 3.39572 20.1782 3.51684C20.0964 4.06518 20.0134 4.61352 19.9338 5.16185C19.8576 5.68927 19.7894 6.21889 19.7121 6.74631C19.6894 6.90046 19.7792 6.95441 19.9042 6.99845C20.4749 7.19995 21.057 7.37282 21.6129 7.61396C22.1552 7.84959 22.6782 8.11715 23.1761 8.43426C23.9969 8.95727 24.4665 9.7016 24.6472 10.6166C24.8644 11.7155 24.7064 12.756 24.0413 13.6952C23.69 14.1907 23.2068 14.5475 22.685 14.8591C22.3383 15.0661 22.336 15.0815 22.6884 15.2808C23.3273 15.643 23.9401 16.0339 24.3732 16.6373C24.7552 17.1702 24.9576 17.7604 24.9815 18.4056C25.0224 19.466 24.7859 20.4746 24.3141 21.4248C23.6661 22.7318 22.552 23.4662 21.1161 23.7712C20.2624 23.9529 19.387 23.9397 18.4161 23.9441ZM16.3106 20.9634C17.2735 20.9447 18.0352 20.9711 18.7708 20.7454C19.9531 20.3843 20.5045 19.3118 20.1885 18.1788C19.9986 17.4983 19.487 17.0854 18.8799 16.7639C18.2205 16.4149 17.5089 16.2112 16.7756 16.068C15.9968 15.9161 15.2135 15.795 14.42 15.7399C14.2677 15.7289 14.1892 15.7719 14.1619 15.9337C13.9186 17.3893 13.6754 18.845 13.4866 20.3094C13.4469 20.6188 13.4525 20.6485 13.7663 20.6959C14.6769 20.8346 15.5853 21.0141 16.3106 20.9634ZM16.895 13.704C17.6703 13.7029 18.2762 13.6842 18.8663 13.5102C20.1714 13.1238 20.5466 11.8553 20.0782 10.8005C19.9054 10.4107 19.5655 10.1354 19.1903 9.92072C18.0421 9.26558 16.7665 9.0872 15.4659 8.99912C15.2545 8.9848 15.1806 9.06738 15.1476 9.25787C14.9236 10.5417 14.7429 11.8311 14.5951 13.1249C14.5621 13.4122 14.5803 13.4365 14.8668 13.4816C15.5944 13.5972 16.3197 13.7282 16.895 13.704Z"
|
||||
fill="#FEFDFC"
|
||||
/>
|
||||
<path
|
||||
d="M16.3106 20.9634C15.5853 21.0141 14.6781 20.8346 13.7663 20.6969C13.4514 20.6496 13.4468 20.6188 13.4866 20.3105C13.6765 18.8471 13.9198 17.3915 14.1619 15.9348C14.1892 15.7729 14.2676 15.7311 14.42 15.741C15.2135 15.7949 15.9968 15.9172 16.7756 16.0691C17.5088 16.2123 18.2205 16.416 18.8799 16.765C19.487 17.0865 19.9974 17.4994 20.1884 18.1799C20.5056 19.3129 19.9531 20.3853 18.7708 20.7465C18.0341 20.9711 17.2735 20.9447 16.3106 20.9634Z"
|
||||
fill="#F49621"
|
||||
/>
|
||||
<path
|
||||
d="M16.895 13.7041C16.3198 13.7283 15.5933 13.5973 14.8669 13.4816C14.5792 13.4365 14.5622 13.4123 14.5952 13.1249C14.7429 11.8311 14.9237 10.5418 15.1477 9.25791C15.1806 9.06632 15.2545 8.98484 15.466 8.99916C16.7654 9.08834 18.0421 9.26562 19.1904 9.92076C19.5655 10.1355 19.9054 10.4107 20.0783 10.8005C20.5466 11.8554 20.1715 13.1238 18.8664 13.5103C18.2763 13.6842 17.6715 13.703 16.895 13.7041Z"
|
||||
fill="#F49621"
|
||||
/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_759_93291">
|
||||
<rect width="31" height="30" fill="white" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
import React from "react";
|
||||
|
||||
export default function EthIco() {
|
||||
return (
|
||||
<svg
|
||||
width="30"
|
||||
height="30"
|
||||
viewBox="0 0 30 30"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
d="M15 30C23.2843 30 30 23.2843 30 15C30 6.71573 23.2843 0 15 0C6.71573 0 0 6.71573 0 15C0 23.2843 6.71573 30 15 30Z"
|
||||
fill="#627EEA"
|
||||
/>
|
||||
<path
|
||||
d="M15.4658 3.75V12.0656L22.4943 15.2062L15.4658 3.75Z"
|
||||
fill="white"
|
||||
fillOpacity="0.602"
|
||||
/>
|
||||
<path
|
||||
d="M15.4669 3.75L8.4375 15.2062L15.4669 12.0656V3.75Z"
|
||||
fill="white"
|
||||
/>
|
||||
<path
|
||||
d="M15.4658 20.5951V26.2455L22.4989 16.5151L15.4658 20.5951Z"
|
||||
fill="white"
|
||||
fillOpacity="0.602"
|
||||
/>
|
||||
<path
|
||||
d="M15.4669 26.2455V20.5942L8.4375 16.5151L15.4669 26.2455Z"
|
||||
fill="white"
|
||||
/>
|
||||
<path
|
||||
d="M15.4658 19.2873L22.4943 15.2064L15.4658 12.0676V19.2873Z"
|
||||
fill="white"
|
||||
fillOpacity="0.2"
|
||||
/>
|
||||
<path
|
||||
d="M8.4375 15.2064L15.4669 19.2873V12.0676L8.4375 15.2064Z"
|
||||
fill="white"
|
||||
fillOpacity="0.602"
|
||||
/>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
import React from "react";
|
||||
|
||||
export default function LtcIco() {
|
||||
return (
|
||||
<svg
|
||||
width="31"
|
||||
height="31"
|
||||
viewBox="0 0 31 31"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<g clipPath="url(#clip0_759_93297)">
|
||||
<path
|
||||
d="M2.14376e-07 15.4226C0.0294959 7.1359 6.33175 1.35431 12.4275 0.290725C17.8267 -0.652033 22.5446 0.677101 26.4563 4.52822C29.4957 7.52087 30.9846 11.2399 31 15.4971C31.0323 24.0325 24.0053 31.0139 15.4558 30.9985C6.89919 30.983 -0.00140434 24.0283 2.14376e-07 15.4226ZM8.62539 18.1413C9.35155 17.9446 10.0777 17.7479 10.8952 17.5273C10.1479 20.0633 9.43161 22.4926 8.71809 24.9176C8.81079 24.9542 8.85433 24.9865 8.89647 24.9865C13.1733 24.9921 17.4516 24.9935 21.7285 25.0005C22.1429 25.0019 22.3718 24.8193 22.4771 24.4189C22.6499 23.7655 22.8536 23.1192 23.0404 22.4701C23.3044 21.5526 23.2244 21.4417 22.2889 21.4417C19.7649 21.4402 17.2395 21.429 14.7156 21.4515C14.2169 21.4557 14.1341 21.3461 14.29 20.8712C14.6734 19.6966 15.0807 18.5192 15.3251 17.3123C15.533 16.2839 16.0232 15.6882 17.0598 15.6053C18.0345 15.5266 18.4334 14.9618 18.6104 14.0584C18.7214 13.4921 18.5402 13.523 18.1399 13.6537C17.571 13.8392 16.9952 14.0036 16.3153 14.2087C16.3982 13.9122 16.4502 13.7198 16.5064 13.5287C17.2718 10.9097 18.0401 8.29082 18.8042 5.67048C19.043 4.84996 18.9545 4.73897 18.0851 4.73616C17.2199 4.73335 16.3533 4.77269 15.4909 4.72351C14.8701 4.68698 14.6229 4.96798 14.4641 5.51453C13.6804 8.22619 12.7731 10.9055 12.1129 13.6467C11.7449 15.1697 11.1381 16.1701 9.49762 16.3246C9.22654 16.3499 8.95546 16.4553 8.87821 16.7967C8.7813 17.2266 8.66191 17.6524 8.55095 18.0795C8.5355 18.1076 8.52145 18.1371 8.506 18.1652C8.54674 18.1553 8.58606 18.1483 8.62539 18.1413Z"
|
||||
fill="#345D9D"
|
||||
/>
|
||||
<path
|
||||
d="M8.55371 18.0768C8.66327 17.6497 8.78406 17.224 8.88097 16.794C8.95822 16.4526 9.2293 16.3486 9.50038 16.3219C11.1409 16.1674 11.7477 15.167 12.1157 13.644C12.7772 10.9042 13.6846 8.2235 14.4669 5.51184C14.6256 4.96389 14.8728 4.6843 15.4936 4.72083C16.356 4.77141 17.2226 4.73066 18.0878 4.73347C18.9573 4.73628 19.0458 4.84868 18.807 5.6678C18.0429 8.28813 17.276 10.9057 16.5091 13.526C16.4529 13.7171 16.401 13.9096 16.3181 14.206C16.9979 14.0009 17.5724 13.8351 18.1426 13.651C18.5429 13.5204 18.7241 13.4895 18.6132 14.0557C18.4362 14.9591 18.0373 15.5239 17.0625 15.6026C16.0246 15.6869 15.5344 16.2812 15.3279 17.3097C15.0849 18.5166 14.6762 19.694 14.2927 20.8685C14.1382 21.3434 14.2197 21.453 14.7183 21.4488C17.2423 21.4263 19.7677 21.4376 22.2917 21.439C23.2257 21.439 23.3058 21.55 23.0431 22.4674C22.8563 23.1179 22.6527 23.7628 22.4799 24.4162C22.3746 24.8166 22.1442 24.9992 21.7313 24.9978C17.4544 24.9908 13.1761 24.9894 8.89923 24.9838C8.85569 24.9838 8.81355 24.9515 8.72085 24.9149C9.43577 22.4899 10.1507 20.0607 10.8979 17.5246C10.0791 17.7466 9.35431 17.9433 8.62815 18.1386C8.60147 18.1189 8.57759 18.0979 8.55371 18.0768Z"
|
||||
fill="#FDFDFD"
|
||||
/>
|
||||
<path
|
||||
d="M8.62537 18.1414C8.58604 18.1484 8.54812 18.1555 8.50879 18.1625C8.52424 18.1344 8.53828 18.1049 8.55373 18.0768C8.57761 18.0979 8.60149 18.1189 8.62537 18.1414Z"
|
||||
fill="#FDFDFD"
|
||||
/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_759_93297">
|
||||
<rect width="31" height="31" fill="white" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
import React from "react";
|
||||
|
||||
export default function Usdt() {
|
||||
return (
|
||||
<svg
|
||||
width="30"
|
||||
height="30"
|
||||
viewBox="0 0 30 30"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<g clipPath="url(#clip0_759_93254)">
|
||||
<path
|
||||
d="M15.0209 0C23.3307 0.0149105 30.0388 6.74255 30.0001 15.0224C29.9613 23.3946 23.2354 30.0283 14.8138 30C6.61126 29.9717 -0.0222939 23.2068 5.63125e-05 14.8926"
|
||||
fill="#28B478"
|
||||
/>
|
||||
<path
|
||||
d="M0 14.8925C0.0223503 6.63509 6.73041 -0.0150076 15.0209 -9.70455e-05L0 14.8925Z"
|
||||
fill="#28B478"
|
||||
/>
|
||||
<path
|
||||
d="M15.0001 6.10294C15.0001 6.10443 15.0001 6.10592 15.0001 6.10742C12.917 6.10742 10.8325 6.12829 8.74946 6.094C8.15345 6.08356 7.97763 6.27441 8.00147 6.85443C8.04319 7.86984 8.03574 8.88972 8.00296 9.90662C7.98657 10.4166 8.13706 10.6119 8.67049 10.5955C9.78502 10.5612 10.9025 10.5776 12.0186 10.591C12.2167 10.594 12.4656 10.506 12.5818 10.8102C12.8872 11.6019 12.5252 12.1969 11.6729 12.261C10.3855 12.3579 9.11004 12.5353 7.89717 13.0065C7.39205 13.2033 6.79307 13.3912 6.77072 14.0488C6.74539 14.766 7.41589 14.9046 7.9076 15.1641C8.01637 15.2207 8.14153 15.2446 8.25924 15.2819C9.4453 15.6695 10.6746 15.844 11.9098 15.932C12.4566 15.9707 12.6131 16.1392 12.6056 16.6864C12.5743 18.8708 12.6146 21.0552 12.5803 23.2381C12.5714 23.8107 12.7546 23.9568 13.2955 23.9404C14.4354 23.9046 15.5782 23.9046 16.7181 23.9404C17.244 23.9568 17.3871 23.7868 17.3811 23.268C17.3528 21.1089 17.3856 18.9499 17.3558 16.7908C17.3483 16.2302 17.4303 15.9663 18.0874 15.9245C19.3211 15.844 20.5564 15.6889 21.735 15.2714C22.3608 15.0508 23.1758 14.9091 23.1907 14.1024C23.2056 13.2406 22.3548 13.093 21.7111 12.8753C20.458 12.4533 19.1483 12.3251 17.8415 12.1969C17.0176 12.1164 17.4661 11.4901 17.3796 11.1069C17.2798 10.6715 17.5391 10.5701 17.9369 10.5776C19.0529 10.597 20.169 10.5672 21.285 10.5925C21.7871 10.6044 21.9957 10.4598 21.9763 9.92004C21.9391 8.87928 21.9331 7.83406 21.9778 6.7933C22.0032 6.21477 21.7871 6.08505 21.2522 6.09101C19.1677 6.11785 17.0831 6.10294 15.0001 6.10294Z"
|
||||
fill="#28B478"
|
||||
/>
|
||||
<path
|
||||
d="M15.0001 6.10292C17.0831 6.10292 19.1677 6.11783 21.2507 6.09248C21.7856 6.08651 22.0017 6.21624 21.9764 6.79476C21.9317 7.83552 21.9376 8.87926 21.9749 9.9215C21.9942 10.4613 21.7856 10.6059 21.2835 10.594C20.1675 10.5671 19.0515 10.5984 17.9354 10.5791C17.5376 10.5716 17.2783 10.673 17.3782 11.1084C17.4661 11.4916 17.0161 12.1178 17.8401 12.1983C19.1468 12.3266 20.458 12.4563 21.7097 12.8768C22.3533 13.093 23.2056 13.2406 23.1892 14.1039C23.1743 14.9106 22.3593 15.0507 21.7335 15.2729C20.5534 15.6904 19.3182 15.847 18.0859 15.926C17.4273 15.9692 17.3469 16.2316 17.3543 16.7923C17.3841 18.9513 17.3514 21.1104 17.3797 23.2694C17.3856 23.7868 17.2426 23.9583 16.7166 23.9419C15.5767 23.9061 14.4339 23.9076 13.294 23.9419C12.7532 23.9583 12.5699 23.8122 12.5788 23.2396C12.6131 21.0567 12.5729 18.8708 12.6042 16.6879C12.6116 16.1407 12.4552 15.9722 11.9083 15.9334C10.6731 15.8455 9.44383 15.671 8.25778 15.2833C8.14007 15.2446 8.01342 15.2222 7.90613 15.1655C7.41443 14.9061 6.74392 14.7674 6.76925 14.0502C6.7916 13.3927 7.39059 13.2048 7.8957 13.008C9.10858 12.5368 10.384 12.3594 11.6729 12.261C12.5252 12.1969 12.8873 11.6019 12.5818 10.8102C12.4656 10.5075 12.2168 10.594 12.0186 10.591C10.9026 10.5776 9.78505 10.5612 8.67051 10.5955C8.13709 10.6119 7.9866 10.4165 8.00299 9.90659C8.03577 8.8897 8.04173 7.86981 8.0015 6.85441C7.97766 6.27439 8.15348 6.08502 8.74948 6.09397C10.8325 6.12826 12.9156 6.10739 15.0001 6.10739C15.0001 6.1059 15.0001 6.10441 15.0001 6.10292ZM14.1955 15.5219C16.2338 15.5443 18.1619 15.4295 20.0751 15.1059C20.8335 14.9777 21.583 14.8002 22.2744 14.4469C22.7318 14.2128 22.7244 13.9503 22.2788 13.7133C22.0613 13.597 21.8289 13.506 21.5949 13.43C20.4819 13.0646 19.3226 12.9498 18.1694 12.7873C17.5555 12.7008 17.262 12.7679 17.3692 13.4478C17.4482 13.9444 17.2202 14.0786 16.7419 14.0637C15.6512 14.0323 14.5576 14.0264 13.4684 14.0681C12.8455 14.092 12.4656 13.9891 12.5893 13.2451C12.6369 12.9588 12.5893 12.6993 12.1631 12.7515C10.91 12.9066 9.64349 12.9901 8.43956 13.4121C8.03279 13.5552 7.41145 13.6089 7.4189 14.1039C7.42486 14.5333 8.02832 14.6183 8.4187 14.7406C10.3289 15.34 12.3151 15.4145 14.1955 15.5219Z"
|
||||
fill="#FDFEFE"
|
||||
/>
|
||||
<path
|
||||
d="M14.1954 15.5219C12.315 15.416 10.3303 15.34 8.4171 14.742C8.02672 14.6198 7.42326 14.5333 7.4173 14.1054C7.40985 13.6118 8.03268 13.5567 8.43796 13.4135C9.6419 12.9915 10.9084 12.9095 12.1615 12.753C12.5877 12.7008 12.6353 12.9587 12.5877 13.2465C12.464 13.9891 12.8439 14.0934 13.4668 14.0696C14.5575 14.0278 15.6496 14.0338 16.7403 14.0651C17.2186 14.0785 17.4451 13.9458 17.3676 13.4493C17.2604 12.7694 17.5539 12.7023 18.1678 12.7888C19.3225 12.9498 20.4803 13.0661 21.5933 13.4314C21.8273 13.5075 22.0612 13.5999 22.2772 13.7147C22.7213 13.9518 22.7302 14.2142 22.2728 14.4483C21.5814 14.8017 20.8319 14.9791 20.0735 15.1074C18.1618 15.4294 16.2337 15.5442 14.1954 15.5219Z"
|
||||
fill="#28B478"
|
||||
/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_759_93254">
|
||||
<rect width="30" height="30" fill="white" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
import React from "react";
|
||||
import Icons from "../../Icons";
|
||||
|
||||
export default function InputCom({
|
||||
label,
|
||||
type,
|
||||
name,
|
||||
placeholder,
|
||||
iconName,
|
||||
inputHandler,
|
||||
value,
|
||||
}) {
|
||||
return (
|
||||
<div className="input-com">
|
||||
{label && (
|
||||
<label
|
||||
className="input-label text-dark-gray dark:text-white text-xl font-bold block mb-2.5"
|
||||
htmlFor={name}
|
||||
>
|
||||
{label}
|
||||
</label>
|
||||
)}
|
||||
<div className="input-wrapper border border-light-purple dark:border-[#5356fb29] dark:border-[#5356fb29] w-full rounded-[50px] h-[58px] overflow-hidden relative ">
|
||||
<input
|
||||
placeholder={placeholder}
|
||||
value={value}
|
||||
onChange={inputHandler}
|
||||
className="input-field placeholder:text-base text-bese px-6 text-dark-gray dark:text-white w-full h-full bg-[#FAFAFA] dark:bg-[#11131F] focus:ring-0 focus:outline-none"
|
||||
type={type}
|
||||
id={name}
|
||||
/>
|
||||
{iconName && (
|
||||
<div className="absolute right-6 bottom-[19px] z-10">
|
||||
<Icons name={iconName} />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
import React, { useEffect } from "react";
|
||||
|
||||
export default function ModalCom({ action, children, situation }) {
|
||||
useEffect(() => {
|
||||
if (situation) {
|
||||
document.body.style.overflowY = "hidden";
|
||||
}
|
||||
return () => {
|
||||
document.body.style.overflowY = "unset";
|
||||
};
|
||||
});
|
||||
|
||||
return (
|
||||
<div className="modal-com">
|
||||
<div
|
||||
onClick={action}
|
||||
className="fixed top-0 left-0 w-full lg:h-[100vh] h-full bg-black bg-opacity-40 backdrop-filter backdrop-blur-sm z-50"
|
||||
></div>
|
||||
<div className="children-element fixed lg:h-100vh h-full z-[99999999999999] w-full lg:w-auto ">
|
||||
{children && children}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
import { useEffect } from "react";
|
||||
import { useLocation } from "react-router-dom";
|
||||
|
||||
const ScrollToTop = ({ children }) => {
|
||||
const location = useLocation();
|
||||
useEffect(() => {
|
||||
window.scrollTo(0, 0);
|
||||
}, [location]);
|
||||
|
||||
return <>{children}</>;
|
||||
};
|
||||
|
||||
export default ScrollToTop;
|
||||
@@ -0,0 +1,25 @@
|
||||
import React from "react";
|
||||
import Icons from "./Icons";
|
||||
|
||||
export default function SearchCom({ className, inputClasses }) {
|
||||
return (
|
||||
<div
|
||||
className={`w-full h-[48px] pl-8 flex rounded-full overflow-hidden bg-white dark:bg-dark-white ${
|
||||
className || ""
|
||||
}`}
|
||||
>
|
||||
<div className="w-6 h-full flex justify-center items-center mr-2.5 text-dark-gray dark:text-light-gray">
|
||||
<Icons name="deep-search" />
|
||||
</div>
|
||||
<div className="flex-1 h-full">
|
||||
<input
|
||||
className={`w-full h-full focus:outline-0 focus:ring-0 dark:bg-dark-white dark:text-white ${
|
||||
inputClasses || ""
|
||||
}`}
|
||||
type="text"
|
||||
placeholder="Search items, collections..."
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
import React, { useState } from "react";
|
||||
import useToggle from "../../../hooks/useToggle";
|
||||
|
||||
function SelectBox({ datas = [], className, action, contentBodyClasses }) {
|
||||
const [item, setItem] = useState(datas[0]);
|
||||
// custom hook
|
||||
const [toggle, setToggle] = useToggle(false);
|
||||
const handler = (e, value) => {
|
||||
e.preventDefault();
|
||||
if (action) {
|
||||
action(value);
|
||||
}
|
||||
setItem(value);
|
||||
setToggle.set(false);
|
||||
};
|
||||
return (
|
||||
<>
|
||||
{datas.length > 0 && (
|
||||
<div
|
||||
className={`drop-down-com relative cursor-pointer ${className || ""}`}
|
||||
>
|
||||
<div
|
||||
onClick={() => setToggle.toggle()}
|
||||
className="flex space-x-1 items-center"
|
||||
>
|
||||
<span className="text-sm text-thin-light-gray">{item}</span>
|
||||
<span className="text-[#374557] dark:text-thin-light-gray">
|
||||
<svg
|
||||
width="13"
|
||||
height="6"
|
||||
viewBox="0 0 13 6"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className="fill-current"
|
||||
>
|
||||
<path
|
||||
opacity="0.7"
|
||||
d="M12.4124 0.247421C12.3327 0.169022 12.2379 0.106794 12.1335 0.0643287C12.0291 0.0218632 11.917 0 11.8039 0C11.6908 0 11.5787 0.0218632 11.4743 0.0643287C11.3699 0.106794 11.2751 0.169022 11.1954 0.247421L7.27012 4.07837C7.19045 4.15677 7.09566 4.219 6.99122 4.26146C6.88678 4.30393 6.77476 4.32579 6.66162 4.32579C6.54848 4.32579 6.43646 4.30393 6.33202 4.26146C6.22758 4.219 6.13279 4.15677 6.05312 4.07837L2.12785 0.247421C2.04818 0.169022 1.95338 0.106794 1.84895 0.0643287C1.74451 0.0218632 1.63249 0 1.51935 0C1.40621 0 1.29419 0.0218632 1.18975 0.0643287C1.08531 0.106794 0.990517 0.169022 0.910844 0.247421C0.751218 0.404141 0.661621 0.616141 0.661621 0.837119C0.661621 1.0581 0.751218 1.2701 0.910844 1.42682L4.84468 5.26613C5.32677 5.73605 5.98027 6 6.66162 6C7.34297 6 7.99647 5.73605 8.47856 5.26613L12.4124 1.42682C12.572 1.2701 12.6616 1.0581 12.6616 0.837119C12.6616 0.616141 12.572 0.404141 12.4124 0.247421Z"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</div>
|
||||
{toggle && (
|
||||
<div
|
||||
onClick={() => setToggle.toggle()}
|
||||
className="w-full h-screen fixed top-0 left-0 z-10"
|
||||
></div>
|
||||
)}
|
||||
|
||||
<div
|
||||
style={{ boxShadow: "0px 4px 87px 0px #0000002B" }}
|
||||
className={`drop-down-content w-[120px] bg-white dark:bg-dark-white rounded-[4px] p-3 absolute right-0 top-[100%] z-20 ${
|
||||
toggle ? "active" : ""
|
||||
} ${contentBodyClasses || ""}`}
|
||||
>
|
||||
<ul className="flex flex-col space-y-3">
|
||||
{datas.map((value) => (
|
||||
<li
|
||||
key={value}
|
||||
onClick={(e) => handler(e, value)}
|
||||
className="text-thin-light-gray tracking-wide text-sm cursor-pointer"
|
||||
>
|
||||
{value}
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default SelectBox;
|
||||
@@ -0,0 +1,19 @@
|
||||
import React from "react";
|
||||
import Slider from "react-slick";
|
||||
import "slick-carousel/slick/slick-theme.css";
|
||||
import "slick-carousel/slick/slick.css";
|
||||
|
||||
export default function SliderCom(props) {
|
||||
const { asNavFor, className, settings, children, selector } = props;
|
||||
|
||||
return (
|
||||
<Slider
|
||||
asNavFor={asNavFor || false}
|
||||
ref={selector}
|
||||
className={`${className || ""}`}
|
||||
{...settings}
|
||||
>
|
||||
{children}
|
||||
</Slider>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
import React from "react";
|
||||
|
||||
export default function SwitchCom({ className, value, handler }) {
|
||||
return (
|
||||
<>
|
||||
<div
|
||||
onClick={handler}
|
||||
className={`switch-btn ${
|
||||
value ? "active" : ""
|
||||
} w-[44.04px] h-[20.85px] rounded-full cursor-pointer ${
|
||||
className || ""
|
||||
}`}
|
||||
>
|
||||
<div className="inner-circle w-[17.76px] h-[17.76px] bg-white shadow-md rounded-full"></div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import React from "react";
|
||||
import { ToastContainer } from "react-toastify";
|
||||
import "react-toastify/dist/ReactToastify.css";
|
||||
|
||||
export default function Toaster() {
|
||||
return (
|
||||
<div>
|
||||
<ToastContainer autoClose={2000} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user