From 86d14738a83218b6ba14129740b260db71d32b14 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 12 Jun 2026 23:42:39 +0000 Subject: [PATCH 1/6] Update src/app/layout.tsx --- src/app/layout.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index ae6449a..714f8ea 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -8,19 +8,17 @@ import Tag from "@/tag/Tag"; import { getVisualEditScript } from "@/utils/visual-edit-script"; const halant = Halant({ - variable: "--font-halant", - subsets: ["latin"], + variable: "--font-halant", subsets: ["latin"], weight: ["300", "400", "500", "600", "700"], }); const inter = Inter({ - variable: "--font-inter", - subsets: ["latin"], + variable: "--font-inter", subsets: ["latin"], }); export const metadata: Metadata = { - title: 'Elite Estates | Luxury Real Estate Agency', - description: 'Explore an exclusive collection of luxury homes and estates. Elite Estates offers unparalleled service for buying and selling premium properties worldwide.', + title: 'پیک پین | پلتفرم اشتراک‌گذاری عکس', + description: 'پیک پین یک پلتفرم پیشرفته برای اشتراک‌گذاری و کشف عکس‌های الهام‌بخش در ایران است. لحظات خود را با دنیا به اشتراک بگذارید.', }; export default function RootLayout({ @@ -29,7 +27,7 @@ export default function RootLayout({ children: React.ReactNode; }>) { return ( - + Date: Fri, 12 Jun 2026 23:42:39 +0000 Subject: [PATCH 2/6] Update src/app/page.tsx --- src/app/page.tsx | 227 +++++++++++++++-------------------------------- 1 file changed, 70 insertions(+), 157 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 90df980..46ea2a5 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,11 +18,11 @@ export default function LandingPage() { window.location.href = "/property/palm-jumeirah-villa" }, { - id: "2", - name: "Downtown Dubai Penthouse", - price: "AED 8,750,000", - variant: "4 Bed Penthouse | City View", - imageSrc: "https://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920926.jpg", - imageAlt: "Modern penthouse in Downtown Dubai", - isFavorited: false + id: "2", name: "Downtown Dubai Penthouse", price: "AED 8,750,000", variant: "4 Bed Penthouse | City View", imageSrc: "https://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920926.jpg", imageAlt: "Modern penthouse in Downtown Dubai", isFavorited: false }, { - id: "3", - name: "Emirates Hills Townhouse", - price: "AED 6,200,000", - variant: "4 Bed Townhouse | Golf View", - imageSrc: "https://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920931.jpg", - imageAlt: "Contemporary townhouse in Emirates Hills", - isFavorited: false + id: "3", name: "Emirates Hills Townhouse", price: "AED 6,200,000", variant: "4 Bed Townhouse | Golf View", imageSrc: "https://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920931.jpg", imageAlt: "Contemporary townhouse in Emirates Hills", isFavorited: false } ]} /> @@ -142,51 +123,37 @@ export default function LandingPage() {
@@ -194,34 +161,26 @@ export default function LandingPage() {
@@ -229,37 +188,33 @@ export default function LandingPage() {
@@ -267,72 +222,34 @@ export default function LandingPage() {
@@ -357,8 +274,7 @@ export default function LandingPage() { ); -} +} \ No newline at end of file -- 2.49.1 From 9dde0a85fca6c86ebcf945cc4a13583ecfb77d95 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 12 Jun 2026 23:42:39 +0000 Subject: [PATCH 3/6] Add src/app/photographer-dashboard/page.tsx --- src/app/photographer-dashboard/page.tsx | 106 ++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 src/app/photographer-dashboard/page.tsx diff --git a/src/app/photographer-dashboard/page.tsx b/src/app/photographer-dashboard/page.tsx new file mode 100644 index 0000000..0772652 --- /dev/null +++ b/src/app/photographer-dashboard/page.tsx @@ -0,0 +1,106 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; +import MetricCardThree from '@/components/sections/metrics/MetricCardThree'; +import TextNumberCount from '@/components/text/TextNumberCount'; +import FooterSimple from '@/components/sections/footer/FooterSimple'; +import { Eye, Download, DollarSign } from "lucide-react"; + +export default function PhotographerDashboardPage() { + return ( + + + +
+ + }, + { + id: "2", icon: Download, + title: "تعداد دانلودها", value: + }, + { + id: "3", icon: DollarSign, + title: "درآمد کل", value: + } + ]} + /> +
+ + +
+ ); +} -- 2.49.1 From 73910d3dd016b0a1c4ce3e4d9968b4ac75cf6064 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 12 Jun 2026 23:42:40 +0000 Subject: [PATCH 4/6] Update src/app/styles/variables.css --- src/app/styles/variables.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app/styles/variables.css b/src/app/styles/variables.css index df50321..c0d3548 100644 --- a/src/app/styles/variables.css +++ b/src/app/styles/variables.css @@ -10,15 +10,15 @@ --accent: #ffffff; --background-accent: #ffffff; */ - --background: #ffffff; - --card: #f5f5f5; - --foreground: #000000; - --primary-cta: #000000; - --primary-cta-text: #ffffff; - --secondary-cta: #f9f9f9; - --secondary-cta-text: #000000; - --accent: #e6e6e6; - --background-accent: #d0d0d0; + --background: #FFF8EC; + --card: #FCF3E5; + --foreground: #222222; + --primary-cta: #FFC83D; + --primary-cta-text: #222222; + --secondary-cta: #FF8A1F; + --secondary-cta-text: #222222; + --accent: #7A5A3A; + --background-accent: #DDC9B8; /* text sizing - set by ThemeProvider */ /* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem); -- 2.49.1 From 6f4979482e36ec53e63cb5434d0a0f4401b7b8a9 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 12 Jun 2026 23:42:40 +0000 Subject: [PATCH 5/6] Add src/app/upload-gallery/page.tsx --- src/app/upload-gallery/page.tsx | 267 ++++++++++++++++++++++++++++++++ 1 file changed, 267 insertions(+) create mode 100644 src/app/upload-gallery/page.tsx diff --git a/src/app/upload-gallery/page.tsx b/src/app/upload-gallery/page.tsx new file mode 100644 index 0000000..815c105 --- /dev/null +++ b/src/app/upload-gallery/page.tsx @@ -0,0 +1,267 @@ +"use client"; + +import { useState } from 'react'; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; +import ProductCardFour from '@/components/sections/product/ProductCardFour'; +import FooterSimple from '@/components/sections/footer/FooterSimple'; +import { Upload, Tag as TagIcon, FileText, Image as ImageIcon } from "lucide-react"; + +interface UploadFormState { + title: string; + description: string; + tags: string; + imageFile: File | null; +} + +export default function UploadGalleryPage() { + const [uploadForm, setUploadForm] = useState({ + title: "", description: "", tags: "", imageFile: null, + }); + + const handleInputChange = (e: React.ChangeEvent) => { + const { name, value } = e.target; + setUploadForm((prev) => ({ ...prev, [name]: value })); + }; + + const handleFileChange = (e: React.ChangeEvent) => { + if (e.target.files && e.target.files[0]) { + setUploadForm((prev) => ({ ...prev, imageFile: e.target.files![0] })); + } + }; + + const handleDragOver = (e: React.DragEvent) => { + e.preventDefault(); + e.stopPropagation(); + e.dataTransfer.dropEffect = 'copy'; + }; + + const handleDrop = (e: React.DragEvent) => { + e.preventDefault(); + e.stopPropagation(); + if (e.dataTransfer.files && e.dataTransfer.files[0]) { + setUploadForm((prev) => ({ ...prev, imageFile: e.dataTransfer.files![0] })); + } + }; + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + console.log("Upload data:", uploadForm); + // Here you would typically send data to a server + alert("File ready for upload! (Check console for data)"); + // Reset form + setUploadForm({ + title: "", description: "", tags: "", imageFile: null, + }); + }; + + const navItems = [ + { name: "Properties", id: "properties", href: "/" }, + { name: "About", id: "about", href: "/" }, + { name: "Services", id: "services", href: "/" }, + { name: "Team", id: "team", href: "/" }, + { name: "Testimonials", id: "testimonials", href: "/" }, + { name: "Contact", id: "contact", href: "/" }, + { name: "Upload Gallery", href: "/upload-gallery" }, + ]; + + return ( + + + +
+

آپلود تصویر و گالری

+ + {/* Upload Form Component */} +
+

بارگذاری عکس جدید

+
+
+ +
+ + +
+
+ +
+ +
+ + +
+
+ +
+ +
+ + +
+
+ + {/* Drag and Drop Upload Section */} +
+ +
document.getElementById('imageFile')?.click()} + > + +

فایل را اینجا بکشید و رها کنید یا کلیک کنید

+

(فایل‌های JPG، PNG، GIF پشتیبانی می‌شوند)

+ +
+ {uploadForm.imageFile && ( +

فایل انتخاب شده: {uploadForm.imageFile.name}

+ )} +
+ + +
+
+ + {/* Pinterest-style Masonry Photo Feed */} + +
+ + +
+ ); +} -- 2.49.1 From 94b79dee0245197b9e33a60c0d9c7a8cde8eb67d Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 12 Jun 2026 23:42:41 +0000 Subject: [PATCH 6/6] Add src/app/user-profile/page.tsx --- src/app/user-profile/page.tsx | 154 ++++++++++++++++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 src/app/user-profile/page.tsx diff --git a/src/app/user-profile/page.tsx b/src/app/user-profile/page.tsx new file mode 100644 index 0000000..0d0d4e3 --- /dev/null +++ b/src/app/user-profile/page.tsx @@ -0,0 +1,154 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; +import MediaAbout from '@/components/sections/about/MediaAbout'; +import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery'; +import MetricCardThree from '@/components/sections/metrics/MetricCardThree'; +import FooterSimple from '@/components/sections/footer/FooterSimple'; +import { User, Image, DollarSign, TrendingUp, Handshake, HeartHandshake, Award, Gauge } from "lucide-react"; + +export default function UserProfilePage() { + const commonNavItems = [ + { name: "Properties", href: "/#properties" }, + { name: "About", href: "/#about" }, + { name: "Services", href: "/#services" }, + { name: "Team", href: "/#team" }, + { name: "Testimonials", href: "/#testimonials" }, + { name: "Contact", href: "/#contact" }, + { name: "پروفایل کاربری", href: "/user-profile" } + ]; + + return ( + + + +
+ +
+ + + +
+ +
+ + +
+ ); +} \ No newline at end of file -- 2.49.1