Skip to content

Remove Heroes page and footer links#2984

Open
Copilot wants to merge 2 commits intomainfrom
copilot/remove-heroes-page-link
Open

Remove Heroes page and footer links#2984
Copilot wants to merge 2 commits intomainfrom
copilot/remove-heroes-page-link

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 8, 2026

Removes the Heroes program page and its references from the site footer navigation. Also adds a redirect so existing links to /heroes are forwarded to the homepage.

Changes

  • Deleted src/routes/heroes/ route directory (page, card component, and image assets)
  • Removed Heroes entry from the Programs section in both FooterNav.svelte and site-footer.svelte
  • Added redirect from /heroes to / in src/redirects.json

Agent-Logs-Url: https://github.com/appwrite/website/sessions/933dd635-499d-41cf-9eeb-79e2a89dd66e

Co-authored-by: adityaoberai <31401437+adityaoberai@users.noreply.github.com>
@appwrite
Copy link
Copy Markdown

appwrite Bot commented May 8, 2026

Appwrite Website

Project ID: 69d7efb00023389e8d27

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

Website (appwrite/website)

Project ID: 684969cb000a2f6c0a02

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


Tip

Sites support three domain rule types: Active deployment, Git branch, and Redirect

@adityaoberai
Copy link
Copy Markdown
Contributor

@copilot let's also add a redirect in src/redirects.json from /heroes to /

Agent-Logs-Url: https://github.com/appwrite/website/sessions/a297f50d-616e-4a7c-87ec-8ef22a517146

Co-authored-by: adityaoberai <31401437+adityaoberai@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 8, 2026

@copilot let's also add a redirect in src/redirects.json from /heroes to /

Added the redirect from /heroes to / in src/redirects.json (ac79a61).

@adityaoberai adityaoberai marked this pull request as ready for review May 8, 2026 06:36
Copilot AI requested a review from adityaoberai May 8, 2026 06:36
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 8, 2026

Greptile Summary

This PR removes the Appwrite Heroes program page and all references to it from the site's footer navigation, replacing the live route with a redirect to the homepage.

  • Deleted src/routes/heroes/+page.svelte and HeroCard.svelte along with two local image assets (bg-pre.avif, teal-blur.avif).
  • Removed the Heroes nav entry from both FooterNav.svelte and site-footer.svelte so no footer links point to the gone route.
  • Added a { \"link\": \"/heroes\", \"redirect\": \"/\" } entry to src/redirects.json, preventing 404s for bookmarks and any indexed search-engine URLs.

Confidence Score: 5/5

The change is a clean page removal with a matching redirect; no broken links or dangling references remain.

All surface-area checks out: both footer components are updated consistently, the route files and local assets are fully deleted, and the redirect entry ensures the old URL degrades gracefully. A grep of the broader src/ tree confirmed that the only other files containing 'heroes' are blog-post markdoc files that mention the word in prose — none contain a hyperlink to /heroes, so they are unaffected by this removal.

No files require special attention.

Important Files Changed

Filename Overview
src/lib/components/FooterNav.svelte Removes the Heroes entry from the Programs section of the footer navigation.
src/lib/components/layout/site-footer.svelte Removes the Heroes entry from the Programs section in the site footer, consistent with FooterNav.svelte.
src/redirects.json Adds a redirect from /heroes to / to prevent 404s for existing bookmarks and search engine index entries.
src/routes/heroes/+page.svelte Deleted the Heroes program page (531 lines) including hero card data, layout, and styles.
src/routes/heroes/HeroCard.svelte Deleted the HeroCard component that was only used by the now-removed heroes page.

Reviews (1): Last reviewed commit: "feat: add redirect from /heroes to /" | Re-trigger Greptile

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