From d7a130c7f53a3e85daa8c92db5c557a18142c2d3 Mon Sep 17 00:00:00 2001 From: mohammad Date: Thu, 13 Aug 2026 12:11:38 +0330 Subject: [PATCH] Show portfolio videos on site cards and detail pages. Co-authored-by: Cursor --- src/components/ProjectCard.vue | 9 ++++ src/data/noro.ts | 1 + src/pages/portfolio/[id].vue | 84 +++++++++++++++++++++++++++------- src/utils/cms.ts | 11 ++++- 4 files changed, 87 insertions(+), 18 deletions(-) diff --git a/src/components/ProjectCard.vue b/src/components/ProjectCard.vue index 9014ae0..65025a9 100644 --- a/src/components/ProjectCard.vue +++ b/src/components/ProjectCard.vue @@ -24,6 +24,15 @@ const { portfolioCategories } = useNoroData()
+ + + ویدیو + diff --git a/src/data/noro.ts b/src/data/noro.ts index ef8c07e..38ea323 100644 --- a/src/data/noro.ts +++ b/src/data/noro.ts @@ -17,6 +17,7 @@ export interface PortfolioProject { year: string featured?: boolean image: string + video?: string gallery: string[] client?: string deliverables: string[] diff --git a/src/pages/portfolio/[id].vue b/src/pages/portfolio/[id].vue index 8ae631c..358955b 100644 --- a/src/pages/portfolio/[id].vue +++ b/src/pages/portfolio/[id].vue @@ -1,4 +1,6 @@