Skip to content

Commit 402d8b8

Browse files
ajitpratap0Ajit Pratap Singhclaude
authored
fix(website): comprehensive audit fixes — 19 issues across 5 categories (#374)
* fix(website): broken doc links, footer links, playground mobile layout - Add remark plugin to rewrite relative .md links to website routes - Fix Footer "Getting Started" and "API Reference" links to point to correct pages - Make Playground layout responsive with flex-col/flex-row and w-full/w-1/2 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(website): font loading, preconnect hints, og:image, badge CLS Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(website): WASM timeout, CSP, 404 page, hero height, AnalyzeTab CSS - Add 15-second timeout to WASM polling loop to prevent infinite hangs - Add Content-Security-Policy meta tag for XSS protection - Create custom 404 page with navigation links - Change hero playground output from fixed height to min/max height - Remove conflicting inline-block class from AnalyzeTab score card Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(website): design tokens, blog palette, VS Code page icons - Add deeper and code color tokens to tailwind config - Replace raw hex colors with design tokens in Navbar, FeatureCards, CodeExamples, and VscodeSection components - Migrate blog pages from gray to slate palette for consistency - Replace emoji HTML entities with SVG icons in VS Code features grid Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(website): accessibility — landmarks, focus styles, ARIA roles - Wrap page content in <main> landmarks on index, playground, vscode, benchmarks pages - Add focus-visible outline styles for buttons, links, and selects - Change CodeMirror focused outline from none to visible blue ring - Add role=tablist/tab/tabpanel and aria-selected to tab interfaces in Playground, HeroPlayground, and CodeExamples components Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Ajit Pratap Singh <ajitpratapsingh@Ajits-Mac-mini-2655.local> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7b9263c commit 402d8b8

26 files changed

+716
-49
lines changed

website/astro.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
import { defineConfig } from 'astro/config';
22
import react from '@astrojs/react';
33
import tailwind from '@astrojs/tailwind';
4+
import { remarkFixLinks } from './src/plugins/remark-fix-links.mjs';
45

56
export default defineConfig({
67
site: 'https://ajitpratap0.github.io',
78
base: '/GoSQLX/',
89
integrations: [react(), tailwind()],
910
output: 'static',
11+
markdown: {
12+
remarkPlugins: [remarkFixLinks],
13+
},
1014
});

website/package-lock.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"codemirror": "^6.0.2",
2626
"react": "^19.2.4",
2727
"react-dom": "^19.2.4",
28-
"tailwindcss": "^3.4.19"
28+
"tailwindcss": "^3.4.19",
29+
"unist-util-visit": "^5.1.0"
2930
},
3031
"devDependencies": {
3132
"@types/react": "^19.2.14",

0 commit comments

Comments
 (0)