You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity