⚙️ Fix category type.

This commit is contained in:
pheralb 2023-05-14 18:35:30 +01:00
parent d645f744f1
commit 54860b5f3b
2 changed files with 17 additions and 1 deletions

14
src/types/categories.ts Normal file
View File

@ -0,0 +1,14 @@
export type tCategory =
| 'All'
| 'Software'
| 'Library'
| 'Hosting'
| 'Framework'
| 'CMS'
| 'Database'
| 'Compiler'
| 'Social'
| 'Entertainment'
| 'Browser'
| 'Language'
| 'Education';

View File

@ -1,7 +1,9 @@
import type { tCategory } from './categories';
export interface iSVG {
id: number;
title: string;
category: string;
category: tCategory;
route: string;
url: string;
}