Skip to content

Commit f4ff707

Browse files
barckcodeclaude
andcommitted
feat: SEO, accessibility, and branding overhaul
- Add og:image, twitter:image meta tags for social sharing cards - Add robots.txt and @astrojs/sitemap integration - Add apple-touch-icon, favicon fallback, theme-color meta - Add preconnect/dns-prefetch for external domains - Add poster attribute to video elements - Add skip navigation link to both layouts - Add prefers-reduced-motion support in global.css - Add aria-hidden to decorative SVGs across all components - Add aria-label to sections, videos, and sidebar nav - Add focus-visible styles to CTA buttons - Add (opens in new tab) indicator to target="_blank" links - Replace navbar logo with new horizontal brand SVG - Update .gitignore to allow PNG assets in web/public/ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3a2e0ee commit f4ff707

24 files changed

+240
-70
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ web/.playwright/
1414

1515
# Misc
1616
*.png
17+
!web/public/**/*.png
1718
.DS_Store
1819
*.log
1920

web/astro.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
// @ts-check
22
import { defineConfig } from 'astro/config';
33
import tailwindcss from '@tailwindcss/vite';
4+
import sitemap from '@astrojs/sitemap';
45

56
// https://astro.build/config
67
export default defineConfig({
7-
integrations: [],
8+
integrations: [sitemap()],
89
output: 'static',
910
site: 'https://agentcrew.sh',
1011

web/package-lock.json

Lines changed: 76 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"test:e2e": "playwright test"
1111
},
1212
"dependencies": {
13+
"@astrojs/sitemap": "^3.7.1",
1314
"@tailwindcss/vite": "^4.2.0",
1415
"astro": "^5.17.1",
1516
"tailwindcss": "^4.2.0"

web/public/apple-touch-icon.png

21.9 KB
Loading

web/public/favicon.ico

4.66 KB
Binary file not shown.

web/public/favicon.svg

Lines changed: 27 additions & 16 deletions
Loading

web/public/og-image.png

159 KB
Loading

web/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://agentcrew.sh/sitemap-index.xml

web/src/components/Architecture.astro

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const lang = Astro.props.lang ?? 'en';
77
const t = useTranslations(lang);
88
---
99

10-
<section id="architecture" class="py-16 sm:py-20" style="background-color: #0a0f1e;">
10+
<section id="architecture" class="py-16 sm:py-20" aria-label="Architecture" style="background-color: #0a0f1e;">
1111
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
1212
<!-- Header -->
1313
<div class="text-center mb-16 reveal">
@@ -27,8 +27,10 @@ const t = useTranslations(lang);
2727
muted
2828
loop
2929
playsinline
30+
poster="/screenshots/app-team-detail.png"
3031
class="w-full rounded-2xl"
3132
style="background: #0a0f1e;"
33+
aria-label="AgentCrew architecture overview"
3234
>
3335
<source src="/videos/architecture-flow.mp4" type="video/mp4" />
3436
</video>
@@ -37,7 +39,7 @@ const t = useTranslations(lang);
3739
<!-- Supporting bullets -->
3840
<div class="grid grid-cols-1 sm:grid-cols-3 gap-6 mt-10 reveal">
3941
<div class="flex items-start gap-3 p-4 rounded-xl border border-slate-800/60 bg-slate-900/30">
40-
<div class="w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 mt-0.5" style="background: rgba(59, 130, 246, 0.15);">
42+
<div class="w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 mt-0.5" style="background: rgba(59, 130, 246, 0.15);" aria-hidden="true">
4143
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#60a5fa" stroke-width="2" stroke-linecap="round">
4244
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/>
4345
</svg>
@@ -48,7 +50,7 @@ const t = useTranslations(lang);
4850
</div>
4951
</div>
5052
<div class="flex items-start gap-3 p-4 rounded-xl border border-slate-800/60 bg-slate-900/30">
51-
<div class="w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 mt-0.5" style="background: rgba(139, 92, 246, 0.15);">
53+
<div class="w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 mt-0.5" style="background: rgba(139, 92, 246, 0.15);" aria-hidden="true">
5254
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#a78bfa" stroke-width="2" stroke-linecap="round">
5355
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/>
5456
<circle cx="12" cy="12" r="3"/>
@@ -60,7 +62,7 @@ const t = useTranslations(lang);
6062
</div>
6163
</div>
6264
<div class="flex items-start gap-3 p-4 rounded-xl border border-slate-800/60 bg-slate-900/30">
63-
<div class="w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 mt-0.5" style="background: rgba(34, 197, 94, 0.15);">
65+
<div class="w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 mt-0.5" style="background: rgba(34, 197, 94, 0.15);" aria-hidden="true">
6466
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#4ade80" stroke-width="2" stroke-linecap="round">
6567
<polyline points="16 18 22 12 16 6"/>
6668
<polyline points="8 6 2 12 8 18"/>

0 commit comments

Comments
 (0)