Skip to content

Use next/link for the Zero to Agent link #7

Open

Description

@jessebubble

pnpm lint reports an error in the featured Zero to Agent strip:

components/events/featured-zero-to-agent.tsx
  142:19  error  Do not use an `<a>` element to navigate to `/events/zero-to-agent/`. Use `<Link />` from `next/link` instead.  @next/next/no-html-link-for-pages

A plain <a> to a page inside the site makes the browser reload everything. <Link> from next/link moves between pages without the reload. Swap the <a href="/events/zero-to-agent"> for <Link href="/events/zero-to-agent">, keep its className and children, and add the import.

Done when: the lint error is gone, and the button still looks and works the same at phone and desktop widths.

See CONTRIBUTING.md.

Activity

  1. added
    good first issue
    on Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions