chore: expand categories
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kieran 2023-11-27 21:33:23 +00:00
parent 60646daa8c
commit d5d0b0b224
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
2 changed files with 107 additions and 2 deletions

View File

@ -85,6 +85,12 @@ export const Categories = [
{ {
name: "Music", name: "Music",
tag: "music", tag: "music",
sub_category: [
{
name: "FLAC",
tag: "flac",
},
],
}, },
{ {
name: "Audio Books", name: "Audio Books",
@ -95,7 +101,94 @@ export const Categories = [
{ {
name: "Applications", name: "Applications",
tag: "application", 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", name: "Other",
@ -105,6 +198,18 @@ export const Categories = [
name: "Archives", name: "Archives",
tag: "archive", tag: "archive",
}, },
{
name: "E-Books",
tag: "e-book",
},
{
name: "Comics",
tag: "comic",
},
{
name: "Pictures",
tag: "picture",
},
], ],
}, },
] as Array<Category>; ] as Array<Category>;

View File

@ -168,7 +168,7 @@ export function NewPage() {
<div className="flex-1 flex flex-col gap-1"> <div className="flex-1 flex flex-col gap-1">
<label>Description</label> <label>Description</label>
<textarea <textarea
rows={20} rows={30}
className="font-mono text-xs" className="font-mono text-xs"
value={obj.desc} value={obj.desc}
onChange={(e) => setObj((o) => ({ ...o, desc: e.target.value }))} onChange={(e) => setObj((o) => ({ ...o, desc: e.target.value }))}