feat: enhance GlobalStoreProvider and MovieList components with display type management and loading spinner; integrate local storage for display preferences and improve user experience during initial render

This commit is contained in:
Norbert Maciaszek
2025-08-22 19:17:48 +02:00
parent 50aa22ee6c
commit d67e34c75c
3 changed files with 54 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
"use client";
import Link from "next/link";
import { useState } from "react";
import { HiSearch, HiHome, HiViewGrid } from "react-icons/hi";
import { HiSearch, HiHome, HiSparkles } from "react-icons/hi";
import { Search } from "./components/Search";
import { usePathname } from "next/navigation";
@@ -17,7 +17,7 @@ const navigationItems = [
{
label: "Odkrywaj",
href: "/odkrywaj",
icon: HiViewGrid,
icon: HiSparkles,
emoji: "🎬",
color: "from-purple-500 to-pink-600",
description: "Znajdź nowe filmy",