Repository navigation
Description
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
- Visit https://app.ansvisor.com/sign-in (or
/sign-up) - Click the Ansvisor logo / wordmark in the top-left of the header
- 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.urlfrom
web/src/config/site.tsinstead of
hard-coding"https://ansvisor.com". That way the value stays in
one place. Linkfrom@/i18n/navigationis 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 (notarget="_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.comin
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
fix(ui): point sign-in / sign-up header logo at the marketing site (a…