🛠️ Update extensions data; add new extensions for various frameworks and improve existing entries

This commit is contained in:
pheralb
2025-09-04 09:15:17 +01:00
parent ec6db6d23b
commit 1aadeb5604
3 changed files with 99 additions and 47 deletions
+7
View File
@@ -1,11 +1,18 @@
import type { iSVG, ThemeOptions } from "@/types/svg";
import type { Category } from "@/types/categories";
import type { Extension } from "@/types/extensions";
import { svgs } from "@/data/svgs";
import { extensions } from "@/data/extensions";
export const svgsData = svgs.map((svg: iSVG, index: number) => {
return { id: index, ...svg };
}) as iSVG[];
export const extensionsData = extensions.map((extension, index) => {
return { id: index, ...extension };
}) as Extension[];
export const getCategories = (): Category[] => {
const categories = svgs
.flatMap((svg) =>