diff --git a/src/app/teachers/page.tsx b/src/app/teachers/page.tsx index 9015bcc..fe09a63 100644 --- a/src/app/teachers/page.tsx +++ b/src/app/teachers/page.tsx @@ -1,184 +1,9 @@ "use client"; -import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; -import HeroBillboardRotatedCarousel from "@/components/sections/hero/HeroBillboardRotatedCarousel"; -import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; -import { BookOpen, Star } from "lucide-react"; -import { useState } from "react"; -import Image from "next/image"; - export default function TeachersPage() { - const [favorites, setFavorites] = useState>(new Set()); - - const navItems = [ - { name: "Ana Sayfa", id: "/" }, - { name: "Öğretmenler", id: "/teachers" }, - { name: "Etkinlikler", id: "events" }, - { name: "Çalışma Programı", id: "schedule" }, - ]; - - const teachers = [ - { - id: "1", name: "Dr. Ahmet Yılmaz", subject: "Matematik", bio: "20 yıl öğretim deneyimi", image: "http://img.b2bpic.net/free-photo/portrait-businessman-office-3_1262-1489.jpg", rating: 4.9, - reviews: 342, - price: 150, - badge: "Doktor", students: 500, - }, - { - id: "2", name: "Prof. Zeynep Demir", subject: "Kimya", bio: "Üniversite hocası", image: "http://img.b2bpic.net/free-photo/woman-posing-with-books_23-2148680219.jpg", rating: 4.8, - reviews: 278, - price: 200, - badge: "Profesör", students: 450, - }, - { - id: "3", name: "Mehmet Kaya", subject: "İngilizce", bio: "Dil sertifikasyonları", image: "http://img.b2bpic.net/free-photo/young-male-student-with-backpack-reading_23-2148639349.jpg", rating: 4.7, - reviews: 215, - price: 120, - badge: "Sertifikalı", students: 320, - }, - { - id: "4", name: "Ayşe Kara", subject: "Tarih", bio: "Araştırmacı ve yazar", image: "http://img.b2bpic.net/free-photo/young-female-glasses-workplace_1301-980.jpg", rating: 4.9, - reviews: 289, - price: 140, - badge: "Uzman", students: 380, - }, - ]; - - const formatTurkishLira = (amount: number) => { - return new Intl.NumberFormat("tr-TR", { - style: "currency", currency: "TRY", minimumFractionDigits: 0, - maximumFractionDigits: 0, - }).format(amount); - }; - - const toggleFavorite = (id: string) => { - const newFavorites = new Set(favorites); - if (newFavorites.has(id)) { - newFavorites.delete(id); - } else { - newFavorites.add(id); - } - setFavorites(newFavorites); - }; - - const StarRating = ({ rating }: { rating: number }) => { - return ( -
- {[...Array(5)].map((_, i) => ( - - ★ - - ))} - {rating} -
- ); - }; - return ( - - - -
-
-
-

Uzman Öğretmenlerimiz

-

- Alanlarında uzmanlaşmış, deneyimli eğitimciler sizin başarı yolculuğunuza eşlik etmek için hazır. -

-
- -
- {teachers.map((teacher) => ( -
- {/* Image Container */} -
- {teacher.name} - {/* Trust Badge */} -
- {teacher.badge} -
- {/* Favorite Button */} - -
- - {/* Content */} -
-
-

{teacher.name}

-

{teacher.subject}

-
- - {/* Star Rating System */} -
- -

- {teacher.reviews} değerlendirme • {teacher.students}+ öğrenci -

-
- - {/* Price */} -
-

{formatTurkishLira(teacher.price)}/saat

-
- - {/* CTA Button - Touch target 44px minimum */} - -
-
- ))} -
-
-
- - -
+
+

Teachers Page

+
); -} \ No newline at end of file +}