anjam shod

This commit is contained in:
ahmadrezabd
2025-12-15 16:08:40 +03:30
parent b36f1cc22e
commit adc5122b0a
27 changed files with 450 additions and 389 deletions
+60 -84
View File
@@ -6,6 +6,7 @@ import Image from "next/image";
import { TextEffect } from "@/components/ui/text-effect";
import { AnimatedGroup } from "@/components/ui/animated-group";
import { HeroHeader } from "./header";
import { LogoItem } from "@/components/ui/logo-item";
const transitionVariants = {
item: {
@@ -39,7 +40,7 @@ export default function HeroSection() {
<div className="h-320 absolute left-0 top-0 w-60 -rotate-45 rounded-full bg-[radial-gradient(50%_50%_at_50%_50%,hsla(0,0%,85%,.06)_0,hsla(0,0%,45%,.02)_80%,transparent_100%)] [translate:5%_-50%]" />
<div className="h-320 -translate-y-87.5 absolute left-0 top-0 w-60 -rotate-45 bg-[radial-gradient(50%_50%_at_50%_50%,hsla(0,0%,85%,.04)_0,hsla(0,0%,45%,.02)_80%,transparent_100%)]" />
</div>
<section className="bg-white">
<section className="bg-background">
<div className="relative pt-24 md:pt-36">
<AnimatedGroup
variants={{
@@ -92,7 +93,7 @@ export default function HeroSection() {
<span className="text-foreground text-sm">
معرفی نسل جدید یکپارچه‌سازی و ارتباطات هوشمند
</span>
<span className="dark:border-background block h-4 w-0.5 border-s bg-white dark:bg-zinc-700"></span>
<span className="dark:border-background block h-4 w-0.5 border-s bg-card dark:bg-muted"></span>
<div className="bg-background group-hover:bg-muted size-6 overflow-hidden rounded-full duration-500">
<div className="flex w-12 translate-x-1/2 duration-500 ease-in-out group-hover:translate-x-0">
@@ -174,16 +175,9 @@ export default function HeroSection() {
<div className="mask-b-from-55% relative -mr-56 mt-8 overflow-hidden px-2 sm:mr-0 sm:mt-12 md:mt-20">
<div className="inset-shadow-2xs ring-background dark:inset-shadow-white/20 bg-background relative mx-auto max-w-6xl overflow-hidden rounded-2xl border p-4 shadow-lg shadow-zinc-950/15 ring-1">
<Image
className="bg-background aspect-15/8 relative hidden rounded-2xl dark:block object-cover"
src="https://images.unsplash.com/photo-1557683316-973673baf926?w=2700&h=1440&fit=crop&q=80"
alt="Modern abstract technology"
width={2700}
height={1440}
/>
<Image
className="z-2 border-border/25 aspect-15/8 relative rounded-2xl border dark:hidden object-cover"
src="https://images.unsplash.com/photo-1557682250-33bd709cbe85?w=2700&h=1440&fit=crop&q=80"
alt="Modern abstract design"
className="bg-background aspect-15/8 relative rounded-2xl object-contain"
src="/assets/hero-integration.png.png"
alt="یکپارچه‌سازی سیستم‌ها و شبکه دیجیتال"
width={2700}
height={1440}
/>
@@ -192,91 +186,73 @@ export default function HeroSection() {
</AnimatedGroup>
</div>
</section>
<section className="bg-white pb-16 pt-16 md:pb-32">
<section className="bg-background pb-16 pt-16 md:pb-32">
<div className="group relative m-auto max-w-5xl px-6">
<div className="absolute inset-0 z-10 flex scale-95 items-center justify-center opacity-0 duration-500 group-hover:scale-100 group-hover:opacity-100">
<Link
href="/"
className="block text-sm duration-150 hover:text-accent transition-colors"
>
<span> با مشتریان ما آشنا شوید</span>
<span> اتصال به سایر سیستم ها </span>
<ChevronRight className="ml-1 inline-block size-3" />
</Link>
</div>
<div className="group-hover:blur-xs mx-auto mt-12 grid max-w-2xl grid-cols-4 gap-x-12 gap-y-8 transition-all duration-500 group-hover:opacity-50 sm:gap-x-16 sm:gap-y-14">
<div className="flex">
<img
className="mx-auto h-5 w-fit dark:invert"
src="https://html.tailus.io/blocks/customers/nvidia.svg"
alt="Nvidia Logo"
height="20"
width="auto"
<div className="group-hover:blur-xs mx-auto mt-12 grid max-w-4xl grid-cols-5 gap-x-12 gap-y-8 transition-all duration-500 group-hover:opacity-50 sm:gap-x-16 sm:gap-y-14">
<LogoItem
icon="logos:telegram"
alt="Telegram Logo"
size="md"
className="translate-x-1"
/>
<LogoItem
icon="logos:whatsapp-icon"
alt="WhatsApp Logo"
size="md"
className="translate-x-4"
/>
<LogoItem
icon="logos:wordpress-icon"
alt="WordPress Logo"
size="md"
className="-translate-x-2"
/>
<LogoItem
icon="logos:microsoft-windows-icon"
alt="Microsoft Windows Logo"
size="md"
className="translate-x-2"
/>
<LogoItem
icon="logos:google-icon"
alt="Google Logo"
size="md"
className="translate-x-5"
/>
<div className="col-span-5 flex justify-center gap-12 sm:gap-16">
<LogoItem
icon="logos:zapier-icon"
alt="Zapier Logo"
size="md"
className="translate-x-0"
/>
</div>
<div className="flex">
<img
className="mx-auto h-4 w-fit dark:invert"
src="https://html.tailus.io/blocks/customers/column.svg"
alt="Column Logo"
height="16"
width="auto"
<LogoItem
icon="logos:android-icon"
alt="Android Logo"
size="md"
className="translate-x-3"
/>
</div>
<div className="flex">
<img
className="mx-auto h-4 w-fit dark:invert"
src="https://html.tailus.io/blocks/customers/github.svg"
alt="GitHub Logo"
height="16"
width="auto"
<LogoItem
icon="logos:amp-icon"
alt="AMP Logo"
size="md"
className="-translate-x-1"
/>
</div>
<div className="flex">
<img
className="mx-auto h-5 w-fit dark:invert"
src="https://html.tailus.io/blocks/customers/nike.svg"
alt="Nike Logo"
height="20"
width="auto"
/>
</div>
<div className="flex">
<img
className="mx-auto h-5 w-fit dark:invert"
src="https://html.tailus.io/blocks/customers/lemonsqueezy.svg"
alt="Lemon Squeezy Logo"
height="20"
width="auto"
/>
</div>
<div className="flex">
<img
className="mx-auto h-4 w-fit dark:invert"
src="https://html.tailus.io/blocks/customers/laravel.svg"
alt="Laravel Logo"
height="16"
width="auto"
/>
</div>
<div className="flex">
<img
className="mx-auto h-7 w-fit dark:invert"
src="https://html.tailus.io/blocks/customers/lilly.svg"
alt="Lilly Logo"
height="28"
width="auto"
/>
</div>
<div className="flex">
<img
className="mx-auto h-6 w-fit dark:invert"
src="https://html.tailus.io/blocks/customers/openai.svg"
alt="OpenAI Logo"
height="24"
width="auto"
<LogoItem
icon="logos:ios"
alt="iOS Logo"
size="md"
className="translate-x-4"
/>
</div>
</div>