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
@@ -1,4 +1,12 @@
[
{
"componentName": "CubeIcon",
"contributor": "Peter",
"date": "2026-01-31T12:00:00.000Z",
"githubUsername": "petersancho",
"id": "cube-icon",
"message": "coding geometry using text! How cool!"
},
{
"componentName": "RocketIcon",
"contributor": "Mobo",
Expand Down
17 changes: 17 additions & 0 deletions src/icons/CubeIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from "react";
import { IconProps } from "../types";

const CubeIcon: React.FC<IconProps> = ({ color = "currentColor", ...props }) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill={color}
{...props}
>
<path d="M12 2L3 7v10l9 5 9-5V7l-9-5zm0 2.18L18.09 7 12 10.82 5.91 7 12 4.18zM5 8.77l6 3.46v6.95l-6-3.33V8.77zm8 10.41v-6.95l6-3.46v7.08l-6 3.33z" />
</svg>
);
};

export default CubeIcon;
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 CubeIcon from './CubeIcon';

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,
CubeIcon
};

export default iconComponents;