feat(web): add affiliates landing page#942
Conversation
Add a /affiliates marketing page with hero, benefit cards, how-it-works steps, a two-column FAQ, and a closing CTA. All CTAs point to the LemonSqueezy signup, and the external Affiliates footer link now uses an internal NuxtLink. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
| variant="tonal" | ||
| class="ma-2" | ||
| @click="scrollToHowItWorks" | ||
| > | ||
| See how it works | ||
| <VIcon end :icon="mdiChevronDown" /> | ||
| </VBtn> | ||
| </div> | ||
| </VCol> |
There was a problem hiding this comment.
Hero tagline uses
<h2> instead of <p>
The hero description ("Earn up to $70 for every customer…") is tagged as <h2>, giving it the same heading level as the five semantic section headings that follow ("Why promote httpSMS", "How it works", etc.). Screen readers and SEO crawlers build a document outline from <h> tags, so a descriptive paragraph styled as <h2> flattens the hierarchy. A <p> tag with the same Vuetify typography classes would convey the same visual appearance while keeping the heading structure meaningful. The same four classes (text-headline-small font-weight-light text-medium-emphasis mb-8) work on a <p> element.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Rewrite the /affiliates page to match the site's visual language (gradient headings, highlights strip, VSheet sections). Use the real Lemon Squeezy affiliate FAQ copy in a two-column grid and surface the 20% commission alongside the up-to-\ payout. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Drop the gradient-header and gradient-underline treatments (reserved for the homepage hero). Keep the title at text-display-large and use the theme primary color for emphasis instead. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Summary
Adds a dedicated
/affiliateslanding page and replaces the external Affiliates footer link with an internal link to it.Changes
web/app/pages/affiliates/index.vue(route/affiliates), using thewebsitelayout and the site's dark theme + gradient identity with Vuetify 4 components:up to \/salecopy, and a primary CTAWhy promote httpSMSbenefit cardsHow it works3-step sectionweb/app/layouts/website.vue— footerAffiliateslink now points to the internal/affiliatespage instead of the external LemonSqueezy URL.Verification
pnpm eslintandpnpm prettier --checkpass on changed files/affiliatesrenders on the dev server (200, no compile/runtime errors)