diff --git a/src/config/constants/sidebarNavs.tsx b/src/config/constants/sidebarNavs.tsx
index 7f1eebe..d959e1e 100644
--- a/src/config/constants/sidebarNavs.tsx
+++ b/src/config/constants/sidebarNavs.tsx
@@ -1,4 +1,4 @@
-import { Album, GalleryHorizontal, GalleryVerticalEnd, Home, Image, LocateOff, MapPinX, User } from "lucide-react";
+import { Album, GalleryHorizontal, GalleryVerticalEnd, Home, Image, LocateOff, MapPinX, Rewind, User } from "lucide-react";
export const sidebarNavs = [
{
@@ -26,4 +26,9 @@ export const sidebarNavs = [
link: "/albums",
icon: ,
},
+ {
+ title: "Rewind 2024",
+ link: "/rewind",
+ icon: ,
+ },
];
diff --git a/src/pages/rewind.tsx b/src/pages/rewind.tsx
index 40a7b36..0fbdfe3 100644
--- a/src/pages/rewind.tsx
+++ b/src/pages/rewind.tsx
@@ -7,6 +7,7 @@ import Header from '@/components/shared/Header';
import { Button } from '@/components/ui/button';
import { getRewindStats } from '@/handlers/api/common.handler';
import { ASSET_PREVIEW_PATH, ASSET_THUMBNAIL_PATH, PERSON_THUBNAIL_PATH } from '@/config/routes';
+import Loader from '@/components/ui/loader';
interface IStats {
numberOfPhotos: number;
@@ -103,11 +104,11 @@ export default function RewindPage() {
fetchStats();
}, []);
- if (loading) return
Loading...
;
+ if (loading) return
if (error) return Error: {error}
;
return (
-
+