angeloanan / kominfo-d-

Kena blokir kominfo ga ya...
https://kominfod.angelo.fyi/
MIT License
155 stars 25 forks source link

Add site tags / category #41

Open awang-karisma opened 2 years ago

awang-karisma commented 2 years ago

Categorize website so it's easier to find, like Gaming, Developer Tools, Social Media, Entertainment, etc

I guess it'll need a lot of work since the list of websites are spread into multiple variables.

https://github.com/angeloanan/kominfo-d-/blob/837e0352ad33caaa6d55132c16067703e5c81e23/src/_data/websites.ts#L155 https://github.com/angeloanan/kominfo-d-/blob/837e0352ad33caaa6d55132c16067703e5c81e23/src/_data/websites.ts#L249

I suggest combining all websites then add "categories" array in it

export const websites = [
  { website: 'line.me', icon: siLine, categories: ['social', 'idnStarterPack'] },
  { website: 'github.com', icon: siGithub, categories: ['develop','devStarterPack','productivity']},
  { website: 'paypal.com', icon: siPaypal, categories: ['finance','remoteWork'] },
  { website: 'upwork.com', icon: siUpwork, categories: ['remoteWork','productivity'] },
]

If implemented, this can also close PR #25

resir014 commented 2 years ago

This is already planned: #36

cc: @angeloanan

awang-karisma commented 2 years ago

aah I see, just watched the video But Category is not mentioned in #36, so I guess this issue still valid.

I am reworking the category stuff, for now it looks like this image

Will try to match the design in video and include search bar.

WilloIzCitron commented 2 years ago

also on my fork, i edited gaming essensials for sorting

Screenshot_20220802_220232

WilloIzCitron commented 2 years ago

also need to hide a duplicates

awang-karisma commented 1 year ago

I guess because of the site is no longer relevant, it's abandoned, probably?