Skip to content

feat(marketing): point hero pill to State of Appwrite Cloud survey#3093

Merged
atharvadeosthale merged 1 commit into
mainfrom
feat-state-of-appwrite-survey-pill
Jul 10, 2026
Merged

feat(marketing): point hero pill to State of Appwrite Cloud survey#3093
atharvadeosthale merged 1 commit into
mainfrom
feat-state-of-appwrite-survey-pill

Conversation

@atharvadeosthale

Copy link
Copy Markdown
Member

What does this PR do?

Updates the homepage hero pill (both layout variants) from the Presences API announcement to the State of Appwrite Cloud survey:

  • Title: "State of Appwrite Cloud: Take the survey"
  • Link: https://forms.gle/5cvWxTwhonoDCWsi7
  • Icon: sparkle
  • hero-banner.svelte: external (http) links now open in a new tab with noopener noreferrer — the pill previously only pointed at internal blog posts

Test Plan

Verified locally on dev server — pill renders with new text and opens the survey form in a new tab.

Related PRs and Issues

Console counterpart: appwrite/console#3113

@appwrite

appwrite Bot commented Jul 10, 2026

Copy link
Copy Markdown

Appwrite Website

Project ID: 69d7efb00023389e8d27

Sites (1)
Site Status Logs Preview QR
 website
69d7f2670014e24571ca
Ready Ready View Logs Preview URL QR Code

Website (appwrite/website)

Project ID: 684969cb000a2f6c0a02

Sites (1)
Site Status Logs Preview QR
 website
68496a17000f03d62013
Processing Processing View Logs Preview URL QR Code


Tip

Global CDN and DDoS protection come free with every Sites deployment

@greptile-apps

greptile-apps Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Updates the homepage hero pill (both layout variants) from the Presences API announcement to the State of Appwrite Cloud survey, and adds target="_blank" / rel="noopener noreferrer" to hero-banner.svelte so external links open safely in a new tab.

  • hero.svelte: replaces the title, href, and icon props in both conditional render paths; the sparkle icon is the component default and renders via the existing else branch.
  • hero-banner.svelte: the new external-link detection uses href.startsWith('http'), which correctly covers http:// and https:// and does not affect existing internal relative paths (/blog/post/…).

Confidence Score: 5/5

A focused content swap with a small, well-scoped security improvement; no behavioral regressions expected.

Two files changed: one swaps the pill's text, link, and icon (straightforward prop update), and the other adds a correct external-link guard. The startsWith('http') heuristic works correctly for the https://forms.gle/… URL and does not affect existing internal paths. No logic branches are removed or altered.

No files require special attention.

Important Files Changed

Filename Overview
src/routes/(marketing)/(components)/hero-banner.svelte Adds target="_blank" and rel="noopener noreferrer" for external (http/https) links; the sparkle icon continues to render correctly via the existing else branch.
src/routes/(marketing)/(components)/hero.svelte Updates both layout variants of the hero pill to point to the State of Appwrite Cloud survey with the correct external URL and sparkle icon.

Reviews (1): Last reviewed commit: "feat(marketing): point hero pill to Stat..." | Re-trigger Greptile

@atharvadeosthale atharvadeosthale merged commit 41f369d into main Jul 10, 2026
6 of 7 checks passed
@atharvadeosthale atharvadeosthale deleted the feat-state-of-appwrite-survey-pill branch July 10, 2026 08:39
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.

2 participants