Skip to content

Commit 5708707

Browse files
ajitpratap0Ajit Pratap Singhclaude
authored
perf+seo(website): lazy WASM loading, SEO optimization, download progress (#376)
* seo(website): sitemap, robots.txt, structured data, meta tags, RSS feed Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * perf(website): lazy WASM loading with static preview and download progress Defer the 6.5MB WASM binary download on the homepage until the user clicks "Try Interactive Playground". Show a static preview by default. Add download progress tracking with a percentage indicator and progress bar on both the homepage (when activated) and the playground page. 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 8ba153f commit 5708707

File tree

9 files changed

+428
-10
lines changed

9 files changed

+428
-10
lines changed

website/astro.config.mjs

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

67
export default defineConfig({
78
site: 'https://ajitpratap0.github.io',
89
base: '/GoSQLX/',
9-
integrations: [react(), tailwind()],
10+
integrations: [react(), tailwind(), sitemap()],
1011
output: 'static',
1112
markdown: {
1213
remarkPlugins: [remarkFixLinks],

website/package-lock.json

Lines changed: 152 additions & 0 deletions
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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
"type": "commonjs",
1616
"dependencies": {
1717
"@astrojs/react": "^5.0.0",
18+
"@astrojs/rss": "^4.0.17",
19+
"@astrojs/sitemap": "^3.7.1",
1820
"@astrojs/tailwind": "^6.0.2",
1921
"@codemirror/lang-sql": "^6.10.0",
2022
"@codemirror/state": "^6.6.0",

website/public/robots.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Allow: /
3+
4+
Sitemap: https://ajitpratap0.github.io/GoSQLX/sitemap-index.xml

0 commit comments

Comments
 (0)