Skip to content

Commit

Permalink
feat: add clock category
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlundberg committed Jan 30, 2024
1 parent f9f2a4b commit 00b2fae
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
Binary file added src/images/categories/clock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/images/categories/clock.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/interfaces/Categories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ export type Categories =
| "SQ1"
| "Skewb"
| "Pyraminx"
| "Megaminx";
| "Megaminx"
| "Clock";
9 changes: 9 additions & 0 deletions src/lib/const/cubeCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import cubesq1 from "@/images/categories/cubesq1.svg";
import cubeskewb from "@/images/categories/skewb.svg";
import cubepyramix from "@/images/categories/pyramix.svg";
import cubemegaminx from "@/images/categories/minx.svg";
import cubeclock from "@/images/categories/clock.svg";
export const cubeCollection: CubeCollection[] = [
{
event: "222",
Expand Down Expand Up @@ -99,4 +100,12 @@ export const cubeCollection: CubeCollection[] = [
displayId: "megaminx",
twistyId: "mega",
},
{
event: "clock",
id: 12,
name: "Clock",
src: cubeclock,
displayId: "clock",
twistyId: "clock",
},
];

0 comments on commit 00b2fae

Please sign in to comment.