Add new product sliders to home

This commit is contained in:
marzban-dev
2026-02-22 01:31:51 +03:30
parent c5d0d1b1cb
commit 40e2945ceb
2 changed files with 23 additions and 3 deletions
+4 -1
View File
@@ -2,7 +2,6 @@
import { useQuery } from "@tanstack/vue-query";
import { API_ENDPOINTS, QUERY_KEYS } from "~/constants";
import type { GetArticleResponse } from "~/composables/api/blog/useGetArticle";
// types
@@ -16,6 +15,10 @@ export type GetHomeDataResponse = {
video: string | null;
}[];
main_categories: Category[];
top_seller_products: ProductListItem[];
lot_of_discount_products: ProductListItem[];
most_viewed_products: ProductListItem[];
trends_products: ProductListItem[];
products: ProductListItem[];
difreance_section: {
image1: string;