diff --git a/prompt.txt b/prompt.txt index ed5a22d..7773dac 100644 --- a/prompt.txt +++ b/prompt.txt @@ -9,7 +9,7 @@ Color palette is purple cyan red - light theme Design only homepage Use Persian font like iran-yekan or kalameh or iran sans and some cool kids like English font -Do not use images - show only placeholders with sizes +Do not use images - show only placeholders images - use empty image file so they can be replace easily Do not use text over the images or banners - even slider Sections are: @@ -30,4 +30,7 @@ Sections are: 10. Yeganeh brand product carousel 11. About nini Naderi 12. Latest blog carousel -13. footer \ No newline at end of file +13. footer + +For header, as first item add a categories, show a mega menu for categories +Other link are: special sale - about us - faq - contact us \ No newline at end of file diff --git a/public/images/about.png b/public/images/about.png new file mode 100644 index 0000000..5603f3e Binary files /dev/null and b/public/images/about.png differ diff --git a/public/images/banner-dual-1.png b/public/images/banner-dual-1.png new file mode 100644 index 0000000..4a8c89d Binary files /dev/null and b/public/images/banner-dual-1.png differ diff --git a/public/images/banner-dual-2.png b/public/images/banner-dual-2.png new file mode 100644 index 0000000..eeba1c6 Binary files /dev/null and b/public/images/banner-dual-2.png differ diff --git a/public/images/banner-triple-1.png b/public/images/banner-triple-1.png new file mode 100644 index 0000000..3f59bed Binary files /dev/null and b/public/images/banner-triple-1.png differ diff --git a/public/images/banner-triple-2.png b/public/images/banner-triple-2.png new file mode 100644 index 0000000..d0a1add Binary files /dev/null and b/public/images/banner-triple-2.png differ diff --git a/public/images/banner-triple-3.png b/public/images/banner-triple-3.png new file mode 100644 index 0000000..61840f2 Binary files /dev/null and b/public/images/banner-triple-3.png differ diff --git a/public/images/blog-1.png b/public/images/blog-1.png new file mode 100644 index 0000000..31e8808 Binary files /dev/null and b/public/images/blog-1.png differ diff --git a/public/images/blog-2.png b/public/images/blog-2.png new file mode 100644 index 0000000..b531bf7 Binary files /dev/null and b/public/images/blog-2.png differ diff --git a/public/images/blog-3.png b/public/images/blog-3.png new file mode 100644 index 0000000..d551ef2 Binary files /dev/null and b/public/images/blog-3.png differ diff --git a/public/images/blog-4.png b/public/images/blog-4.png new file mode 100644 index 0000000..31e8808 Binary files /dev/null and b/public/images/blog-4.png differ diff --git a/public/images/category-1.png b/public/images/category-1.png new file mode 100644 index 0000000..fb753e8 Binary files /dev/null and b/public/images/category-1.png differ diff --git a/public/images/category-2.png b/public/images/category-2.png new file mode 100644 index 0000000..bd1b460 Binary files /dev/null and b/public/images/category-2.png differ diff --git a/public/images/category-3.png b/public/images/category-3.png new file mode 100644 index 0000000..10c46c8 Binary files /dev/null and b/public/images/category-3.png differ diff --git a/public/images/category-4.png b/public/images/category-4.png new file mode 100644 index 0000000..fb753e8 Binary files /dev/null and b/public/images/category-4.png differ diff --git a/public/images/category-5.png b/public/images/category-5.png new file mode 100644 index 0000000..10c46c8 Binary files /dev/null and b/public/images/category-5.png differ diff --git a/public/images/category-6.png b/public/images/category-6.png new file mode 100644 index 0000000..bd1b460 Binary files /dev/null and b/public/images/category-6.png differ diff --git a/public/images/category-7.png b/public/images/category-7.png new file mode 100644 index 0000000..fb753e8 Binary files /dev/null and b/public/images/category-7.png differ diff --git a/public/images/category-8.png b/public/images/category-8.png new file mode 100644 index 0000000..bd1b460 Binary files /dev/null and b/public/images/category-8.png differ diff --git a/public/images/enamad.png b/public/images/enamad.png new file mode 100644 index 0000000..6b082b2 Binary files /dev/null and b/public/images/enamad.png differ diff --git a/public/images/sale-1.png b/public/images/sale-1.png new file mode 100644 index 0000000..350329a Binary files /dev/null and b/public/images/sale-1.png differ diff --git a/public/images/sale-2.png b/public/images/sale-2.png new file mode 100644 index 0000000..fd37972 Binary files /dev/null and b/public/images/sale-2.png differ diff --git a/public/images/sale-3.png b/public/images/sale-3.png new file mode 100644 index 0000000..395e6ac Binary files /dev/null and b/public/images/sale-3.png differ diff --git a/public/images/sale-4.png b/public/images/sale-4.png new file mode 100644 index 0000000..350329a Binary files /dev/null and b/public/images/sale-4.png differ diff --git a/public/images/sale-5.png b/public/images/sale-5.png new file mode 100644 index 0000000..395e6ac Binary files /dev/null and b/public/images/sale-5.png differ diff --git a/public/images/sale-6.png b/public/images/sale-6.png new file mode 100644 index 0000000..fd37972 Binary files /dev/null and b/public/images/sale-6.png differ diff --git a/public/images/sale-7.png b/public/images/sale-7.png new file mode 100644 index 0000000..350329a Binary files /dev/null and b/public/images/sale-7.png differ diff --git a/public/images/sale-8.png b/public/images/sale-8.png new file mode 100644 index 0000000..395e6ac Binary files /dev/null and b/public/images/sale-8.png differ diff --git a/public/images/sale-banner.png b/public/images/sale-banner.png new file mode 100644 index 0000000..ea259c1 Binary files /dev/null and b/public/images/sale-banner.png differ diff --git a/public/images/samandehi.png b/public/images/samandehi.png new file mode 100644 index 0000000..6640e13 Binary files /dev/null and b/public/images/samandehi.png differ diff --git a/public/images/side-banner-1.png b/public/images/side-banner-1.png new file mode 100644 index 0000000..2e56187 Binary files /dev/null and b/public/images/side-banner-1.png differ diff --git a/public/images/side-banner-2.png b/public/images/side-banner-2.png new file mode 100644 index 0000000..6c3812d Binary files /dev/null and b/public/images/side-banner-2.png differ diff --git a/public/images/slider-1.png b/public/images/slider-1.png new file mode 100644 index 0000000..2322249 Binary files /dev/null and b/public/images/slider-1.png differ diff --git a/public/images/slider-2.png b/public/images/slider-2.png new file mode 100644 index 0000000..4637277 Binary files /dev/null and b/public/images/slider-2.png differ diff --git a/public/images/slider-3.png b/public/images/slider-3.png new file mode 100644 index 0000000..d62ba2a Binary files /dev/null and b/public/images/slider-3.png differ diff --git a/public/images/top-1.png b/public/images/top-1.png new file mode 100644 index 0000000..350329a Binary files /dev/null and b/public/images/top-1.png differ diff --git a/public/images/top-2.png b/public/images/top-2.png new file mode 100644 index 0000000..395e6ac Binary files /dev/null and b/public/images/top-2.png differ diff --git a/public/images/top-3.png b/public/images/top-3.png new file mode 100644 index 0000000..fd37972 Binary files /dev/null and b/public/images/top-3.png differ diff --git a/public/images/top-4.png b/public/images/top-4.png new file mode 100644 index 0000000..350329a Binary files /dev/null and b/public/images/top-4.png differ diff --git a/public/images/top-5.png b/public/images/top-5.png new file mode 100644 index 0000000..395e6ac Binary files /dev/null and b/public/images/top-5.png differ diff --git a/public/images/top-6.png b/public/images/top-6.png new file mode 100644 index 0000000..fd37972 Binary files /dev/null and b/public/images/top-6.png differ diff --git a/public/images/top-7.png b/public/images/top-7.png new file mode 100644 index 0000000..350329a Binary files /dev/null and b/public/images/top-7.png differ diff --git a/public/images/top-8.png b/public/images/top-8.png new file mode 100644 index 0000000..395e6ac Binary files /dev/null and b/public/images/top-8.png differ diff --git a/public/images/yeganeh-1.png b/public/images/yeganeh-1.png new file mode 100644 index 0000000..350329a Binary files /dev/null and b/public/images/yeganeh-1.png differ diff --git a/public/images/yeganeh-2.png b/public/images/yeganeh-2.png new file mode 100644 index 0000000..fd37972 Binary files /dev/null and b/public/images/yeganeh-2.png differ diff --git a/public/images/yeganeh-3.png b/public/images/yeganeh-3.png new file mode 100644 index 0000000..395e6ac Binary files /dev/null and b/public/images/yeganeh-3.png differ diff --git a/public/images/yeganeh-4.png b/public/images/yeganeh-4.png new file mode 100644 index 0000000..350329a Binary files /dev/null and b/public/images/yeganeh-4.png differ diff --git a/public/images/yeganeh-5.png b/public/images/yeganeh-5.png new file mode 100644 index 0000000..fd37972 Binary files /dev/null and b/public/images/yeganeh-5.png differ diff --git a/public/images/yeganeh-6.png b/public/images/yeganeh-6.png new file mode 100644 index 0000000..395e6ac Binary files /dev/null and b/public/images/yeganeh-6.png differ diff --git a/scripts/make-placeholders.py b/scripts/make-placeholders.py new file mode 100644 index 0000000..eda230c --- /dev/null +++ b/scripts/make-placeholders.py @@ -0,0 +1,87 @@ +#!/usr/bin/env python3 +import struct +import zlib +from pathlib import Path + +COLORS = { + "purple": (216, 198, 255), + "cyan": (165, 243, 252), + "rose": (254, 205, 211), +} + +IMAGES = [ + ("slider-1.png", 960, 420, "purple"), + ("slider-2.png", 960, 420, "rose"), + ("slider-3.png", 960, 420, "cyan"), + ("side-banner-1.png", 360, 200, "cyan"), + ("side-banner-2.png", 360, 200, "rose"), + ("category-1.png", 160, 160, "purple"), + ("category-2.png", 160, 160, "rose"), + ("category-3.png", 160, 160, "cyan"), + ("category-4.png", 160, 160, "purple"), + ("category-5.png", 160, 160, "cyan"), + ("category-6.png", 160, 160, "rose"), + ("category-7.png", 160, 160, "purple"), + ("category-8.png", 160, 160, "rose"), + ("sale-banner.png", 240, 400, "rose"), + ("sale-1.png", 280, 340, "purple"), + ("sale-2.png", 280, 340, "rose"), + ("sale-3.png", 280, 340, "cyan"), + ("sale-4.png", 280, 340, "purple"), + ("sale-5.png", 280, 340, "cyan"), + ("sale-6.png", 280, 340, "rose"), + ("sale-7.png", 280, 340, "purple"), + ("sale-8.png", 280, 340, "cyan"), + ("banner-dual-1.png", 640, 280, "purple"), + ("banner-dual-2.png", 640, 280, "cyan"), + ("top-1.png", 280, 340, "purple"), + ("top-2.png", 280, 340, "cyan"), + ("top-3.png", 280, 340, "rose"), + ("top-4.png", 280, 340, "purple"), + ("top-5.png", 280, 340, "cyan"), + ("top-6.png", 280, 340, "rose"), + ("top-7.png", 280, 340, "purple"), + ("top-8.png", 280, 340, "cyan"), + ("banner-triple-1.png", 420, 240, "rose"), + ("banner-triple-2.png", 420, 240, "cyan"), + ("banner-triple-3.png", 420, 240, "purple"), + ("yeganeh-1.png", 280, 340, "purple"), + ("yeganeh-2.png", 280, 340, "rose"), + ("yeganeh-3.png", 280, 340, "cyan"), + ("yeganeh-4.png", 280, 340, "purple"), + ("yeganeh-5.png", 280, 340, "rose"), + ("yeganeh-6.png", 280, 340, "cyan"), + ("about.png", 560, 400, "purple"), + ("blog-1.png", 360, 220, "purple"), + ("blog-2.png", 360, 220, "cyan"), + ("blog-3.png", 360, 220, "rose"), + ("blog-4.png", 360, 220, "purple"), + ("enamad.png", 80, 80, "purple"), + ("samandehi.png", 80, 80, "cyan"), +] + + +def chunk(tag: bytes, data: bytes) -> bytes: + return struct.pack(">I", len(data)) + tag + data + struct.pack(">I", zlib.crc32(tag + data) & 0xFFFFFFFF) + + +def write_png(path: Path, width: int, height: int, rgb: tuple[int, int, int]) -> None: + row = b"\x00" + bytes(rgb) * width + raw = row * height + with path.open("wb") as handle: + handle.write(b"\x89PNG\r\n\x1a\n") + handle.write(chunk(b"IHDR", struct.pack(">IIBBBBB", width, height, 8, 2, 0, 0, 0))) + handle.write(chunk(b"IDAT", zlib.compress(raw, 9))) + handle.write(chunk(b"IEND", b"")) + + +def main() -> None: + out = Path(__file__).resolve().parents[1] / "public" / "images" + out.mkdir(parents=True, exist_ok=True) + for name, width, height, tone in IMAGES: + write_png(out / name, width, height, COLORS[tone]) + print(name) + + +if __name__ == "__main__": + main() diff --git a/src/app/page.tsx b/src/app/page.tsx index 420f456..834b474 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,6 +1,8 @@ import { About } from "@/components/About"; import { DualBanners, TripleBanners } from "@/components/Banners"; import { BlogCarousel } from "@/components/BlogCarousel"; +import { Contact } from "@/components/Contact"; +import { Faq } from "@/components/Faq"; import { FeaturedCategories } from "@/components/FeaturedCategories"; import { Features } from "@/components/Features"; import { Footer } from "@/components/Footer"; @@ -42,6 +44,8 @@ export default function Home() { /> + +