fix: Full site audit — 15 critical + important issues fixed#113
Conversation
Critical: - Sitemap: fall back to anon key when service role key unavailable (fixes 0 experience pages in sitemap) - AdSense: change strategy from beforeInteractive to lazyOnload (unblocks rendering) - Font: switch from Google Fonts <link> to next/font/google (eliminates render-blocking request) Important: - Remove force-dynamic conflicting with revalidate on companies/[company], companies/page, interview-experience/[slug] - Add canonical URLs to companies/[company], companies listing, interview-experience listing, blog listing, tags - Add custom not-found.tsx (404) and error.tsx pages with navigation - Add HTML sanitizer for dangerouslySetInnerHTML on experience pages (XSS prevention) - Fix siteConfig.author from 'Sharmag' to 'Deepak Sharma' Nice-to-have: - Fix footer: GitHub link (depaksharma -> deepu0), Twitter link (generic -> @frontendjunction) - Fix tags page meta description from placeholder to proper SEO text - Add security headers: X-Content-Type-Options, X-Frame-Options, X-DNS-Prefetch-Control, Referrer-Policy - Remove console.log from production components (add-new-experience, session-provider) - Sitemap: add error logging and increase experience limit to 1000
|
Someone is attempting to deploy this pull request to the deepu0's projects Team on Vercel. No GitHub account was found matching the commit author email address. To deploy this pull request, the commit author's email address needs to be associated with a GitHub account. Learn more about how to change the commit author information. |
|
Warning Review limit reached
More reviews will be available in 5 minutes and 37 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (16)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
Full Site Audit — 15 Issues Fixed
🔴 Critical
🟡 Important
🟢 Nice-to-have
9-13. Footer links, tags description, security headers, console.log cleanup, sitemap logging
No breaking changes