Skip to content

Commit

Permalink
⚙️ Fix category type.
Browse files Browse the repository at this point in the history
  • Loading branch information
pheralb committed May 14, 2023
1 parent d645f74 commit 54860b5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
14 changes: 14 additions & 0 deletions src/types/categories.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export type tCategory =
| 'All'
| 'Software'
| 'Library'
| 'Hosting'
| 'Framework'
| 'CMS'
| 'Database'
| 'Compiler'
| 'Social'
| 'Entertainment'
| 'Browser'
| 'Language'
| 'Education';
4 changes: 3 additions & 1 deletion src/types/svg.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import type { tCategory } from './categories';

export interface iSVG {
id: number;
title: string;
category: string;
category: tCategory;
route: string;
url: string;
}

1 comment on commit 54860b5

@vercel
Copy link

@vercel vercel bot commented on 54860b5 May 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

svgl – ./

svgl-pheralb.vercel.app
svgl-git-main-pheralb.vercel.app
svgl.vercel.app

Please sign in to comment.