Part of landing page ui done
parent
715b611635
commit
fc919e0871
|
|
@ -0,0 +1,61 @@
|
|||
"use client";
|
||||
import React from "react";
|
||||
import Navbar from "../../components/Navbar";
|
||||
import { boxItems } from "@/constants";
|
||||
import Image from "next/image";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
export default function Landing() {
|
||||
return (
|
||||
<div>
|
||||
<div
|
||||
style={{ backgroundSize: "100%" }}
|
||||
className=" bg-mainBg w-full bg-contain bg-top lg:bg-center bg-no-repeat h-[20rem] md:h-[24rem] xl:h-[33rem] "
|
||||
>
|
||||
<Navbar />
|
||||
</div>
|
||||
<div className=" w-[60%] mx-auto">
|
||||
<div className="flex justify-between gap-6 w-full mx-auto -mt-24">
|
||||
{boxItems.map((item) => {
|
||||
return (
|
||||
<div className=" bg-white shadow-md rounded-lg p-10 h-64 w-64 flex items-end justify-center z-10 relative">
|
||||
<p className=" z-10">{item.name}</p>
|
||||
<Image
|
||||
alt="icon"
|
||||
src={item.icon}
|
||||
width={20}
|
||||
height={20}
|
||||
quality={100}
|
||||
className={cn(
|
||||
" w-[80%] h-[80%] absolute left-2 top-6",
|
||||
item.id == 1 && "left-8"
|
||||
)}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
<div className=" border mt-6 mx-auto py-3 px-4 rounded-lg">
|
||||
آخرین اخبار
|
||||
</div>
|
||||
<div className=" w-full mt-6 flex gap-6">
|
||||
<div className=" w-1/2 border rounded-lg">
|
||||
<Image
|
||||
alt="picture"
|
||||
src="/img/pic1.png"
|
||||
height={500}
|
||||
width={500}
|
||||
style={{ objectFit: "contain" }}
|
||||
className="w-1/2 h-full rounded-r-lg"
|
||||
/>
|
||||
<div className=" w-1/2 h-full"></div>
|
||||
</div>
|
||||
<div className=" w-1/2">
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
@ -73,4 +73,14 @@
|
|||
body {
|
||||
@apply bg-background text-foreground;
|
||||
}
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "yekan";
|
||||
src: url(../fonts/iranyekanwebregularfanum.ttf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "yekan-m";
|
||||
src: url(../fonts/iranyekanwebmediumfanum.ttf);
|
||||
}
|
||||
|
|
@ -1,22 +1,22 @@
|
|||
import type { Metadata } from 'next'
|
||||
import { Inter } from 'next/font/google'
|
||||
import './globals.css'
|
||||
import type { Metadata } from "next";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
|
||||
const inter = Inter({ subsets: ['latin'] })
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Create Next App',
|
||||
description: 'Generated by create next app',
|
||||
}
|
||||
title: "Create Next App",
|
||||
description: "Generated by create next app",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}</body>
|
||||
<html lang="fa" dir="rtl">
|
||||
<body className="font-[yekan-m]">{children}</body>
|
||||
</html>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
114
app/page.tsx
114
app/page.tsx
|
|
@ -1,114 +1,6 @@
|
|||
import Image from 'next/image'
|
||||
import Landing from "@/app/components/Landing";
|
||||
import Image from "next/image";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main className="flex min-h-screen flex-col items-center justify-between p-24">
|
||||
<p className='text-red-400'>fdfdfdf</p>
|
||||
<div className="z-10 max-w-5xl w-full items-center justify-between font-mono text-sm lg:flex">
|
||||
<p className="fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30">
|
||||
Get started by editing
|
||||
<code className="font-mono font-bold">app/page.tsx</code>
|
||||
</p>
|
||||
<div className="fixed bottom-0 left-0 flex h-48 w-full items-end justify-center bg-gradient-to-t from-white via-white dark:from-black dark:via-black lg:static lg:h-auto lg:w-auto lg:bg-none">
|
||||
<a
|
||||
className="pointer-events-none flex place-items-center gap-2 p-8 lg:pointer-events-auto lg:p-0"
|
||||
href="https://vercel.com?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
By{' '}
|
||||
<Image
|
||||
src="/vercel.svg"
|
||||
alt="Vercel Logo"
|
||||
className="dark:invert"
|
||||
width={100}
|
||||
height={24}
|
||||
priority
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="relative flex place-items-center before:absolute before:h-[300px] before:w-[480px] before:-translate-x-1/2 before:rounded-full before:bg-gradient-radial before:from-white before:to-transparent before:blur-2xl before:content-[''] after:absolute after:-z-20 after:h-[180px] after:w-[240px] after:translate-x-1/3 after:bg-gradient-conic after:from-sky-200 after:via-blue-200 after:blur-2xl after:content-[''] before:dark:bg-gradient-to-br before:dark:from-transparent before:dark:to-blue-700 before:dark:opacity-10 after:dark:from-sky-900 after:dark:via-[#0141ff] after:dark:opacity-40 before:lg:h-[360px] z-[-1]">
|
||||
<Image
|
||||
className="relative dark:drop-shadow-[0_0_0.3rem_#ffffff70] dark:invert"
|
||||
src="/next.svg"
|
||||
alt="Next.js Logo"
|
||||
width={180}
|
||||
height={37}
|
||||
priority
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="mb-32 grid text-center lg:max-w-5xl lg:w-full lg:mb-0 lg:grid-cols-4 lg:text-left">
|
||||
<a
|
||||
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
||||
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<h2 className={`mb-3 text-2xl font-semibold`}>
|
||||
Docs{' '}
|
||||
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
|
||||
->
|
||||
</span>
|
||||
</h2>
|
||||
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
|
||||
Find in-depth information about Next.js features and API.
|
||||
</p>
|
||||
</a>
|
||||
|
||||
<a
|
||||
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
||||
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<h2 className={`mb-3 text-2xl font-semibold`}>
|
||||
Learn{' '}
|
||||
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
|
||||
->
|
||||
</span>
|
||||
</h2>
|
||||
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
|
||||
Learn about Next.js in an interactive course with quizzes!
|
||||
</p>
|
||||
</a>
|
||||
|
||||
<a
|
||||
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
||||
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<h2 className={`mb-3 text-2xl font-semibold`}>
|
||||
Templates{' '}
|
||||
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
|
||||
->
|
||||
</span>
|
||||
</h2>
|
||||
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
|
||||
Explore starter templates for Next.js.
|
||||
</p>
|
||||
</a>
|
||||
|
||||
<a
|
||||
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
||||
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<h2 className={`mb-3 text-2xl font-semibold`}>
|
||||
Deploy{' '}
|
||||
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
|
||||
->
|
||||
</span>
|
||||
</h2>
|
||||
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
|
||||
Instantly deploy your Next.js site to a shareable URL with Vercel.
|
||||
</p>
|
||||
</a>
|
||||
</div>
|
||||
</main>
|
||||
)
|
||||
return <Landing />;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,109 @@
|
|||
import React from "react";
|
||||
import { Input } from "./ui/input";
|
||||
import Image from "next/image";
|
||||
import { menuItems } from "@/constants";
|
||||
import Link from "next/link";
|
||||
import { Button } from "./ui/button";
|
||||
|
||||
export default function Navbar() {
|
||||
return (
|
||||
<div>
|
||||
<div className="flex justify-between items-center w-full p-2 z-10">
|
||||
<h1 className="bg-gradient-to-r from-gradient1 to-gradient2 inline-block text-transparent bg-clip-text">
|
||||
سال 1402 | مهارم تورم، رشد تولید
|
||||
</h1>
|
||||
<div className=" flex items-center gap-10">
|
||||
<div className=" relative flex bg-gray-300 rounded-xl items-center">
|
||||
<Input
|
||||
className=" h-9 bg-gray-300 border-none focus-visible:none w-64 rounded-xl"
|
||||
placeholder="جستجو..."
|
||||
/>
|
||||
<button>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="18"
|
||||
height="19"
|
||||
viewBox="0 0 18 19"
|
||||
fill="none"
|
||||
className=" ml-2"
|
||||
>
|
||||
<path
|
||||
d="M8.25 14.75C11.5637 14.75 14.25 12.0637 14.25 8.75C14.25 5.43629 11.5637 2.75 8.25 2.75C4.93629 2.75 2.25 5.43629 2.25 8.75C2.25 12.0637 4.93629 14.75 8.25 14.75Z"
|
||||
stroke="black"
|
||||
stroke-opacity="0.9"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
/>
|
||||
<path
|
||||
d="M15.75 16.25L12.4875 12.9875"
|
||||
stroke="black"
|
||||
stroke-opacity="0.9"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
<div className=" flex items-center gap-3 ml-4">
|
||||
<p className="bg-gradient-to-r from-gradient1 to-gradient2 inline-block text-transparent bg-clip-text text-sm">
|
||||
امروز: چهارشنبه 24 آبان 1402
|
||||
</p>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="18"
|
||||
height="19"
|
||||
viewBox="0 0 18 19"
|
||||
fill="none"
|
||||
>
|
||||
<g clip-path="url(#clip0_113_99)">
|
||||
<path
|
||||
d="M11.2875 4.25C12.02 4.39292 12.6932 4.75119 13.221 5.27895C13.7488 5.80671 14.107 6.47995 14.2499 7.2125L11.2875 4.25ZM11.2875 1.25C12.8094 1.41908 14.2286 2.10063 15.3121 3.18276C16.3956 4.26488 17.079 5.68326 17.2499 7.205L11.2875 1.25ZM16.4999 13.19V15.44C16.5008 15.6489 16.458 15.8556 16.3743 16.047C16.2907 16.2384 16.1679 16.4102 16.014 16.5514C15.8601 16.6926 15.6784 16.8001 15.4805 16.867C15.2826 16.9339 15.073 16.9588 14.8649 16.94C12.5571 16.6892 10.3402 15.9006 8.39245 14.6375C6.58032 13.486 5.04395 11.9496 3.89245 10.1375C2.62493 8.1809 1.83613 5.95325 1.58995 3.635C1.57121 3.4276 1.59586 3.21857 1.66233 3.02122C1.72879 2.82387 1.83563 2.64252 1.97602 2.48872C2.11642 2.33491 2.2873 2.21203 2.47779 2.12789C2.66828 2.04375 2.87421 2.0002 3.08245 2H5.33245C5.69643 1.99642 6.04929 2.12531 6.32527 2.36265C6.60125 2.59999 6.78151 2.92959 6.83245 3.29C6.92742 4.01005 7.10354 4.71705 7.35745 5.3975C7.45836 5.66594 7.4802 5.95769 7.42038 6.23816C7.36056 6.51863 7.2216 6.77608 7.01995 6.98L6.06745 7.9325C7.13512 9.81016 8.68979 11.3648 10.5675 12.4325L11.5199 11.48C11.7239 11.2784 11.9813 11.1394 12.2618 11.0796C12.5423 11.0198 12.834 11.0416 13.1024 11.1425C13.7829 11.3964 14.4899 11.5725 15.21 11.6675C15.5743 11.7189 15.907 11.9024 16.1448 12.1831C16.3827 12.4638 16.5091 12.8222 16.4999 13.19Z"
|
||||
stroke="black"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_113_99">
|
||||
<rect
|
||||
width="18"
|
||||
height="18"
|
||||
fill="white"
|
||||
transform="translate(0 0.5)"
|
||||
/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className=" bg-white h-16 shadow-md flex items-center justify-between py-2 px-8">
|
||||
<div className=" flex ">
|
||||
<div className=" flex items-center ">
|
||||
<Image
|
||||
src="/img/logo.png"
|
||||
quality={100}
|
||||
alt="log"
|
||||
width={32}
|
||||
height={32}
|
||||
/>
|
||||
<div className=" text-brown flex flex-col text-center w-40">
|
||||
<h1 className="text-[21px] w-full">ســــــــوت زن</h1>
|
||||
<h1 className="text-[9px]">سامانه افشار فساد شهرداری</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div className=" flex gap-5 items-center mr-8">
|
||||
{menuItems.map((item) => {
|
||||
return (
|
||||
<Link key={item.id} href="/">
|
||||
<div className=" text-sm">{item.name}</div>
|
||||
</Link>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
<Button className=" bg-blue hover:bg-blue/90 rounded-lg">ورود به پنل کاربری</Button>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
import * as React from "react"
|
||||
import { Slot } from "@radix-ui/react-slot"
|
||||
import { cva, type VariantProps } from "class-variance-authority"
|
||||
|
||||
import { cn } from "@/lib/utils"
|
||||
|
||||
const buttonVariants = cva(
|
||||
"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
||||
{
|
||||
variants: {
|
||||
variant: {
|
||||
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
||||
destructive:
|
||||
"bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
||||
outline:
|
||||
"border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
||||
secondary:
|
||||
"bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
||||
ghost: "hover:bg-accent hover:text-accent-foreground",
|
||||
link: "text-primary underline-offset-4 hover:underline",
|
||||
},
|
||||
size: {
|
||||
default: "h-10 px-4 py-2",
|
||||
sm: "h-9 rounded-md px-3",
|
||||
lg: "h-11 rounded-md px-8",
|
||||
icon: "h-10 w-10",
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
variant: "default",
|
||||
size: "default",
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
export interface ButtonProps
|
||||
extends React.ButtonHTMLAttributes<HTMLButtonElement>,
|
||||
VariantProps<typeof buttonVariants> {
|
||||
asChild?: boolean
|
||||
}
|
||||
|
||||
const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
|
||||
({ className, variant, size, asChild = false, ...props }, ref) => {
|
||||
const Comp = asChild ? Slot : "button"
|
||||
return (
|
||||
<Comp
|
||||
className={cn(buttonVariants({ variant, size, className }))}
|
||||
ref={ref}
|
||||
{...props}
|
||||
/>
|
||||
)
|
||||
}
|
||||
)
|
||||
Button.displayName = "Button"
|
||||
|
||||
export { Button, buttonVariants }
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
import * as React from "react"
|
||||
|
||||
import { cn } from "@/lib/utils"
|
||||
|
||||
export interface InputProps
|
||||
extends React.InputHTMLAttributes<HTMLInputElement> {}
|
||||
|
||||
const Input = React.forwardRef<HTMLInputElement, InputProps>(
|
||||
({ className, type, ...props }, ref) => {
|
||||
return (
|
||||
<input
|
||||
type={type}
|
||||
className={cn(
|
||||
"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
|
||||
className
|
||||
)}
|
||||
ref={ref}
|
||||
{...props}
|
||||
/>
|
||||
)
|
||||
}
|
||||
)
|
||||
Input.displayName = "Input"
|
||||
|
||||
export { Input }
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
export const menuItems = [
|
||||
{ id: 1, name: "صفحه اصلی" },
|
||||
{ id: 2, name: "اخبار" },
|
||||
{ id: 3, name: "درباره ما" },
|
||||
{ id: 4, name: "تماس با ما" },
|
||||
{ id: 5, name: "پیگیری" },
|
||||
];
|
||||
|
||||
export const boxItems = [
|
||||
{ id: 1, name: "ثبت شکایت", icon: "/img/box1.svg" },
|
||||
{ id: 2, name: "پیگیری شکایت", icon: "/img/box2.svg" },
|
||||
{ id: 3, name: "مشاهده آمار", icon: "/img/box3.svg" },
|
||||
];
|
||||
|
|
@ -8,6 +8,7 @@
|
|||
"name": "sootzani",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@radix-ui/react-slot": "^1.0.2",
|
||||
"@tanstack/react-query": "^5.8.7",
|
||||
"class-variance-authority": "^0.7.0",
|
||||
"clsx": "^2.0.0",
|
||||
|
|
@ -376,6 +377,41 @@
|
|||
"node": ">= 8"
|
||||
}
|
||||
},
|
||||
"node_modules/@radix-ui/react-compose-refs": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.0.1.tgz",
|
||||
"integrity": "sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw==",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "*",
|
||||
"react": "^16.8 || ^17.0 || ^18.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@types/react": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/@radix-ui/react-slot": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
|
||||
"integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@radix-ui/react-compose-refs": "1.0.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "*",
|
||||
"react": "^16.8 || ^17.0 || ^18.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@types/react": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/@rushstack/eslint-patch": {
|
||||
"version": "1.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.6.0.tgz",
|
||||
|
|
@ -443,13 +479,13 @@
|
|||
"version": "15.7.11",
|
||||
"resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz",
|
||||
"integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==",
|
||||
"dev": true
|
||||
"devOptional": true
|
||||
},
|
||||
"node_modules/@types/react": {
|
||||
"version": "18.2.38",
|
||||
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.38.tgz",
|
||||
"integrity": "sha512-cBBXHzuPtQK6wNthuVMV6IjHAFkdl/FOPFIlkd81/Cd1+IqkHu/A+w4g43kaQQoYHik/ruaQBDL72HyCy1vuMw==",
|
||||
"dev": true,
|
||||
"devOptional": true,
|
||||
"dependencies": {
|
||||
"@types/prop-types": "*",
|
||||
"@types/scheduler": "*",
|
||||
|
|
@ -469,7 +505,7 @@
|
|||
"version": "0.16.8",
|
||||
"resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz",
|
||||
"integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==",
|
||||
"dev": true
|
||||
"devOptional": true
|
||||
},
|
||||
"node_modules/@typescript-eslint/parser": {
|
||||
"version": "6.12.0",
|
||||
|
|
@ -1152,7 +1188,7 @@
|
|||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz",
|
||||
"integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==",
|
||||
"dev": true
|
||||
"devOptional": true
|
||||
},
|
||||
"node_modules/damerau-levenshtein": {
|
||||
"version": "1.0.8",
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@radix-ui/react-slot": "^1.0.2",
|
||||
"@tanstack/react-query": "^5.8.7",
|
||||
"class-variance-authority": "^0.7.0",
|
||||
"clsx": "^2.0.0",
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
|
|
@ -0,0 +1,17 @@
|
|||
<svg width="290" height="290" viewBox="0 0 290 290" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Layer_1" clip-path="url(#clip0_171_173)">
|
||||
<path id="Vector" d="M142.649 253.82L100.248 273.089C98.0585 274.084 95.4625 273.114 94.4673 270.925L16.9043 100.256C15.9091 98.0658 16.8855 95.4722 19.0753 94.477L155.402 32.5215C157.592 31.5263 160.188 32.4963 161.183 34.6861L172.646 59.9107C173.94 62.7574 177.294 64.0151 180.136 62.7233C182.979 61.4315 184.237 58.078 182.943 55.2314L171.479 30.0067C167.902 22.1366 158.593 18.6381 150.719 22.2169L14.3923 84.1725C6.51756 87.7513 3.03117 97.0648 6.60785 104.935L84.1709 275.604C87.7476 283.474 97.0566 286.973 104.931 283.394L147.332 264.124C150.175 262.832 151.432 259.479 150.139 256.632C148.845 253.786 145.491 252.528 142.649 253.82Z" fill="black" fill-opacity="0.1"/>
|
||||
<path id="Vector_2" d="M230.089 172.639C227.246 173.93 225.988 177.284 227.282 180.13L238.746 205.355C239.741 207.545 238.765 210.138 236.575 211.134L211.349 222.598C208.506 223.89 207.249 227.243 208.542 230.09C209.836 232.936 213.19 234.194 216.032 232.902L241.258 221.438C249.132 217.859 252.619 208.546 249.042 200.676L237.578 175.451C236.285 172.604 232.931 171.347 230.089 172.639Z" fill="black" fill-opacity="0.1"/>
|
||||
<path id="Vector_3" d="M74.7409 149.992C71.8985 151.284 70.6406 154.638 71.9343 157.484C73.228 160.331 76.5815 161.589 79.424 160.297L96.599 152.491C99.4414 151.2 100.699 147.846 99.4057 145C98.112 142.153 94.7584 140.895 91.9159 142.187L74.7409 149.992Z" fill="black" fill-opacity="0.1"/>
|
||||
<path id="Vector_4" d="M159.518 117.681C158.224 114.834 154.871 113.576 152.028 114.868L117.678 130.479C114.836 131.771 113.578 135.124 114.872 137.971C116.165 140.817 119.519 142.075 122.361 140.783L156.711 125.173C159.554 123.881 160.812 120.527 159.518 117.681Z" fill="black" fill-opacity="0.1"/>
|
||||
<path id="Vector_5" d="M89.5763 114.24L123.926 98.6294C126.769 97.3376 128.027 93.9841 126.733 91.1375C125.439 88.2909 122.086 87.0331 119.243 88.3249L84.8932 103.936C82.0508 105.228 80.7929 108.581 82.0866 111.428C83.3803 114.274 86.7338 115.532 89.5763 114.24Z" fill="black" fill-opacity="0.1"/>
|
||||
<path id="Vector_6" d="M95.0342 194.645L137.972 175.132C140.814 173.84 142.072 170.487 140.778 167.64C139.485 164.793 136.131 163.536 133.289 164.827L90.3511 184.341C87.5087 185.633 86.2508 188.986 87.5445 191.833C88.8381 194.679 92.1917 195.937 95.0342 194.645Z" fill="black" fill-opacity="0.1"/>
|
||||
<path id="Vector_7" d="M123.136 210.884L105.961 218.689C103.119 219.981 101.861 223.335 103.155 226.181C104.448 229.028 107.802 230.286 110.644 228.994L127.819 221.188C130.662 219.897 131.92 216.543 130.626 213.697C129.332 210.85 125.979 209.592 123.136 210.884Z" fill="black" fill-opacity="0.1"/>
|
||||
<path id="Vector_8" d="M237.546 88.1872L200.076 74.134C197.147 73.0355 193.893 74.5146 192.798 77.4416L150.634 189.85C150.273 190.812 150.177 191.855 150.366 192.863L157.388 231.114C157.749 233.069 159.109 234.694 160.97 235.392C162.389 235.928 163.945 235.863 165.298 235.248C165.718 235.057 166.112 234.816 166.477 234.526L196.924 210.328C197.727 209.689 198.343 208.844 198.701 207.889L240.866 95.48C241.964 92.5512 240.483 89.2924 237.555 88.1939L237.546 88.1872ZM188.65 202.438L166.813 219.796L161.784 192.362L167.408 177.367L194.283 187.44L188.656 202.44L188.65 202.438ZM198.252 176.84L171.377 166.768L201.403 86.7202L228.275 96.7987L198.252 176.84Z" fill="black" fill-opacity="0.1"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_171_173">
|
||||
<rect width="218.83" height="218.83" fill="white" transform="translate(0.119873 90.6588) rotate(-24.4401)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
|
|
@ -0,0 +1,21 @@
|
|||
<svg width="302" height="302" viewBox="0 0 302 302" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Livello_1" clip-path="url(#clip0_171_290)">
|
||||
<path id="Vector" d="M146.941 217.212L152.415 229.463C155.133 235.547 162.265 238.274 168.349 235.556L275.233 187.8C281.317 185.082 284.044 177.951 281.326 171.867L230.585 58.3009L153.274 28.7398L88.8127 57.5408C82.7285 60.2591 80.0018 67.3904 82.7201 73.4746L102.047 116.732" stroke="black" stroke-opacity="0.1" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_2" d="M109.117 132.556L139.518 200.597" stroke="black" stroke-opacity="0.1" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_3" d="M153.274 28.7398L230.585 58.3009L186.429 78.0294C181.303 80.3201 175.293 78.0222 173.002 72.8954L153.274 28.7398Z" stroke="black" stroke-opacity="0.1" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<g id="Group">
|
||||
<path id="Vector_4" d="M133.488 142.533L164.759 128.562" stroke="black" stroke-opacity="0.1" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_5" d="M148.492 176.115L177.338 163.227" stroke="black" stroke-opacity="0.1" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_6" d="M140.991 159.326L175.818 143.765" stroke="black" stroke-opacity="0.1" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<path id="Vector_7" d="M177.453 192.878C197.971 177.177 201.876 147.815 186.175 127.297C170.473 106.779 141.112 102.874 120.594 118.575C100.076 134.277 96.1709 163.638 111.872 184.156C127.574 204.674 156.935 208.579 177.453 192.878Z" stroke="black" stroke-opacity="0.1" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_8" d="M185.93 203.968C212.559 183.583 217.621 145.469 197.236 118.839C176.85 92.2094 138.736 87.1475 112.106 107.533C85.4767 127.919 80.4149 166.033 100.801 192.662C121.186 219.292 159.3 224.354 185.93 203.968Z" stroke="black" stroke-opacity="0.1" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_9" d="M96.6699 292.652C102.325 294.815 108.721 291.957 110.883 286.302L128.082 241.322C130.244 235.667 127.386 229.271 121.732 227.109C116.077 224.946 109.68 227.804 107.518 233.459L90.3194 278.439C88.1572 284.094 91.0152 290.49 96.6699 292.652Z" stroke="black" stroke-opacity="0.1" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_10" d="M127.141 212.96L122.121 226.09" stroke="black" stroke-opacity="0.1" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_171_290">
|
||||
<rect width="228.442" height="228.442" fill="white" transform="translate(0 93.1881) rotate(-24.0749)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
|
|
@ -0,0 +1,18 @@
|
|||
<svg width="292" height="268" viewBox="0 0 292 268" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="_أ‘أ«أ®أ©_2" clip-path="url(#clip0_171_188)">
|
||||
<path id="Vector" d="M105.856 199.002L124.302 242.839L89.8853 257.321L73.235 217.752" stroke="black" stroke-opacity="0.15" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_2" d="M62.546 192.349L54.886 174.145L89.3031 159.663L95.3846 174.115" stroke="black" stroke-opacity="0.15" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_3" d="M151.257 162.485L175.928 221.116L141.511 235.598L119.516 183.327" stroke="black" stroke-opacity="0.15" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_4" d="M108.874 158.035L86.0411 103.773L120.458 89.2907L140.754 137.524" stroke="black" stroke-opacity="0.15" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_5" d="M201.796 138.203L227.545 199.396L193.137 213.874L171.165 161.659" stroke="black" stroke-opacity="0.15" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_6" d="M160.499 136.311L149.194 109.443L183.602 94.9649L192.196 115.39" stroke="black" stroke-opacity="0.15" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_7" d="M239.327 82.9841L279.17 177.673L244.753 192.155L217.049 126.316" stroke="black" stroke-opacity="0.15" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_8" d="M201.962 90.4613L173.13 21.9403L207.547 7.45811L227.408 54.6596" stroke="black" stroke-opacity="0.15" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_9" d="M50.8816 204.721C74.5598 207.028 97.4699 195.598 109.864 175.291C118.126 161.769 132.305 152.949 148.089 151.526L156.033 150.809C173.917 149.196 189.983 139.214 199.34 123.884L239.049 58.8857" stroke="black" stroke-opacity="0.15" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_171_188">
|
||||
<rect width="236.01" height="190.67" fill="white" transform="translate(0 91.5359) rotate(-22.8206)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
|
|
@ -16,7 +16,15 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
extend: {
|
||||
backgroundImage: {
|
||||
mainBg: "url('/img/bg.png')",
|
||||
},
|
||||
colors: {
|
||||
gradient1: "#E44D26",
|
||||
gradient2: "#F16529 ",
|
||||
blue: "#003778",
|
||||
yellow: "#F7A600",
|
||||
brown: "#D28249",
|
||||
border: "hsl(var(--border))",
|
||||
input: "hsl(var(--input))",
|
||||
ring: "hsl(var(--ring))",
|
||||
|
|
|
|||
Loading…
Reference in New Issue