feat(cms-builder-videos-hydration-catalog): resolve IDE Prisma types, fix Header hydration error, add Media Upload & Aparat embed to Admin Videos, fix Catalog scrollbar/spacing, and overhaul CMS into section-by-section Visual Page Builder
This commit is contained in:
1 parent
2b1bd9efcb
commit
3e9fffe71f
7 files changed
+419
-146
No files matched your search
@@ -97,11 +97,11 @@ export default function CatalogClient() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="flex items-center gap-2 overflow-x-auto w-full md:w-auto pb-2 md:pb-0">
|
||||
<div className="flex items-center gap-2.5 overflow-x-auto no-scrollbar scrollbar-none w-full md:w-auto p-1.5 scroll-smooth">
|
||||
<button
|
||||
onClick={() => setSelectedCategory("all")}
|
||||
className={`px-4 py-2.5 rounded-xl text-xs font-black transition-all shrink-0 ${
|
||||
selectedCategory === "all" ? "bg-canina-blue text-white shadow-md" : "bg-slate-100 text-slate-600 hover:bg-slate-200"
|
||||
className={`px-5 py-3 rounded-2xl text-xs font-black transition-all shrink-0 shadow-xs ${
|
||||
selectedCategory === "all" ? "bg-canina-blue text-white shadow-md scale-105" : "bg-slate-100 text-slate-700 hover:bg-slate-200"
|
||||
}`}
|
||||
>
|
||||
همه دستهها ({products.length})
|
||||
@@ -110,8 +110,8 @@ export default function CatalogClient() {
|
||||
<button
|
||||
key={cat}
|
||||
onClick={() => setSelectedCategory(cat)}
|
||||
className={`px-4 py-2.5 rounded-xl text-xs font-black transition-all shrink-0 ${
|
||||
selectedCategory === cat ? "bg-canina-blue text-white shadow-md" : "bg-slate-100 text-slate-600 hover:bg-slate-200"
|
||||
className={`px-5 py-3 rounded-2xl text-xs font-black transition-all shrink-0 shadow-xs ${
|
||||
selectedCategory === cat ? "bg-canina-blue text-white shadow-md scale-105" : "bg-slate-100 text-slate-700 hover:bg-slate-200"
|
||||
}`}
|
||||
>
|
||||
{cat}
|
||||
|
||||
Reference in new issue
Block a user