Add Arjmand Pharmacy Next.js homepage.
Initial RTL storefront with header, slider, product sections, and local image assets. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
import { TopBar } from "@/components/layout/TopBar";
|
||||
import { Header } from "@/components/layout/Header";
|
||||
import { Footer } from "@/components/layout/Footer";
|
||||
import { Hero } from "@/components/home/Hero";
|
||||
import { FeaturedCategories } from "@/components/home/FeaturedCategories";
|
||||
import { SiteFeatures } from "@/components/home/SiteFeatures";
|
||||
import { ProductCarousel } from "@/components/home/ProductCarousel";
|
||||
import { BannerRow } from "@/components/home/BannerRow";
|
||||
import { AboutDoctor } from "@/components/home/AboutDoctor";
|
||||
import { BlogCarousel } from "@/components/home/BlogCarousel";
|
||||
import { FaqPreview } from "@/components/home/FaqPreview";
|
||||
import { specialSale, topSelling, twoBanners, tripleBanners, yeganehProducts } from "@/lib/data";
|
||||
import { getLogoSrc, getSlides } from "@/lib/media";
|
||||
|
||||
export default function HomePage() {
|
||||
const slides = getSlides();
|
||||
const logoSrc = getLogoSrc();
|
||||
|
||||
return (
|
||||
<>
|
||||
<TopBar />
|
||||
<Header logoSrc={logoSrc} />
|
||||
<main className="pb-12">
|
||||
<Hero slides={slides} />
|
||||
<FeaturedCategories />
|
||||
<SiteFeatures />
|
||||
<ProductCarousel
|
||||
id="special-sale"
|
||||
title="فروش ویژه"
|
||||
subtitle="تخفیفهای منتخب امروز داروخانه"
|
||||
products={specialSale}
|
||||
accent="sale"
|
||||
/>
|
||||
<BannerRow banners={twoBanners} columns={2} />
|
||||
<ProductCarousel
|
||||
id="top-selling"
|
||||
title="پرفروشترین محصولات"
|
||||
subtitle="پیشنهاد ویژه مشتریان"
|
||||
products={topSelling}
|
||||
/>
|
||||
<BannerRow banners={tripleBanners} columns={3} />
|
||||
<ProductCarousel
|
||||
id="yeganeh"
|
||||
title="محصولات برند یگانه"
|
||||
subtitle="مکملهای منتخب Yeganeh"
|
||||
products={yeganehProducts}
|
||||
/>
|
||||
<AboutDoctor />
|
||||
<BlogCarousel />
|
||||
<FaqPreview />
|
||||
</main>
|
||||
<Footer logoSrc={logoSrc} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user