diff --git a/frontend/public/images/category_thumbnails/the_legend_of_zelda_tears_of_the_kingdom.webp b/frontend/public/images/category_thumbnails/the_legend_of_zelda_tears_of_the_kingdom.webp new file mode 100644 index 0000000..457e644 Binary files /dev/null and b/frontend/public/images/category_thumbnails/the_legend_of_zelda_tears_of_the_kingdom.webp differ diff --git a/frontend/src/components/Navigation/Sidebar.tsx b/frontend/src/components/Navigation/Sidebar.tsx index eb29462..b8fd535 100644 --- a/frontend/src/components/Navigation/Sidebar.tsx +++ b/frontend/src/components/Navigation/Sidebar.tsx @@ -75,7 +75,8 @@ const Sidebar: React.FC = ({ extraClasses = "" }) => { const fetchFollowedCategories = async () => { try { const response = await fetch("/api/categories/following"); - if (!response.ok) throw new Error("Failed to fetch followed categories"); + if (!response.ok) + throw new Error("Failed to fetch followed categories"); const data = await response.json(); setFollowedCategories(data); } catch (error) { @@ -90,10 +91,11 @@ const Sidebar: React.FC = ({ extraClasses = "" }) => { <> handleSideBar()} - extraClasses={`absolute group text-[1rem] top-[9vh] ${showSideBar - ? "left-[16vw] duration-[0.5s]" - : "left-[20px] duration-[1s]" - } ease-in-out cursor-pointer z-[50]`} + extraClasses={`absolute group text-[1rem] top-[9vh] ${ + showSideBar + ? "left-[16vw] duration-[0.5s]" + : "left-[20px] duration-[1s]" + } ease-in-out cursor-pointer z-[50]`} toggled={showSideBar} > @@ -107,8 +109,9 @@ const Sidebar: React.FC = ({ extraClasses = "" }) => {