Skip to content

chore: codebase cleanup, perf optimization & BuiltWith/Wappalyzer tech integrations#34

Merged
Designed-By-Anthony merged 5 commits into
mainfrom
devin/1777561318-cleanup-perf-tech-integrations
Apr 30, 2026
Merged

chore: codebase cleanup, perf optimization & BuiltWith/Wappalyzer tech integrations#34
Designed-By-Anthony merged 5 commits into
mainfrom
devin/1777561318-cleanup-perf-tech-integrations

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Addresses the three areas flagged in the codebase review: alarming issues, free detectable tech integrations, and page speed optimization.

Cleanup

  • Zustand badge removed from the "Our Edge" stack display — the dependency was already removed but the badge was still advertising it (credibility fix).
  • console.warn removed from the competitor-scan catch block in apps/api/src/routes/audit.ts (AGENTS.md Definition of Done).
  • Firebase/Firestore references cleaned from lighthouse2.md — updated to reflect the actual Cloudflare Pages/Workers + KV/D1 infrastructure.

Free Tech Integrations (BuiltWith / Wappalyzer detectable, zero page speed cost)

  • Web App Manifest (manifest.webmanifest) — triggers PWA detection. Static JSON file, no JS weight.
  • JSON-LD structured data — reuses canonical buildBaseOrganizationSchema() and buildBaseWebsiteSchema() from seo.ts in the root layout, so every page gets Organization + WebSite schema (not just the homepage). No hardcoded duplicates — single source of truth.

Dependency Hygiene

  • Moved googleapis from apps/web/package.json to packages/shared/package.json where it is actually consumed (only used by API Worker via gmail.ts).

Already optimized (no changes needed)

  • GSAP — already dynamically imported in InnerPageMotionSystem.tsx
  • Fonts — all @font-face declarations already use font-display: swap
  • jspdf — already offloaded to server-side PDF generation via API Worker (merged in a parallel PR)

Review & Testing Checklist for Human

  • Verify the "Our Edge" stack section on the homepage no longer shows "Zustand"
  • Confirm JSON-LD appears in page source (view-source: → search for application/ld+json) on non-homepage pages (e.g. /services)
  • Validate manifest.webmanifest loads at https://designedbyanthony.com/manifest.webmanifest
  • Run a BuiltWith or Wappalyzer scan post-deploy to confirm new tech detections

Notes

  • Cloudflare Web Analytics requires dashboard-only enablement (no code change) — listed in remaining TODOs.
  • framer-motion is deeply integrated into core UI components and already tree-shakes via framer-motion/client imports — making it fully dynamic would be invasive for minimal gain.
  • Devin Review initially flagged conflicting JSON-LD data (wrong city, wrong Instagram handle) in the hardcoded version — fixed by reusing the canonical seo.ts builders instead.

Link to Devin session: https://app.devin.ai/sessions/d5322721548c425a8749f04b199756b7
Requested by: @Designed-By-Anthony


Open in Devin Review

…h integrations

- Remove Zustand badge from 'Our Edge' stack display (dep was already removed)
- Remove stray console.warn in audit competitor-scan catch block
- Clean up outdated Firebase/Firestore references in lighthouse2.md
- Add manifest.webmanifest for PWA detection on BuiltWith/Wappalyzer
- Add JSON-LD structured data (Organization, LocalBusiness, WebSite)
- Dynamic-import jspdf via buildAuditPdf (lazy-load on PDF download)
- Move googleapis + jspdf deps to packages/shared where they belong

Co-Authored-By: Anthony Jones <anthony@designedbyanthony.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

Co-Authored-By: Anthony Jones <anthony@designedbyanthony.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Apr 30, 2026

Copy link
Copy Markdown

Deploying designedbyanthony with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9e753d6
Status: ✅  Deploy successful!
Preview URL: https://08e799fb.dba-92r.pages.dev
Branch Preview URL: https://devin-1777561318-cleanup-per.dba-92r.pages.dev

View logs

devin-ai-integration Bot and others added 2 commits April 30, 2026 15:14
Co-Authored-By: Anthony Jones <anthony@designedbyanthony.com>
…up + tech integrations)

Co-Authored-By: Anthony Jones <anthony@designedbyanthony.com>
devin-ai-integration[bot]

This comment was marked as resolved.

…onflicting data

Co-Authored-By: Anthony Jones <anthony@designedbyanthony.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

Superseded by #38 (consolidated PR). This can be closed.

@Designed-By-Anthony Designed-By-Anthony merged commit 4503e49 into main Apr 30, 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