From fe22acac57e28882467ff75b84be8010c33de266 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Tue, 14 Jul 2026 16:44:30 +0330 Subject: [PATCH] banner section compeleted --- app/components/Button.tsx | 27 +++++++++++++++++++++++++++ app/home/components/BannerSection.tsx | 16 ++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 app/components/Button.tsx diff --git a/app/components/Button.tsx b/app/components/Button.tsx new file mode 100644 index 0000000..c51a8c1 --- /dev/null +++ b/app/components/Button.tsx @@ -0,0 +1,27 @@ +import { cn } from "@/app/lib/cn"; +import { FC } from "react"; + +export type ButtonVariant = "primary" | "outline"; + +type Props = { + variant?: ButtonVariant; + className?: string; +} & React.ButtonHTMLAttributes; + +const Button: FC = ({ variant = "primary", className, children, ...rest }) => { + return ( + + ); +}; + +export default Button; diff --git a/app/home/components/BannerSection.tsx b/app/home/components/BannerSection.tsx index 2be0aac..2881333 100644 --- a/app/home/components/BannerSection.tsx +++ b/app/home/components/BannerSection.tsx @@ -1,4 +1,6 @@ +import Button from "@/app/components/Button"; import banner from "@/assets/images/banner.png"; +import { ArrowCircleLeft } from "iconsax-reactjs"; import Image from "next/image"; import { FC } from "react"; @@ -18,6 +20,20 @@ const BannerSection: FC = () => {
خدمات مشتریان بی‌نظیر
سیستم سفارش‌گیری ساده
+ +
+ + +