Skip to content

hackclub/toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9d4e2bb Â· Mar 1, 2025
Apr 21, 2024
Jan 29, 2025
Nov 5, 2024
Jan 17, 2025
Jan 17, 2025
Feb 21, 2025
Feb 22, 2023
Feb 22, 2023
Feb 22, 2023
Feb 22, 2023
Feb 22, 2023
Feb 22, 2025
Feb 22, 2023
Feb 22, 2023
Feb 22, 2023
Mar 1, 2025

Repository files navigation

Hack Club logo

Deals for Hack Clubbers—powered by Next.js, Theme UI & MDX.

How do I add a card?

All the cards except for the current ones are stored in manifest.js. If you take a look at it, you'll notice it's in JSON:

export default [
  {
    category: 'Perks',
    color: 'primary',
    icon: 'bag',
    items: [
      {
        name: 'Zoom Pro Meetings',
        description: 'Run Zoom Pro meetings for free in your Hack Club',
        icon: 'welcome',
        external: false,
        url: '/zoom.mdx',
        forUseBy: 'clubbers'
      },
      ...
    ]
  },
  ...
]

To add a card to an existing category, you simply add to the cards in the category, like so:

export default [
  {
    category: 'Perks',
    color: 'primary',
    icon: 'bag',
    items: [
      {
        name: 'Zoom Pro Meetings',
        description: 'Run Zoom Pro meetings for free in your Hack Club',
        icon: 'welcome',
        external: false,
        url: '/zoom.mdx',
        forUseBy: 'clubbers'
      },
+     {
+       name: 'Theme',
+       description: "Hack Club's theme, using Theme UI",
+       icon: 'grid',
+       external: true,
+       url: 'https://theme.hackclub.com',
+       forUseBy: 'everyone'
+     }
    ]
  },

To add a new category, you'll follow a similar pattern at the bottom of the file:

export default [
  {
    category: 'Perks',
    color: 'primary',
    icon: 'bag',
    items: [
      {
        name: 'Zoom Pro Meetings',
        description: 'Run Zoom Pro meetings for free in your Hack Club',
        icon: 'welcome',
        external: false,
        url: '/zoom.mdx',
        forUseBy: 'clubbers'
      },
    ]
  },
+ {
+   category: '<Category name>',
+   color: '<Category color>',
+   icon: '<Category icon>'
+   items: [
+     ...
+   ]
+ }
]

For color and icon, you can use Hack Club's theme.

When you edit the file to make these changes, you'll be asked to make a pull request.

Let us know if you have any questions in Slack!