Skip to content

Commit acc9966

Browse files
updated learn.bitbybit.dev homepage to be more like main site.
1 parent 338076f commit acc9966

File tree

3 files changed

+746
-84
lines changed

3 files changed

+746
-84
lines changed

docs/src/components/Icons/index.tsx

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,3 +308,46 @@ export const MonacoIcon: React.FC<IconProps> = ({ size = defaultSize, color = de
308308
<path d="M12 44V44.1" stroke={color} strokeWidth="2" strokeLinecap="round" opacity="0.5"/>
309309
</svg>
310310
);
311+
312+
export const ShopifyBagIcon: React.FC<IconProps> = ({ size = defaultSize, color = defaultColor, className }) => (
313+
<svg width={size} height={size} viewBox="0 0 64 64" fill="none" className={className}>
314+
{/* Shopping bag */}
315+
<path d="M16 20L20 52H44L48 20H16Z" stroke={color} strokeWidth="2.5" strokeLinejoin="round"/>
316+
{/* Handles */}
317+
<path d="M24 20V16C24 12 28 8 32 8C36 8 40 12 40 16V20" stroke={color} strokeWidth="2.5" strokeLinecap="round"/>
318+
{/* 3D cube inside bag */}
319+
<path d="M32 28L40 32V40L32 44L24 40V32L32 28Z" stroke={color} strokeWidth="2" strokeLinejoin="round"/>
320+
<path d="M32 28V36" stroke={color} strokeWidth="1.5"/>
321+
<path d="M24 32L32 36L40 32" stroke={color} strokeWidth="1.5"/>
322+
<circle cx="32" cy="36" r="2" fill={color}/>
323+
</svg>
324+
);
325+
326+
export const NoCodeIcon: React.FC<IconProps> = ({ size = defaultSize, color = defaultColor, className }) => (
327+
<svg width={size} height={size} viewBox="0 0 64 64" fill="none" className={className}>
328+
{/* Canvas/screen */}
329+
<rect x="10" y="12" width="44" height="36" rx="4" stroke={color} strokeWidth="2.5"/>
330+
{/* Control panel on right */}
331+
<path d="M40 12V48" stroke={color} strokeWidth="2"/>
332+
{/* Sliders */}
333+
<path d="M44 20H50" stroke={color} strokeWidth="2" strokeLinecap="round"/>
334+
<circle cx="46" cy="20" r="2" fill={color}/>
335+
<path d="M44 28H50" stroke={color} strokeWidth="2" strokeLinecap="round"/>
336+
<circle cx="48" cy="28" r="2" fill={color}/>
337+
<path d="M44 36H50" stroke={color} strokeWidth="2" strokeLinecap="round"/>
338+
<circle cx="45" cy="36" r="2" fill={color}/>
339+
{/* 3D object preview */}
340+
<path d="M25 22L33 26V34L25 38L17 34V26L25 22Z" stroke={color} strokeWidth="2" strokeLinejoin="round"/>
341+
<path d="M25 22V30" stroke={color} strokeWidth="1.5"/>
342+
<path d="M17 26L25 30L33 26" stroke={color} strokeWidth="1.5"/>
343+
{/* Drag handle */}
344+
<circle cx="25" cy="42" r="3" stroke={color} strokeWidth="2"/>
345+
<path d="M18 42H22" stroke={color} strokeWidth="2" strokeLinecap="round"/>
346+
<path d="M28 42H32" stroke={color} strokeWidth="2" strokeLinecap="round"/>
347+
{/* Stand */}
348+
<path d="M24 48V54" stroke={color} strokeWidth="2.5"/>
349+
<path d="M40 48V54" stroke={color} strokeWidth="2.5"/>
350+
<path d="M18 54H46" stroke={color} strokeWidth="2.5" strokeLinecap="round"/>
351+
</svg>
352+
);
353+

0 commit comments

Comments
 (0)