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 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 +} diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index dbab3ba..f65c791 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -2,32 +2,19 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; +import ContactText from "@/components/sections/contact/ContactText"; 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); - }; - return ( + {/* 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" - /> -
- -
- -