added collection page

This commit is contained in:
Jelaletdin12
2025-12-15 14:33:34 +05:00
parent 633a3c9d47
commit e886359c5c
31 changed files with 2118 additions and 716 deletions

View File

@@ -81,7 +81,7 @@ export default function Header({ locale = "ru" }: HeaderProps) {
<Button
onClick={toggleCategoryMenu}
className="hidden gap-2 rounded-xl font-bold sm:flex hover:bg-[#005bff] bg-[#005bff] text-white"
className="hidden gap-2 rounded-lg font-bold sm:flex hover:bg-[#005bff] bg-[#005bff] text-white"
size="lg"
>
{isCategoryOpen ? <X className="h-5 w-5" /> : <CategoryIcon />}
@@ -131,19 +131,10 @@ export default function Header({ locale = "ru" }: HeaderProps) {
<AuthDialog isOpen={isLoginOpen} onClose={() => setIsLoginOpen(false)} />
<MobileBottomNav
locale={locale}
isAuthenticated={isAuthenticated}
translations={{
catalog: t("common.catalog"),
favorites: t("common.favorites"),
orders: t("common.orders"),
cart: t("common.cart"),
login: t("common.login"),
profile: t("profile"),
}}
onLoginClick={() => setIsLoginOpen(true)}
onProfileClick={handleProfileClick}
/>
locale={locale}
onLoginClick={() => setIsLoginOpen(true)}
/>
</>
);
}