diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 3c7e609..e26be01 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,10 +1,15 @@ - + - + + + + + + - - \ No newline at end of file diff --git a/app/page.jsx b/app/page.jsx index de941e1..5cd37db 100644 --- a/app/page.jsx +++ b/app/page.jsx @@ -13,40 +13,35 @@ import Footer from '@/components/Footer'; import CartDrawer from '@/components/CartDrawer'; import ChatWidget from '@/components/ChatWidget'; -// چیدمان کامل صفحه اصلی. ترتیب سکشن‌ها از بالا به پایین: -// هیرو (اسلایدر) -> ویترین محصولات (اسکرول افقی + ویدیو) -> مشتریان ما -> -// مزایا -> درباره ما -> کاتالوگ -> مکان‌های نصب -> ویدیوی معرفی -> نقشه -> -// فرم تیکت -> فوتر. همه‌ی سکشن‌ها به‌جز هیرو و ویترین محصولات، رنگ زمینه‌شان -// به‌ترتیب بین سه تن روشن/متوسط/برجسته (bg-page / bg-surface / bg-elevated) -// می‌چرخد تا هنگام اسکرول یک تغییر رنگ ظریف حس شود. + export default function HomePage() { - return ( -
-
- - + return ( +
+
+ + - + - + - + - + - + - + - + - + - + - + -
-
- ); +
+ ); } diff --git a/components/HeroSection.jsx b/components/HeroSection.jsx index e8f72cf..5895e4a 100644 --- a/components/HeroSection.jsx +++ b/components/HeroSection.jsx @@ -131,14 +131,14 @@ export default function HeroSection() { aria-label="previous slide" className="hidden sm:flex absolute top-1/2 -translate-y-1/2 start-4 z-20 w-11 h-11 rounded-full bg-page-70 border border-subtle items-center justify-center text-primary hover:bg-brand hover:text-ink-950 transition-colors" > - + {/* نقطه‌های شمارشگر اسلاید پایین صفحه — کلیک روی هرکدام مستقیم به همان اسلاید می‌رود */} diff --git a/data/content.js b/data/content.js index 033d38b..5f3aa9d 100644 --- a/data/content.js +++ b/data/content.js @@ -667,12 +667,12 @@ export const content = { // Locale-independent asset config (positions/paths only — same in both languages). export const floatingSnacks = [ - {id: 'chips-1', image: '/images/snacks/item-1.png', size: 76, top: '18%', left: '8%', duration: 5.5, delay: 0}, - {id: 'soda-1', image: '/images/snacks/item-2.png', size: 64, top: '68%', left: '12%', duration: 6.2, delay: 0.6}, - {id: 'chips-2', image: '/images/snacks/item-3.png', size: 58, top: '22%', left: '85%', duration: 4.8, delay: 0.3}, - {id: 'soda-2', image: '/images/snacks/item-4.png', size: 70, top: '72%', left: '88%', duration: 5.9, delay: 0.9}, - {id: 'chips-3', image: '/images/snacks/item-5.png', size: 48, top: '42%', left: '90%', duration: 6.6, delay: 1.2}, - {id: 'soda-3', image: '/images/snacks/item-6.png', size: 52, top: '46%', left: '4%', duration: 5.1, delay: 1.5}, + {id: 'chips-1', image: '/images/snacks/item-1.png', size: 125, top: '5%', left: '-5%', duration: 5.5, delay: 0}, + {id: 'soda-1', image: '/images/snacks/item-2.png', size: 85, top: '68%', left: '2%', duration: 6.2, delay: 0.6}, + {id: 'chips-2', image: '/images/snacks/item-3.png', size: 95, top: '10%', left: '85%', duration: 4.8, delay: 0.3}, + {id: 'soda-2', image: '/images/snacks/item-4.png', size: 105, top: '72%', left: '88%', duration: 5.9, delay: 0.9}, + {id: 'chips-3', image: '/images/snacks/item-5.png', size: 90, top: '42%', left: '90%', duration: 6.6, delay: 1.2}, + {id: 'soda-3', image: '/images/snacks/item-6.png', size: 95, top: '46%', left: '-4%', duration: 5.1, delay: 1.5}, ]; export const showcaseVideoSrc = '/video/showcase-placeholder.mp4'; diff --git a/public/images/machine-slide-0.png b/public/images/machine-slide-0.png index 876e190..5542d47 100644 Binary files a/public/images/machine-slide-0.png and b/public/images/machine-slide-0.png differ diff --git a/public/images/machine-slide-2.png b/public/images/machine-slide-2.png index 0800291..947dc6d 100644 Binary files a/public/images/machine-slide-2.png and b/public/images/machine-slide-2.png differ diff --git a/public/images/machine-slide-222.png b/public/images/machine-slide-222.png deleted file mode 100644 index 6aae4ce..0000000 Binary files a/public/images/machine-slide-222.png and /dev/null differ diff --git a/public/video/company-intro-placeholder.mp4 b/public/video/company-intro-placeholder.mp4 index e306389..6f28b9c 100644 Binary files a/public/video/company-intro-placeholder.mp4 and b/public/video/company-intro-placeholder.mp4 differ