From 4ec5861e2818e101a5c9baa41d291050ca723ac2 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 21:46:53 +0000 Subject: [PATCH 01/17] Add public/robots.txt --- public/robots.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 public/robots.txt diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..55db8cf --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,12 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: /admin +Disallow: /api +Disallow: /_next +Disallow: /private + +Allow: / + +Sitemap: https://ogretmen-platformu.com/sitemap.xml + +Crawl-delay: 1 -- 2.49.1 From 458165c964accc4db4e6e92a6abbfd2f9b84330f Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 21:46:54 +0000 Subject: [PATCH 02/17] Update public/site.webmanifest --- public/site.webmanifest | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/public/site.webmanifest b/public/site.webmanifest index db2aa24..fa918bb 100644 --- a/public/site.webmanifest +++ b/public/site.webmanifest @@ -1,30 +1,33 @@ { - "name": "Öğretmen Platformu", "short_name": "Öğretmen", "description": "Kişiselleştirilmiş online eğitim platformu", "start_url": "/", "scope": "/", "display": "standalone", "background_color": "#ffffff", "theme_color": "#000000", "orientation": "portrait-primary", "icons": [ + "name": "Öğretmen Platformu", "short_name": "Öğretmen Platformu", "description": "50+ deneyimli öğretmenle bağlantı kurun. Kişiselleştirilmiş eğitim, esnek zaman planlaması ve etkili öğrenme deneyimi.", "start_url": "/", "scope": "/", "display": "standalone", "background_color": "#ffffff", "theme_color": "#000000", "orientation": "portrait-primary", "icons": [ { - "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" + "src": "/favicon-192x192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" }, { - "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" + "src": "/favicon-512x512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" }, { - "src": "/android-chrome-192x192-maskable.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" + "src": "/favicon-maskable-192x192.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" }, { - "src": "/android-chrome-512x512-maskable.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" + "src": "/favicon-maskable-512x512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" } ], "screenshots": [ { - "src": "/screenshot-1.png", "sizes": "540x720", "type": "image/png", "form_factor": "narrow" + "src": "/screenshot1.png", "sizes": "540x720", "type": "image/png" }, { - "src": "/screenshot-2.png", "sizes": "1280x720", "type": "image/png", "form_factor": "wide" + "src": "/screenshot2.png", "sizes": "1280x720", "type": "image/png" } ], - "categories": ["education", "productivity"], - "screenshots": [ + "categories": ["education", "business"], + "shortcuts": [ { - "src": "/screenshot-1.png", "sizes": "540x720", "type": "image/png" + "name": "Öğretmen Bul", "short_name": "Öğretmen Bul", "description": "Öğretmen platformumuzda öğretmen bulun", "url": "/teachers", "icons": [{ "src": "/favicon-192x192.png", "sizes": "192x192" }] + }, + { + "name": "Derslerim", "short_name": "Derslerim", "description": "Kayıtlı derslerinizi görüntüleyin", "url": "/my-lessons", "icons": [{ "src": "/favicon-192x192.png", "sizes": "192x192" }] } ] -} \ No newline at end of file +} -- 2.49.1 From b2386f2f43da39e9d6448b29449544b17584e049 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 21:46:54 +0000 Subject: [PATCH 03/17] Update src/app/contact/page.tsx --- src/app/contact/page.tsx | 185 ++++++++++++++++----------------------- 1 file changed, 77 insertions(+), 108 deletions(-) diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index dbab3ba..5aba4e2 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -2,30 +2,22 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; +import ContactSplitForm from "@/components/sections/contact/ContactSplitForm"; import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; -import { Mail, Phone, MapPin, Send } from "lucide-react"; -import { useState } from "react"; +import { Mail, Phone, MapPin, Clock } from "lucide-react"; +import Link from "next/link"; export default function ContactPage() { - const [formData, setFormData] = useState({ - name: "", email: "", subject: "", message: ""}); - const [submitted, setSubmitted] = useState(false); - const navItems = [ { name: "Ana Sayfa", id: "/" }, { name: "Öğretmenler", id: "/teachers" }, - { name: "Etkinlikler", id: "events" }, - { name: "Çalışma Programı", id: "schedule" }, + { name: "Etkinlikler", id: "/events" }, + { name: "Çalışma Programı", id: "/schedule" }, ]; - const handleSubmit = (e: React.FormEvent) => { - e.preventDefault(); - // Simulate form submission - setSubmitted(true); - setTimeout(() => { - setFormData({ name: "", email: "", subject: "", message: "" }); - setSubmitted(false); - }, 2000); + const handleFormSubmit = (data: Record) => { + console.log("Form submitted:", data); + alert("Teşekkürler! Mesajınız alındı. Kısa sürede sizinle iletişime geçeceğiz."); }; return ( @@ -41,6 +33,13 @@ export default function ContactPage() { secondaryButtonStyle="layered" headingFontWeight="light" > + {/* Breadcrumb */} + + -
-
-
+
+
+ {/* Header */} +

Bize Ulaşın

-

- Sorularınız mı var? Bize mesaj gönderin, en kısa sürede sizinle iletişime geçeceğiz. +

+ Sorularınız mı var? Destek ekibimiz size yardımcı olmaktan mutluluk duyacaktır.

-
- {/* Contact Info Cards */} - {[ - { icon: Mail, label: "Email", value: "info@platform.com" }, - { icon: Phone, label: "Telefon", value: "+90 (212) 555-0123" }, - { icon: MapPin, label: "Adres", value: "İstanbul, Türkiye" }, - ].map((item, idx) => { - const IconComponent = item.icon; - return ( -
- -

{item.label}

-

{item.value}

-
- ); - })} + {/* Contact Info Cards */} +
+
+
+ +

Email

+
+

info@platform.com

+

Yanıt süresi: 2 saat

+
+ +
+
+ +

Telefon

+
+

+90 (212) 555-0123

+

Haftada 7 gün açık

+
+ +
+
+ +

Adres

+
+

İstanbul, Türkiye

+

Merkez ofis

+
+ +
+
+ +

Saatler

+
+

24/7 Müşteri Desteği

+

Her zaman buradayız

+
{/* Contact Form */} -
-
-
-
- - setFormData({ ...formData, name: e.target.value })} - className="w-full px-4 py-3 rounded-lg border border-accent bg-background text-foreground placeholder-foreground/50 focus:outline-none focus:ring-2 focus:ring-primary-cta min-h-11" - placeholder="Adınızı giriniz" - /> -
-
- - setFormData({ ...formData, email: e.target.value })} - className="w-full px-4 py-3 rounded-lg border border-accent bg-background text-foreground placeholder-foreground/50 focus:outline-none focus:ring-2 focus:ring-primary-cta min-h-11" - placeholder="E-posta adresiniz" - /> -
-
- -
- - setFormData({ ...formData, subject: e.target.value })} - className="w-full px-4 py-3 rounded-lg border border-accent bg-background text-foreground placeholder-foreground/50 focus:outline-none focus:ring-2 focus:ring-primary-cta min-h-11" - placeholder="Konuyu yazınız" - /> -
- -
- -