import { createFileRoute, Link } from "@tanstack/react-router"; import { BookOpen, GraduationCap, Headphones, Languages, MessageCircle, PenLine, Sparkles, Target, } from "lucide-react"; import heroImage from "@/assets/hero-study.jpg"; import { levels } from "@/data/curriculum"; export const Route = createFileRoute("/")({ head: () => ({ meta: [ { title: "Learn English from Beginner to Advanced — EnglishPath" }, { name: "description", content: "A complete English learning platform for Arabic speakers: three levels, a full grammar course, vocabulary, conversation, listening, reading, writing and quizzes.", }, { property: "og:title", content: "Learn English from Beginner to Advanced" }, { property: "og:description", content: "Study English step by step with Arabic explanations, practical examples, exercises and progress tracking.", }, ], }), component: Index, }); const pillars = [ { icon: BookOpen, title: "Complete grammar course", desc: "From parts of speech to advanced structures, with Arabic explanations.", to: "/grammar" as const }, { icon: Languages, title: "Vocabulary by topic", desc: "Words with Arabic meanings, pronunciation and example sentences.", to: "/vocabulary" as const }, { icon: MessageCircle, title: "Speaking & conversation", desc: "Real-life dialogues for travel, work, shopping and social life.", to: "/speaking" as const }, { icon: Headphones, title: "Listening & video lessons", desc: "Graded audio and short videos to train your ear.", to: "/listening" as const }, { icon: PenLine, title: "Reading & writing", desc: "Graded texts, comprehension questions and writing assignments.", to: "/reading-writing" as const }, { icon: Target, title: "Interactive practice", desc: "Quizzes, fill-in-the-blank and level assessments after each lesson.", to: "/practice" as const }, ]; function Index() { return ( <>
For Arabic speakers

Learn English from beginner to advanced

تعلّم الإنجليزية من الصفر إلى الاحتراف

A complete learning platform built for Arabic-speaking learners. Grammar, vocabulary, speaking, listening, reading and writing — explained clearly, step by step.

Choose your level Test your level
Notebook with English vocabulary and Arabic translations beside a cup of tea

Three learning levels

ثلاثة مستويات تعليمية

See full path →
{levels.map((level) => (

{level.name}

{level.tag}

{level.nameAr}

{level.description}

))}

Everything you need in one place

كل ما تحتاجه في مكان واحد

{pillars.map((p) => (

{p.title}

{p.desc}

))}

Learn at your own pace

Mark lessons as completed, save your quiz scores and watch your level grow. Difficult grammar and pronunciation are always supported by Arabic explanations.

View my progress
سواء بدأت للتو أو كنت ترغب في الوصول إلى مستوى متقدم، توفر المنصة مسارًا تعليميًا منظمًا يتيح لك التقدم خطوة بخطوة، مع شرح بالعربية للقواعد والمفردات والنطق.
); }