Skip to content

fix(ui): point sign-in / sign-up header logo at the marketing site #24

Closed

Description

@gkhngyk

What's wrong

On the sign-in and sign-up pages (/sign-in, /sign-up), the
header logo and wordmark in the top-left currently link to /sign-in
itself — clicking it just refreshes the same page (or sends a signed-out
user from the sign-up page back to sign-in).

A user who's logged out and lands on the auth screen usually clicks the
brand logo expecting to go back to the marketing site, not to
another auth screen. Right now there's no way to do that without
manually editing the URL.

Steps to reproduce

  1. Visit https://app.ansvisor.com/sign-in (or /sign-up)
  2. Click the Ansvisor logo / wordmark in the top-left of the header
  3. Observe: you stay on (or bounce between) the auth pages — you never
    reach the marketing site

Expected

Clicking the header logo on the auth pages should navigate to the
canonical marketing site: https://ansvisor.com.

Where to fix

  • web/src/components/marketing/marketing-header.tsx (around line 13)

The <Link href="/sign-in"> wrapping the logo + wordmark is the line
to change.

Hint

  • The marketing URL is already in config — use siteConfig.url from
    web/src/config/site.ts instead of
    hard-coding "https://ansvisor.com". That way the value stays in
    one place.
  • Link from @/i18n/navigation is for internal locale-aware
    navigation. External URLs (different subdomain / origin) should use
    a plain <a href={...}> tag.
  • For an external "go home" link from a logged-out auth page, same
    tab
    is the right behavior (no target="_blank" needed) — the
    user has nothing to preserve on the auth screen.

How to verify

  • Sign-in page header logo → clicks land on https://ansvisor.com in
    the same tab
  • Sign-up page header logo → same behavior
  • Hover state still reads as a link (cursor pointer)
  • The two header buttons on the right (Sign in, Create
    account
    ) should keep their current behavior — only the logo /
    wordmark <Link> changes

Contribution guide

See CONTRIBUTING.md for branch naming, commit
conventions, and PR workflow.

Activity

  1. added
    bug
    good first issue
    help wanted
    on May 16, 2026
  2. added a commit that references this issue on May 20, 2026
    1580f57
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

    buggood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions