diff --git a/src/types/categories.ts b/src/types/categories.ts index 921d8a6..b95bef8 100644 --- a/src/types/categories.ts +++ b/src/types/categories.ts @@ -1,4 +1,4 @@ -export type tCategory = +export type Category = | "All" | "AI" | "Software" diff --git a/src/types/svg.ts b/src/types/svg.ts index 2eb6a8b..76df3e0 100644 --- a/src/types/svg.ts +++ b/src/types/svg.ts @@ -1,4 +1,4 @@ -import type { tCategory } from "./categories"; +import type { Category } from "./categories"; export type ThemeOptions = { dark: string; @@ -8,7 +8,7 @@ export type ThemeOptions = { export interface iSVG { id?: number; title: string; - category: tCategory | tCategory[]; + category: Category | Category[]; route: string | ThemeOptions; wordmark?: string | ThemeOptions; brandUrl?: string;