3 Commits

Author SHA1 Message Date
83163199ac Merge version_2 into main
Merge version_2 into main
2026-06-10 22:39:08 +00:00
ea94da5234 Update src/app/page.tsx 2026-06-10 22:39:05 +00:00
0177eff5e6 Add src/app/admin/page.tsx 2026-06-10 22:39:04 +00:00
2 changed files with 122 additions and 25 deletions

94
src/app/admin/page.tsx Normal file
View File

@@ -0,0 +1,94 @@
"use client";
import React from "react";
import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import FooterSimple from "@/components/sections/footer/FooterSimple";
export default function AdminPage() {
const navItems = [
{ name: "Hizmetler", id: "services" },
{ name: "Hakkımızda", id: "about" },
{ name: "Neden Biz?", id: "why-us" },
{ name: "Ekibimiz", id: "team" },
{ name: "Referanslar", id: "testimonials" },
{ name: "İletişim", id: "contact" }
];
const footerColumns = [
{
title: "Hizmetler", items: [
{ label: "Bahçe Tasarımı", href: "#services" },
{ label: "Peyzaj Uygulamaları", href: "#services" },
{ label: "Otomatik Sulama", href: "#services" },
{ label: "Periyodik Bakım", href: "#services" }
]
},
{
title: "Şirket", items: [
{ label: "Hakkımızda", href: "#about" },
{ label: "Ekibimiz", href: "#team" },
{ label: "Referanslar", href: "#testimonials" },
{ label: "S.S.S.", href: "#faq" },
{ label: "Admin", href: "/admin" }
]
},
{
title: "İletişim", items: [
{ label: "(0212) 123 45 67", href: "tel:+902121234567" },
{ label: "info@greenartpeyzaj.com", href: "mailto:info@greenartpeyzaj.com" },
{ label: "İstanbul, Türkiye" }
]
}
];
return (
<ThemeProvider
defaultButtonVariant="expand-hover"
defaultTextAnimation="entrance-slide"
borderRadius="soft"
contentWidth="mediumLarge"
sizing="large"
background="none"
cardStyle="glass-elevated"
primaryButtonStyle="gradient"
secondaryButtonStyle="glass"
headingFontWeight="semibold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleFullscreen
brandName="Greenart Peyzaj"
navItems={navItems}
button={{ text: "Teklif Al", href: "#contact" }}
/>
</div>
<main className="min-h-screen py-20 flex flex-col items-center justify-center text-center px-4">
<h1 className="text-4xl md:text-6xl font-bold mb-6">Admin Panel</h1>
<p className="text-xl md:text-2xl text-foreground/70 max-w-2xl">
This is a placeholder for the Admin system, including authentication, dashboard UI, and content management interfaces for editing text and managing photo uploads.
</p>
<div className="mt-8 flex flex-wrap justify-center gap-4">
<a href="/admin/login" className="px-6 py-3 bg-primary-cta text-white rounded-lg hover:opacity-90 transition-opacity">Login</a>
<a href="/admin/dashboard" className="px-6 py-3 border border-secondary-cta text-secondary-cta rounded-lg hover:bg-secondary-cta hover:text-white transition-colors">Dashboard</a>
<a href="/admin/content" className="px-6 py-3 border border-secondary-cta text-secondary-cta rounded-lg hover:bg-secondary-cta hover:text-white transition-colors">Manage Content</a>
<a href="/admin/media" className="px-6 py-3 border border-secondary-cta text-secondary-cta rounded-lg hover:bg-secondary-cta hover:text-white transition-colors">Manage Photos</a>
</div>
<p className="text-sm mt-12 text-foreground/50">
(Actual features and functionality for these sections are beyond the scope of this refactoring, requiring custom component development and backend integration.)
</p>
</main>
<div id="footer" data-section="footer">
<FooterSimple
columns={footerColumns}
bottomLeftText="© 2024 Greenart Peyzaj Group"
bottomRightText="Tüm hakları saklıdır."
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}

View File

@@ -15,6 +15,33 @@ import FooterSimple from "@/components/sections/footer/FooterSimple";
import { Leaf, TreePine } from "lucide-react";
export default function LandscapingPage() {
const footerColumns = [
{
title: "Hizmetler", items: [
{ label: "Bahçe Tasarımı", href: "#services" },
{ label: "Peyzaj Uygulamaları", href: "#services" },
{ label: "Otomatik Sulama", href: "#services" },
{ label: "Periyodik Bakım", href: "#services" },
],
},
{
title: "Şirket", items: [
{ label: "Hakkımızda", href: "#about" },
{ label: "Ekibimiz", href: "#team" },
{ label: "Referanslar", href: "#testimonials" },
{ label: "S.S.S.", href: "#faq" },
{ label: "Admin", href: "/admin" }
],
},
{
title: "İletişim", items: [
{ label: "(0212) 123 45 67", href: "tel:+902121234567" },
{ label: "info@greenartpeyzaj.com", href: "mailto:info@greenartpeyzaj.com" },
{ label: "İstanbul, Türkiye" },
],
},
];
return (
<ThemeProvider
defaultButtonVariant="expand-hover"
@@ -228,31 +255,7 @@ export default function LandscapingPage() {
<div id="footer" data-section="footer">
<FooterSimple
columns={[
{
title: "Hizmetler", items: [
{ label: "Bahçe Tasarımı", href: "#services" },
{ label: "Peyzaj Uygulamaları", href: "#services" },
{ label: "Otomatik Sulama", href: "#services" },
{ label: "Periyodik Bakım", href: "#services" },
],
},
{
title: "Şirket", items: [
{ label: "Hakkımızda", href: "#about" },
{ label: "Ekibimiz", href: "#team" },
{ label: "Referanslar", href: "#testimonials" },
{ label: "S.S.S.", href: "#faq" },
],
},
{
title: "İletişim", items: [
{ label: "(0212) 123 45 67", href: "tel:+902121234567" },
{ label: "info@greenartpeyzaj.com", href: "mailto:info@greenartpeyzaj.com" },
{ label: "İstanbul, Türkiye" },
],
},
]}
columns={footerColumns}
bottomLeftText="© 2024 Greenart Peyzaj Group"
bottomRightText="Tüm hakları saklıdır."
/>