update card and logo
هذا الالتزام موجود في:
@@ -411,8 +411,15 @@ export default function DashboardGrid() {
|
||||
}}>
|
||||
<div className="p-5 flex flex-col items-center h-full">
|
||||
{card.badge && (
|
||||
<div className="absolute top-4 right-4 bg-green-500 text-white px-3 py-1 rounded-full text-xs font-bold transform rotate-12 shadow-lg">
|
||||
{card.badge}
|
||||
<div className="absolute top-0 right-0 overflow-hidden w-32 h-32 pointer-events-none">
|
||||
<div className="absolute top-5 right-[-35px] w-40 bg-green-600 text-white text-center py-2 px-2 shadow-lg transform rotate-45">
|
||||
<div className="flex items-center justify-center gap-1 text-xs font-bold whitespace-nowrap">
|
||||
<svg className="w-3 h-3" fill="currentColor" viewBox="0 0 20 20">
|
||||
<path fillRule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clipRule="evenodd" />
|
||||
</svg>
|
||||
<span>{card.badge}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
<MultiRingCircularProgress
|
||||
|
@@ -37,8 +37,8 @@ function ProgressMetrics() {
|
||||
{/* 60% Progress */}
|
||||
<div className="w-[100%]">
|
||||
<div className="flex items-center justify-between">
|
||||
<div className="text-lg 2xl:text-4xl font-bold text-gray-900 mb-1">60%</div>
|
||||
<div className="text-lg 2xl:text-3xl font-bold text-gray-900 mb-1">120/250 <span className="text-gray-500">links</span></div>
|
||||
<div className="text-lg 3xl:text-4xl font-bold text-gray-900 mb-1">60%</div>
|
||||
<div className="text-lg 3xl:text-3xl font-bold text-gray-900 mb-1">120/250 <span className="text-gray-500">links</span></div>
|
||||
</div>
|
||||
<div className="text-xs 2xl:text-sm text-gray-500 mb-2">until content publishing + LLM seeding unlocked</div>
|
||||
{/* Progress bar */}
|
||||
|
@@ -18,6 +18,7 @@ import {
|
||||
import logo from "../../assets/logo.png";
|
||||
import { useEffect, useState } from "react";
|
||||
import { Link } from "react-router-dom";
|
||||
import Logo from "./Logo";
|
||||
|
||||
const Header = () => {
|
||||
const location = useLocation();
|
||||
@@ -53,11 +54,12 @@ const Header = () => {
|
||||
{/* Left: Logo */}
|
||||
<div className="flex items-center justify-between w-full md:w-auto">
|
||||
<Link to="/" className="flex items-center space-x-2">
|
||||
<img
|
||||
{/* <img
|
||||
src={logo}
|
||||
alt="logo"
|
||||
className="w-auto h-8 sm:h-10 hover:scale-105 transition-all duration-300"
|
||||
/>
|
||||
/> */}
|
||||
<Logo />
|
||||
</Link>
|
||||
|
||||
{/* Mobile menu toggle */}
|
||||
|
61
src/components/shared/Logo.tsx
Normal file
61
src/components/shared/Logo.tsx
Normal file
@@ -0,0 +1,61 @@
|
||||
|
||||
|
||||
const Logo = () => {
|
||||
return (
|
||||
<svg width="143" height="27" viewBox="0 0 143 27" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M142.726 21H139.92V20.4958C139.92 20.1159 140.022 19.7214 140.227 19.3122C140.3 19.1953 140.337 19.0857 140.337 18.9834C140.337 18.8957 140.285 18.83 140.183 18.7861L140.117 18.7642C140.03 18.7642 139.964 18.8008 139.92 18.8738C139.891 18.9469 139.869 18.9907 139.854 19.0053C139.401 19.6775 138.883 20.2109 138.298 20.6054C137.714 20.9854 137.012 21.1753 136.194 21.1753C135.215 21.1753 134.338 20.9123 133.564 20.3862C132.804 19.8602 132.212 19.1442 131.788 18.2382C131.364 17.3322 131.152 16.3239 131.152 15.2133C131.152 14.1027 131.364 13.0945 131.788 12.1885C132.212 11.2825 132.804 10.5664 133.564 10.0404C134.338 9.51431 135.215 9.25128 136.194 9.25128C137.056 9.25128 137.794 9.44855 138.408 9.8431C139.036 10.223 139.518 10.7418 139.854 11.3994C139.971 11.6478 140.103 11.7355 140.249 11.6624C140.322 11.6186 140.359 11.5528 140.359 11.4651C140.359 11.3774 140.315 11.2459 140.227 11.0706C140.022 10.6614 139.92 10.2596 139.92 9.86502V5.21814H142.726V21ZM136.851 18.6327C137.451 18.6327 137.984 18.4793 138.452 18.1724C138.919 17.8655 139.277 17.4491 139.526 16.923C139.789 16.3969 139.92 15.827 139.92 15.2133C139.92 14.5996 139.789 14.0297 139.526 13.5036C139.277 12.9775 138.919 12.5611 138.452 12.2542C137.984 11.9473 137.451 11.7939 136.851 11.7939C135.916 11.7939 135.2 12.1227 134.703 12.7803C134.207 13.4232 133.958 14.2343 133.958 15.2133C133.958 16.1924 134.207 17.0107 134.703 17.6683C135.2 18.3112 135.916 18.6327 136.851 18.6327Z" fill="url(#paint0_linear_11900_10493)" />
|
||||
<path d="M126.44 11.9035C126.499 11.9035 126.55 11.8816 126.594 11.8377C126.638 11.7793 126.667 11.7282 126.681 11.6843C126.945 11.0852 127.215 10.6176 127.492 10.2815C127.77 9.94539 128.172 9.68966 128.698 9.51431C129.224 9.33895 129.94 9.25128 130.846 9.25128V12.1008C130.671 12.0862 130.43 12.0789 130.123 12.0789C128.822 12.0789 127.916 12.3857 127.405 12.9995C126.893 13.5986 126.638 14.5923 126.638 15.9805V21H123.832V9.42663H126.638V10.0623C126.638 10.5153 126.528 10.961 126.309 11.3994C126.25 11.5163 126.221 11.6112 126.221 11.6843C126.221 11.8012 126.287 11.8743 126.418 11.9035H126.44Z" fill="url(#paint1_linear_11900_10493)" />
|
||||
<path d="M116.85 9.25128C118.019 9.25128 119.042 9.51431 119.918 10.0404C120.795 10.5664 121.467 11.2825 121.935 12.1885C122.403 13.0945 122.636 14.1027 122.636 15.2133C122.636 16.3239 122.403 17.3322 121.935 18.2382C121.467 19.1442 120.795 19.8602 119.918 20.3862C119.042 20.9123 118.019 21.1753 116.85 21.1753C115.681 21.1753 114.658 20.9123 113.781 20.3862C112.904 19.8602 112.232 19.1442 111.764 18.2382C111.297 17.3322 111.063 16.3239 111.063 15.2133C111.063 14.1027 111.297 13.0945 111.764 12.1885C112.232 11.2825 112.904 10.5664 113.781 10.0404C114.658 9.51431 115.681 9.25128 116.85 9.25128ZM116.85 18.6327C117.77 18.6327 118.494 18.3112 119.02 17.6683C119.56 17.0107 119.831 16.1924 119.831 15.2133C119.831 14.2343 119.56 13.4232 119.02 12.7803C118.494 12.1227 117.77 11.7939 116.85 11.7939C115.929 11.7939 115.198 12.1227 114.658 12.7803C114.132 13.4232 113.869 14.2343 113.869 15.2133C113.869 16.1924 114.132 17.0107 114.658 17.6683C115.198 18.3112 115.929 18.6327 116.85 18.6327Z" fill="url(#paint2_linear_11900_10493)" />
|
||||
<path d="M98.1925 17.4052C98.2655 17.7267 98.3021 18.1943 98.3021 18.8081C98.3021 19.0273 98.3897 19.1369 98.5651 19.1369C98.7404 19.1369 98.8281 19.0273 98.8281 18.8081C98.8281 18.1943 98.8646 17.7267 98.9377 17.4052L100.669 9.42663H104.001L105.733 17.4052C105.806 17.7267 105.842 18.1943 105.842 18.8081C105.842 19.0273 105.93 19.1369 106.105 19.1369C106.281 19.1369 106.368 19.0273 106.368 18.8081C106.368 18.1943 106.405 17.7267 106.478 17.4052L108.297 9.42663H111.278L107.947 21H104.264L102.708 13.6132C102.635 13.2625 102.598 12.7437 102.598 12.0569C102.598 11.8377 102.511 11.7282 102.335 11.7282C102.16 11.7282 102.072 11.8377 102.072 12.0569C102.072 12.7437 102.036 13.2625 101.963 13.6132L100.406 21H96.7239L93.3922 9.42663H96.3732L98.1925 17.4052Z" fill="url(#paint3_linear_11900_10493)" />
|
||||
<path d="M86.1631 16.9012C86.28 17.2519 86.3385 17.6903 86.3385 18.2163C86.3385 18.4648 86.4261 18.589 86.6015 18.589C86.7769 18.589 86.8645 18.4648 86.8645 18.2163C86.8645 17.7341 86.9303 17.2957 87.0618 16.9012L89.5387 9.42674H92.5197L87.6098 22.3372C87.2152 23.3747 86.7184 24.1126 86.1193 24.551C85.5201 24.9894 84.7164 25.2086 83.7082 25.2086H81.6039V22.7536H82.5684C83.2113 22.7536 83.657 22.739 83.9054 22.7098C84.1685 22.6806 84.3657 22.6075 84.4972 22.4906C84.6434 22.3737 84.7676 22.1618 84.8699 21.8549L85.111 21.1535L80.5956 9.42674H83.5766L86.1631 16.9012Z" fill="url(#paint4_linear_11900_10493)" />
|
||||
<path d="M80.816 15.06C80.816 15.2938 80.7941 15.5787 80.7503 15.9148H72.3333C72.4356 16.7916 72.757 17.4784 73.2977 17.9752C73.8384 18.4721 74.5471 18.7205 75.4239 18.7205C76.6075 18.7205 77.3893 18.136 77.7692 16.967H80.6188C80.3557 18.2383 79.7858 19.2612 78.909 20.0356C78.0469 20.7955 76.8779 21.1754 75.402 21.1754C74.1891 21.1754 73.1443 20.9197 72.2675 20.4083C71.3908 19.8968 70.7259 19.1954 70.2729 18.304C69.8199 17.398 69.5934 16.3678 69.5934 15.2134C69.5934 14.0152 69.8272 12.9703 70.2948 12.079C70.7624 11.173 71.4273 10.4789 72.2894 9.99663C73.1662 9.4998 74.1891 9.25138 75.3581 9.25138C76.308 9.25138 77.192 9.45596 78.0104 9.86512C78.8433 10.2597 79.5155 10.8953 80.0269 11.7721C80.553 12.6343 80.816 13.7302 80.816 15.06ZM78.0104 13.9859C77.9519 13.2553 77.7035 12.6635 77.2651 12.2105C76.8267 11.7575 76.2203 11.531 75.4458 11.531C73.7799 11.531 72.779 12.3493 72.4429 13.9859H78.0104Z" fill="url(#paint5_linear_11900_10493)" />
|
||||
<path d="M66.9397 21.0001L62.3147 14.6216L61.0653 16.0244V21.0001H58.0843V5.56895H61.0653V10.4131C61.0653 10.793 61.0215 11.0926 60.9338 11.3118C60.8461 11.531 60.7073 11.7721 60.5174 12.0351C60.4735 12.0936 60.4516 12.1593 60.4516 12.2324C60.4516 12.3055 60.4808 12.3639 60.5393 12.4078C60.5685 12.437 60.6123 12.4516 60.6708 12.4516C60.7585 12.4516 60.8388 12.4151 60.9119 12.342L66.7643 5.56895H70.3591L64.2655 12.4297L70.7098 21.0001H66.9397Z" fill="url(#paint6_linear_11900_10493)" />
|
||||
<path d="M54.5013 15.0598C54.5013 15.2936 54.4794 15.5786 54.4356 15.9147H46.0186C46.1209 16.7915 46.4423 17.4783 46.983 17.9751C47.5237 18.4719 48.2324 18.7203 49.1092 18.7203C50.2928 18.7203 51.0746 18.1358 51.4545 16.9668H54.304C54.041 18.2381 53.4711 19.261 52.5943 20.0355C51.7322 20.7954 50.5632 21.1753 49.0873 21.1753C47.8744 21.1753 46.8296 20.9196 45.9528 20.4081C45.076 19.8967 44.4112 19.1953 43.9582 18.3039C43.5052 17.3979 43.2787 16.3677 43.2787 15.2133C43.2787 14.015 43.5125 12.9702 43.9801 12.0788C44.4477 11.1728 45.1126 10.4787 45.9747 9.99649C46.8515 9.49965 47.8744 9.25123 49.0434 9.25123C49.9933 9.25123 50.8773 9.45581 51.6956 9.86497C52.5286 10.2595 53.2008 10.8952 53.7122 11.7719C54.2383 12.6341 54.5013 13.7301 54.5013 15.0598ZM51.6956 13.9858C51.6372 13.2551 51.3888 12.6633 50.9504 12.2103C50.512 11.7573 49.9056 11.5308 49.1311 11.5308C47.4652 11.5308 46.4643 12.3492 46.1282 13.9858H51.6956Z" fill="url(#paint7_linear_11900_10493)" />
|
||||
<path d="M37.9348 9.25123C39.2208 9.25123 40.2363 9.6677 40.9816 10.5006C41.7269 11.3336 42.0995 12.5537 42.0995 14.1611V20.9999H39.2938V15.1256C39.2938 13.8689 39.1258 12.9994 38.7897 12.5172C38.4536 12.035 37.9056 11.7939 37.1457 11.7939C36.6051 11.7939 36.0936 11.9838 35.6114 12.3638C35.1438 12.7437 34.7638 13.2771 34.4716 13.9639C34.1793 14.6507 34.0332 15.4252 34.0332 16.2873V20.9999H31.2275V9.42659H34.0332V10.1499C34.0332 10.486 34.004 10.771 33.9455 11.0048C33.8871 11.2386 33.7994 11.4797 33.6825 11.7281C33.6094 11.9035 33.5729 12.0204 33.5729 12.0788C33.5729 12.2103 33.6313 12.2834 33.7483 12.298H33.814C33.9163 12.298 34.004 12.2103 34.077 12.035C34.3985 11.3189 34.8954 10.676 35.5675 10.1061C36.2397 9.53618 37.0288 9.25123 37.9348 9.25123Z" fill="url(#paint8_linear_11900_10493)" />
|
||||
<path d="M14.2677 0.0998535C10.7204 0.0998535 7.38546 1.48106 4.87711 3.9894C2.36876 6.49775 0.987061 9.83314 0.987061 13.3805C0.987061 16.9278 2.36876 20.2627 4.87711 22.7711C7.38546 25.2794 10.7204 26.6611 14.2677 26.6611C15.0611 26.6611 15.843 26.5923 16.6082 26.4566L15.1467 21.9856C12.6478 22.2377 10.0592 21.4092 8.1491 19.4991C4.77558 16.1256 4.77509 10.6354 8.1491 7.2614C11.5226 3.88788 17.0128 3.88788 20.3868 7.2614C22.3578 9.23242 23.1769 11.925 22.8456 14.4967L27.2769 16.0745C27.4572 15.198 27.5493 14.2962 27.5488 13.3805C27.5488 9.83314 26.1671 6.49775 23.6588 3.9894C21.1504 1.48106 17.815 0.0998535 14.2677 0.0998535Z" fill="#4C60E5" />
|
||||
<path d="M14.2673 8.91626C16.6704 8.91626 18.6293 10.8147 18.7273 13.1936L14.8289 11.8059C14.2282 11.5922 13.5581 11.738 13.1013 12.1829C12.6446 12.6279 12.4804 13.2945 12.6785 13.9006L13.9636 17.8333C11.6398 17.6769 9.80347 15.7436 9.80347 13.3801C9.80372 10.9148 11.802 8.91648 14.2673 8.91626ZM18.4734 14.8782C18.0114 16.1754 16.9676 17.1955 15.655 17.6243L14.2683 13.3811L18.4734 14.8782Z" fill="#4C60E5" />
|
||||
<path d="M27.2229 17.9943L14.2678 13.3806L18.5946 26.6153C18.735 27.0447 19.3327 27.0713 19.5104 26.6556L21.0487 23.0575C21.1031 22.9303 21.2688 22.8982 21.3668 22.9962L24.6862 26.3156C24.9243 26.5537 25.3104 26.5537 25.5489 26.3156L27.0226 24.842C27.2606 24.6039 27.2606 24.2177 27.0226 23.9793L23.6993 20.656C23.6004 20.5571 23.6343 20.3897 23.7636 20.3366L27.2448 18.9083C27.6605 18.7379 27.6464 18.1445 27.2229 17.9938V17.9943Z" fill="#49A7FF" />
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_11900_10493" x1="31.2275" y1="15.2133" x2="146.919" y2="15.2133" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#4C60E5" />
|
||||
<stop offset="1" stop-color="#498FFF" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_11900_10493" x1="31.2275" y1="15.2133" x2="146.919" y2="15.2133" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#4C60E5" />
|
||||
<stop offset="1" stop-color="#498FFF" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear_11900_10493" x1="31.2275" y1="15.2133" x2="146.919" y2="15.2133" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#4C60E5" />
|
||||
<stop offset="1" stop-color="#498FFF" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear_11900_10493" x1="31.2275" y1="15.2133" x2="146.919" y2="15.2133" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#4C60E5" />
|
||||
<stop offset="1" stop-color="#498FFF" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint4_linear_11900_10493" x1="31.2275" y1="15.2133" x2="146.919" y2="15.2133" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#4C60E5" />
|
||||
<stop offset="1" stop-color="#498FFF" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint5_linear_11900_10493" x1="31.2275" y1="15.2133" x2="146.919" y2="15.2133" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#4C60E5" />
|
||||
<stop offset="1" stop-color="#498FFF" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint6_linear_11900_10493" x1="31.2275" y1="15.2133" x2="146.919" y2="15.2133" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#4C60E5" />
|
||||
<stop offset="1" stop-color="#498FFF" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint7_linear_11900_10493" x1="31.2275" y1="15.2133" x2="146.919" y2="15.2133" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#4C60E5" />
|
||||
<stop offset="1" stop-color="#498FFF" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint8_linear_11900_10493" x1="31.2275" y1="15.2133" x2="146.919" y2="15.2133" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#4C60E5" />
|
||||
<stop offset="1" stop-color="#498FFF" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
||||
)
|
||||
}
|
||||
|
||||
export default Logo
|
المرجع في مشكلة جديدة
حظر مستخدم