ENGLISH·COURSE API
    Preparing search index...
    • The app's Link: next-intl's locale-aware link, plus the route transition for the page it is rendered on and the page it points at.

      Parameters

      • props: Omit<{}, "ref"> & RefAttributes<HTMLAnchorElement>

      Returns Element

      Exported from @/i18n/navigation as Link — import it from there, never from this file. It is a client component because the motion depends on the current pathname, which only the client knows during a navigation; Server Components can still render it, since every prop a link takes is serialisable.

      A link with no motion — to the current route, to another origin, or rendered where there is no pathname — navigates exactly as next-intl's Link does.

      import { Link } from "@/i18n/navigation";

      <Link href="/courses">Courses</Link>
      <Link href={previousLesson} transitionTypes={["route-slide-back"]}>Previous</Link>