feat(web): add affiliates landing page#942
Conversation
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!
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>
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>
Add /getting-started page walking new users through downloading, installing, signing in and sending their first SMS. Reuses blog images, adds GIF placeholders, links to how-to posts, and adds discoverability via a footer link and a CTA on the threads empty state. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 236dddd8-bdf2-4e0a-ac56-0ce8ab98d88e
8511345 to
31d1c72
Compare
The floating "version: 11" in pnpm/action-setup resolved to 11.12.0, whose self-installer crashes with "Cannot use 'in' operator to search for 'integrity' in undefined" and fails the Validate job. Pin to 11.3.0 to match the local dev version that generated the lockfile. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 236dddd8-bdf2-4e0a-ac56-0ce8ab98d88e
Summary
Adds a dedicated
/affiliateslanding page and replaces the external Affiliates footer link with an internal link to it. Also adds a beginner-friendly/getting-startedonboarding page that walks new users through sending their first SMS.Changes
Affiliates page
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.Getting started page
web/app/pages/getting-started.vue(route/getting-started), using thewebsitelayout. A short, dummy-proof onboarding flow aimed at non-technical users:settings.png,android-app.png) and adds three dashed-border GIF placeholders under/img/getting-started/(install-app.gif,sign-in.gif,send-sms.gif) for screen recordings to be added laterweb/app/layouts/website.vue— added aGetting Startedlink to the footer Resources sectionweb/app/pages/threads/index.vue— added a "New here? Get started" CTA below the Discord message in the desktop empty stateweb/public/img/getting-started/README.mddocumenting the expected GIF assets.Verification
pnpm eslint,pnpm stylelint, andpnpm prettier --checkpass on changed files/affiliatesand/getting-startedrender on the dev server (200, no compile/runtime errors)