From d5d0b0b2241e9a901b51c39fe17b074d62345b2a Mon Sep 17 00:00:00 2001 From: Kieran Date: Mon, 27 Nov 2023 21:33:23 +0000 Subject: [PATCH] chore: expand categories --- src/const.ts | 107 ++++++++++++++++++++++++++++++++++++++++++++++- src/page/new.tsx | 2 +- 2 files changed, 107 insertions(+), 2 deletions(-) diff --git a/src/const.ts b/src/const.ts index b100b61..660de1c 100644 --- a/src/const.ts +++ b/src/const.ts @@ -85,6 +85,12 @@ export const Categories = [ { name: "Music", tag: "music", + sub_category: [ + { + name: "FLAC", + tag: "flac", + }, + ], }, { name: "Audio Books", @@ -95,7 +101,94 @@ export const Categories = [ { name: "Applications", tag: "application", - sub_category: [], + sub_category: [ + { + name: "Windows", + tag: "windows", + }, + { + name: "Mac", + tag: "mac", + }, + { + name: "UNIX", + tag: "unix", + }, + { + name: "iOS", + tag: "ios", + }, + { + name: "Android", + tag: "android", + }, + ], + }, + { + name: "Games", + tag: "game", + sub_category: [ + { + name: "PC", + tag: "pc", + }, + { + name: "Mac", + tag: "mac", + }, + { + name: "PSx", + tag: "psx", + }, + { + name: "XBOX", + tag: "xbox", + }, + { + name: "Wii", + tag: "wii", + }, + { + name: "iOS", + tag: "ios", + }, + { + name: "Android", + tag: "android", + }, + ], + }, + { + name: "Porn", + tag: "porn", + sub_category: [ + { + name: "Movies", + tag: "movie", + sub_category: [ + { + name: "Movies DVDR", + tag: "dvdr", + }, + { + name: "HD Movies", + tag: "hd", + }, + { + name: "4k Movies", + tag: "4k", + }, + ], + }, + { + name: "Pictures", + tag: "picture", + }, + { + name: "Games", + tag: "game", + }, + ], }, { name: "Other", @@ -105,6 +198,18 @@ export const Categories = [ name: "Archives", tag: "archive", }, + { + name: "E-Books", + tag: "e-book", + }, + { + name: "Comics", + tag: "comic", + }, + { + name: "Pictures", + tag: "picture", + }, ], }, ] as Array; diff --git a/src/page/new.tsx b/src/page/new.tsx index ea8512f..c194c6f 100644 --- a/src/page/new.tsx +++ b/src/page/new.tsx @@ -168,7 +168,7 @@ export function NewPage() {