diff --git a/components/ScriptBrowser.tsx b/components/ScriptBrowser.tsx index eeb64f4..5f03629 100644 --- a/components/ScriptBrowser.tsx +++ b/components/ScriptBrowser.tsx @@ -136,9 +136,9 @@ const ScriptBrowser = ({ return (
-
-

Scripts

-

+

+

Categories

+

{links.reduce( (acc, category) => acc + category.expand.items.length, 0, @@ -168,11 +168,11 @@ const ScriptBrowser = ({ )}

{searchTerm ? ( -

+

Press 'Esc' to clear the search

) : ( -

+

setShowLogos(!showLogos)} @@ -200,9 +200,11 @@ const ScriptBrowser = ({ className="sm:text-md flex flex-col" > -

- {category.catagoryName}{" "} - +
+ + {category.catagoryName}{" "} + + {category.expand.items.length}
{" "} @@ -232,7 +234,9 @@ const ScriptBrowser = ({ : "" }`} onClick={() => handleSelected(script.title)} - ref={(el) => { linkRefs.current[script.title] = el; }} + ref={(el) => { + linkRefs.current[script.title] = el; + }} > {showLogos && script.logo && ( {script.title} {script.isMostViewed && ( - + )}