EverydayTech Platform - Developer Reference
Complete Source Code Documentation - All Applications
Loading...
Searching...
No Matches
CartridgeWorldLogo.tsx
Go to the documentation of this file.
1interface CartridgeWorldLogoProps {
2 className?: string;
3 width?: number;
4 height?: number;
5}
6
7export default function CartridgeWorldLogo({
8 className = "",
9 width = 320,
10 height = 96
11}: CartridgeWorldLogoProps) {
12 return (
13 <div className={`relative ${className}`}>
14 <svg
15 width={width}
16 height={height}
17 viewBox="0 0 320 96"
18 fill="none"
19 xmlns="http://www.w3.org/2000/svg"
20 className="filter drop-shadow-lg"
21 >
22 {/* Background */}
23 <rect
24 width="320"
25 height="96"
26 rx="12"
27 fill="url(#backgroundGradient)"
28 fillOpacity="0.95"
29 />
30
31 {/* Cartridge Icon */}
32 <g transform="translate(16, 20)">
33 {/* Cartridge body */}
34 <rect x="0" y="12" width="24" height="32" rx="2" fill="url(#cartridgeGradient)" />
35 {/* Cartridge top */}
36 <rect x="2" y="8" width="20" height="8" rx="1" fill="#1e40af" />
37 {/* Cartridge label */}
38 <rect x="4" y="16" width="16" height="4" rx="1" fill="white" fillOpacity="0.8" />
39 <rect x="4" y="24" width="12" height="2" rx="1" fill="white" fillOpacity="0.6" />
40 </g>
41
42 {/* "CARTRIDGE" text */}
43 <text
44 x="60"
45 y="45"
46 fontSize="28"
47 fontWeight="bold"
48 fill="url(#textGradient1)"
49 fontFamily="Arial, sans-serif"
50 letterSpacing="2px"
51 >
52 CARTRIDGE
53 </text>
54
55 {/* "WORLD" text */}
56 <text
57 x="60"
58 y="72"
59 fontSize="24"
60 fontWeight="bold"
61 fill="url(#textGradient2)"
62 fontFamily="Arial, sans-serif"
63 letterSpacing="1.5px"
64 >
65 WORLD
66 </text>
67
68 {/* "EverydayPOS" subtitle */}
69 <text
70 x="210"
71 y="60"
72 fontSize="12"
73 fontWeight="normal"
74 fill="#4b5563"
75 fontFamily="Arial, sans-serif"
76 letterSpacing="1px"
77 >
78 EverydayPOS
79 </text>
80
81 {/* Decorative elements */}
82 <circle cx="280" cy="30" r="3" fill="url(#accentGradient1)" />
83 <circle cx="290" cy="40" r="2" fill="url(#accentGradient2)" />
84 <circle cx="285" cy="50" r="2.5" fill="url(#accentGradient3)" />
85
86 {/* Gradients */}
87 <defs>
88 <linearGradient id="backgroundGradient" x1="0%" y1="0%" x2="100%" y2="100%">
89 <stop offset="0%" stopColor="#f8fafc" />
90 <stop offset="100%" stopColor="#e2e8f0" />
91 </linearGradient>
92
93 <linearGradient id="cartridgeGradient" x1="0%" y1="0%" x2="100%" y2="100%">
94 <stop offset="0%" stopColor="#3b82f6" />
95 <stop offset="100%" stopColor="#1d4ed8" />
96 </linearGradient>
97
98 <linearGradient id="textGradient1" x1="0%" y1="0%" x2="100%" y2="0%">
99 <stop offset="0%" stopColor="#1f2937" />
100 <stop offset="100%" stopColor="#374151" />
101 </linearGradient>
102
103 <linearGradient id="textGradient2" x1="0%" y1="0%" x2="100%" y2="0%">
104 <stop offset="0%" stopColor="#1e40af" />
105 <stop offset="100%" stopColor="#3b82f6" />
106 </linearGradient>
107
108 <linearGradient id="accentGradient1" x1="0%" y1="0%" x2="100%" y2="100%">
109 <stop offset="0%" stopColor="#10b981" />
110 <stop offset="100%" stopColor="#047857" />
111 </linearGradient>
112
113 <linearGradient id="accentGradient2" x1="0%" y1="0%" x2="100%" y2="100%">
114 <stop offset="0%" stopColor="#8b5cf6" />
115 <stop offset="100%" stopColor="#7c3aed" />
116 </linearGradient>
117
118 <linearGradient id="accentGradient3" x1="0%" y1="0%" x2="100%" y2="100%">
119 <stop offset="0%" stopColor="#f59e0b" />
120 <stop offset="100%" stopColor="#d97706" />
121 </linearGradient>
122 </defs>
123 </svg>
124 </div>
125 );
126}