Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/data/guestbook.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,13 @@
"githubUsername": "HeadstartAI",
"id": "star-icon",
"message": "First one to sign the guestbook! I created this star icon to light up your day. Hope you like it!"
},
{
"componentName": "DiamondIcon",
"contributor": "lewisGRJ",
"date": "2026-02-13T12:00:00.000Z",
"githubUsername": "lewisGRJ",
"id": "diamond-icon",
"message": "Hey there! Dropping a little sparkle in the guestbook. Happy to be here!"
}
]
23 changes: 23 additions & 0 deletions src/icons/DiamondIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React from "react";
import { IconProps } from "../types";

const DiamondIcon: React.FC<IconProps> = ({ color = "currentColor", ...props }) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke={color}
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
{...props}
>
<path d="M12 2l9 7.5L12 22 3 9.5z" />
<path d="M3 9.5h18" />
<path d="M12 2l-4.5 7.5L12 22l4.5-12.5z" />
</svg>
);
};

export default DiamondIcon;
4 changes: 3 additions & 1 deletion src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import SpiralIcon from './SpiralIcon';
import FireworksIcon from './FireworksIcon';
import PaperAirplaneIcon from './PaperAirplaneIcon';
import RocketIcon from './RocketIcon';
import DiamondIcon from './DiamondIcon';

const iconComponents: Record<string, React.FC<any>> = {
StarIcon,
Expand All @@ -32,7 +33,8 @@ const iconComponents: Record<string, React.FC<any>> = {
SpiralIcon,
FireworksIcon,
PaperAirplaneIcon,
RocketIcon
RocketIcon,
DiamondIcon
};

export default iconComponents;