From 8e376560cdeda924f0d9b9e19097b5a43ee4ba4d Mon Sep 17 00:00:00 2001 From: Alireza Hassani Date: Mon, 24 Aug 2026 10:01:50 +0330 Subject: [PATCH] Create Saman Andish industrial website Build a responsive Persian Next.js experience with product discovery and dedicated company contact pages. Co-authored-by: Cursor --- .gitignore | 15 + AGENTS.md | 9 + Ai-data/prompt.txt | 16 + CLAUDE.md | 1 + app/about-us/page.tsx | 211 + app/components/InteriorShell.tsx | 187 + app/contact-us/ContactForm.tsx | 86 + app/contact-us/page.tsx | 158 + app/globals.css | 3038 +++++++++++++++ app/layout.tsx | 20 + app/page.tsx | 701 ++++ eslint.config.mjs | 14 + package-lock.json | 6259 ++++++++++++++++++++++++++++++ package.json | 30 + tsconfig.json | 29 + 15 files changed, 10774 insertions(+) create mode 100644 .gitignore create mode 100644 AGENTS.md create mode 100644 Ai-data/prompt.txt create mode 100644 CLAUDE.md create mode 100644 app/about-us/page.tsx create mode 100644 app/components/InteriorShell.tsx create mode 100644 app/contact-us/ContactForm.tsx create mode 100644 app/contact-us/page.tsx create mode 100644 app/globals.css create mode 100644 app/layout.tsx create mode 100644 app/page.tsx create mode 100644 eslint.config.mjs create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..67f0765 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +# dependencies +/node_modules + +# Next.js build output +/.next +/out + +# local files +.DS_Store +*.log +.env* + +# TypeScript +*.tsbuildinfo +next-env.d.ts diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..643577d --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,9 @@ + + +# This is NOT the Next.js you know + +This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` (resolved from this file's directory; in monorepos the `next` package may not be visible from the repo root) before writing any code. Heed deprecation notices. + +This block is written and re-added by `next dev` — verify at `node_modules/next/dist/server/lib/generate-agent-files.js`. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean. + + diff --git a/Ai-data/prompt.txt b/Ai-data/prompt.txt new file mode 100644 index 0000000..836aa9c --- /dev/null +++ b/Ai-data/prompt.txt @@ -0,0 +1,16 @@ +Create a website from this website +https://www.samanandish.co/ +Website is about heavy machinery seller and company, mainly in wire and cable industry +Website is not ssl but its ok to pass it + +You can use content and images +Lang:fa +Directions: rtl +Use next js +Design only homepage + +Use the same font for Persian font and cool industrial en font +Sections are the same +search is very important for this website + +I will connect product to backend later diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..43c994c --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +@AGENTS.md diff --git a/app/about-us/page.tsx b/app/about-us/page.tsx new file mode 100644 index 0000000..741539f --- /dev/null +++ b/app/about-us/page.tsx @@ -0,0 +1,211 @@ +import type { Metadata } from "next"; +import { + ArrowLeft, + Award, + CheckCircle2, + Factory, + Gauge, + Globe2, + Handshake, + Target, + Users, +} from "lucide-react"; +import Link from "next/link"; +import { InteriorFooter, InteriorHeader } from "../components/InteriorShell"; + +const assetBase = + "https://meshkee-templates.sas.amin.parminstorage.ir/sites/user_themes/SamanAndish_OcHaRXRqAo/assets/files"; + +export const metadata: Metadata = { + title: "درباره سامان اندیش | تجربه تخصصی صنعت سیم و کابل", + description: + "با تاریخچه، ارزش‌ها و توانمندی‌های تخصصی شرکت سامان اندیش در تأمین ماشین‌آلات صنعت سیم و کابل آشنا شوید.", +}; + +export default function AboutUsPage() { + return ( +
+ + +
+
+
+ ABOUT SAMAN ANDISH +

درباره سامان اندیش

+

+ بیش از دو دهه تجربه در پیوند فناوری جهانی با صنعت سیم و کابل ایران +

+
+ صفحه اصلی + / + درباره ما +
+
+
+ +
+
+
+ ماشین‌آلات صنعت سیم و کابل +
+ 25+ + سال تجربه تخصصی +
+
+
+ WHO WE ARE +

همراه صنعت، از انتخاب تا بهره‌برداری

+

+ سامان اندیش یک مجموعه مهندسی و بازرگانی تخصصی در حوزه ماشین‌آلات، + مواد اولیه و خدمات فنی صنعت سیم و کابل است. +

+

+ ما با شناخت عمیق از فرآیندهای تولید و همکاری با سازندگان معتبر + بین‌المللی، به کارخانه‌ها کمک می‌کنیم مناسب‌ترین راهکار را بر اساس + ظرفیت تولید، بودجه و برنامه توسعه خود انتخاب کنند. همکاری ما با + فروش دستگاه پایان نمی‌یابد؛ ارزیابی فنی، حمل، نصب، راه‌اندازی و + پشتیبانی، بخش جدایی‌ناپذیر تعهد ماست. +

+
+ {[ + "ارزیابی فنی پیش از خرید", + "شبکه تأمین بین‌المللی", + "نصب و راه‌اندازی تخصصی", + "پشتیبانی بلندمدت", + ].map((item) => ( + + + {item} + + ))} +
+
+
+
+ +
+
+ {[ + ["۲۵+", "سال تجربه"], + ["۱۲۰+", "ماشین‌آلات تأمین‌شده"], + ["۴۰+", "برند بین‌المللی"], + ["۸۰+", "مشتری صنعتی"], + ].map(([number, label]) => ( +
+ {number} + {label} +
+ ))} +
+
+ +
+
+
+ OUR PURPOSE +

آنچه مسیر ما را می‌سازد

+
+
+
+ + + + 01 +

ماموریت ما

+

+ ارائه راهکارهای صنعتی قابل اتکا که بهره‌وری، کیفیت و پایداری + خطوط تولید مشتریان را افزایش دهد. +

+
+
+ + + + 02 +

چشم‌انداز ما

+

+ تبدیل شدن به مرجع نخست تأمین و مهندسی ماشین‌آلات سیم و کابل در + بازار ایران و منطقه. +

+
+
+ + + + 03 +

تعهد ما

+

+ ساختن همکاری شفاف و بلندمدت؛ از نخستین مشاوره تا سال‌ها پس از + بهره‌برداری تجهیزات. +

+
+
+
+
+ +
+
+
+ WHY SAMAN ANDISH +

تخصصی که به تصمیم بهتر تبدیل می‌شود

+

+ هر پروژه را با شناخت دقیق نیاز تولید آغاز می‌کنیم و با ترکیب دانش + فنی، تجربه بازار و دسترسی به تأمین‌کنندگان جهانی، ریسک انتخاب و + خرید را کاهش می‌دهیم. +

+
+ {[ + [Factory, "شناخت فرآیند تولید", "تحلیل دقیق نیاز هر خط"], + [Gauge, "تمرکز بر بهره‌وری", "انتخاب اقتصادی و پایدار"], + [Award, "کیفیت قابل ارزیابی", "بازرسی و مستندسازی فنی"], + [Users, "تیم همراه", "پاسخ‌گویی در تمام مراحل"], + ].map(([Icon, title, text]) => { + const FeatureIcon = Icon as typeof Factory; + return ( +
+ + + {title as string} + {text as string} + +
+ ); + })} +
+
+
+ خدمات مهندسی سامان اندیش +
+ راهکار مناسب، + برای خط تولید شما +
+
+
+
+ +
+
+
+ شروع یک همکاری مطمئن +

برای توسعه خط تولید خود با ما گفتگو کنید.

+
+ + تماس با کارشناسان + + +
+
+ + +
+ ); +} diff --git a/app/components/InteriorShell.tsx b/app/components/InteriorShell.tsx new file mode 100644 index 0000000..4be27ae --- /dev/null +++ b/app/components/InteriorShell.tsx @@ -0,0 +1,187 @@ +"use client"; + +import { + ArrowUpLeft, + Camera, + ChevronLeft, + CircleUserRound, + Link as LinkIcon, + Mail, + MapPin, + Menu, + MessageCircle, + Phone, + Search, + Sparkles, + X, +} from "lucide-react"; +import Link from "next/link"; +import { useState } from "react"; + +const assetBase = + "https://meshkee-templates.sas.amin.parminstorage.ir/sites/user_themes/SamanAndish_OcHaRXRqAo/assets/files"; + +const navItems = [ + { label: "صفحه اصلی", href: "/" }, + { label: "محصولات", href: "/#products" }, + { label: "خدمات", href: "/#services" }, + { label: "اخبار", href: "/#news" }, + { label: "درباره ما", href: "/about-us", key: "about" }, + { label: "تماس با ما", href: "/contact-us", key: "contact" }, +]; + +export function InteriorHeader({ + active, +}: { + active?: "about" | "contact"; +}) { + const [mobileOpen, setMobileOpen] = useState(false); + + return ( + <> +
+
+

+ + شریک تخصصی صنعت سیم و کابل ایران +

+
+ + + info@samanandish.com + + + + + +98 21 8853 0256 + +
+
+
+
+
+ + سامان اندیش + + +
+ + + + + + درخواست مشاوره + + + +
+
+ {mobileOpen && ( + + )} +
+ + ); +} + +export function InteriorFooter() { + return ( +
+
+
+
+ سامان اندیش +

+ تأمین‌کننده تخصصی ماشین‌آلات و راهکارهای فنی صنعت سیم و کابل، با + تمرکز بر کیفیت، بهره‌وری و همکاری بلندمدت. +

+ +
+
+

دسترسی سریع

+ صفحه اصلی + ماشین‌آلات + درباره ما + تماس با ما +
+
+

خدمات ما

+ تأمین ماشین‌آلات + خدمات فنی و مهندسی + مواد اولیه + مشاوره خرید +
+
+

با ما در ارتباط باشید

+ + + + +
+ شماره تماس + 021 8853 0256 +
+
+ + + + +
+ ایمیل + info@samanandish.com +
+
+
+ + + +

تهران، خیابان مطهری، خیابان ترکمنستان

+
+
+
+
+

© ۱۴۰۵ سامان اندیش — تمامی حقوق محفوظ است.

+ ENGINEERED FOR INDUSTRY +
+
+ ); +} diff --git a/app/contact-us/ContactForm.tsx b/app/contact-us/ContactForm.tsx new file mode 100644 index 0000000..677c90f --- /dev/null +++ b/app/contact-us/ContactForm.tsx @@ -0,0 +1,86 @@ +"use client"; + +import { ArrowLeft, CheckCircle2 } from "lucide-react"; +import type { FormEvent } from "react"; +import { useState } from "react"; + +export default function ContactForm() { + const [submitted, setSubmitted] = useState(false); + + const submit = (event: FormEvent) => { + event.preventDefault(); + setSubmitted(true); + }; + + if (submitted) { + return ( +
+ +

پیام شما ثبت شد

+

کارشناسان سامان اندیش در اولین فرصت با شما تماس خواهند گرفت.

+ +
+ ); + } + + return ( +
+
+ + +
+
+ + +
+