Skip to content

feat(helpers): LiteShadeBrand home link + referral - #46

Merged
jeffgo10 merged 1 commit into
masterfrom
feat/helpers-brand-home-link
Aug 7, 2026
Merged

feat(helpers): LiteShadeBrand home link + referral#46
jeffgo10 merged 1 commit into
masterfrom
feat/helpers-brand-home-link

Conversation

@jeffgo10

@jeffgo10 jeffgo10 commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • LiteShadeBrand defaults to an <a href="https://liteshademedia.com"> root (LSM_BRAND_HOME_URL)
  • Optional href override; href={false} keeps a non-link <div> for Next.js Link wrappers
  • Optional referral appends a ref query param (prop named referral to avoid clashing with React ref)
  • Bump @jeffgo10/helpers to 1.5.0

Test plan

  • pnpm test:coverage --filter=@jeffgo10/helpers
  • Confirm default brand renders link to https://liteshademedia.com
  • Confirm referral="stickpak"?ref=stickpak
  • Confirm href={false} renders a div without href/rel

Made with Cursor

Brand roots as an anchor to liteshademedia.com by default, with optional href override and referral → ?ref=; pass href={false} when a parent Link already owns navigation.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Aug 7, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@jeffgo10
jeffgo10 merged commit 44e75de into master Aug 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant