Award-winning retro-futuristic landing page for SolCoder - the AI-powered Solana development CLI.
- Aesthetic: Retro terminal vibes with Solana purple-green gradients
- Framework: Astro (static-first, minimal JS)
- Styling: Tailwind CSS + custom terminal effects
- Performance: Lighthouse 95+ target
- Accessibility: WCAG 2.1 AA compliant
- Node.js 18+ or 20+
- npm or pnpm
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run previewThe site will be available at http://localhost:4321
/
βββ public/
β βββ fonts/ # Self-hosted fonts (add Fira Code, Space Grotesk)
β βββ images/ # OG images, favicons
β βββ videos/ # Demo videos
β βββ noise-texture.png # Background noise texture
βββ src/
β βββ components/ # Astro components (Hero, Features, etc.)
β βββ layouts/ # Layout wrapper with SEO
β βββ pages/ # Routes (index.astro)
β βββ styles/ # Global CSS, terminal effects, animations
β βββ scripts/ # Client-side TypeScript (terminal simulator)
βββ astro.config.mjs # Astro configuration
βββ tailwind.config.cjs # Tailwind with Solana colors
βββ netlify.toml # Netlify deployment config
/* Primary */
--solana-purple: #9945FF
--solana-green: #14F195
--deep-space: #0E0E0E
/* Supporting */
--cyan-info: #38BDF8
--amber-warn: #FBBF24
--pink-error: #FB7185
/* Text */
--slate-primary: #E6FFFA
--slate-secondary: #94A3B8
--slate-tertiary: #64748B- Monospace: Fira Code, JetBrains Mono (headers, terminals, code)
- Sans-serif: Space Grotesk, Inter (body copy)
- Retro: Press Start 2P, VT323 (special callouts)
- Hero - ASCII banner with animated gradient headline
- Problem - Old way vs SolCoder way split comparison
- Vision - Roadmap timeline with progress bars
- Features - 3x3 grid of core capabilities
- Interactive Demo - Client-side terminal simulator
- Social Proof - Stats, testimonials, awards
- Contribution CTA - Open source community section
- Getting Started - Installation guide with terminal
- Footer - Multi-column links with ASCII logo
- CRT Screen: Scanline overlay, subtle flicker
- Terminal Glow: Solana green glow on hover
- Typing Animation: Character-by-character text reveal
- Cursor Blink: Classic terminal cursor
- Scroll Animations: Intersection Observer-triggered fades
- Gradient Shifts: Animated purple-to-green backgrounds
- Semantic HTML5
- ARIA labels on interactive elements
- Keyboard navigation support
- High contrast mode support
prefers-reduced-motionmedia queries- Screen reader announcements
- Open Graph meta tags
- Twitter Card support
- JSON-LD structured data
- Canonical URLs
- Optimized meta descriptions
- Sitemap (auto-generated by Astro)
Before deploying, add these assets to /public:
/public/fonts/
βββ FiraCode-Regular.woff2
βββ FiraCode-Medium.woff2
βββ FiraCode-Bold.woff2
βββ SpaceGrotesk-Regular.woff2
βββ SpaceGrotesk-Medium.woff2
βββ PressStart2P-Regular.woff2
Download from:
- Fira Code: https://github.com/tonsky/FiraCode
- Space Grotesk: https://fonts.google.com/specimen/Space+Grotesk
- Press Start 2P: https://fonts.google.com/specimen/Press+Start+2P
/public/images/
βββ og-image-terminal.png # 1200x630px (Open Graph)
βββ twitter-card-gradient.png # 1200x600px (Twitter Card)
βββ favicon.svg # SVG favicon
/public/
βββ favicon.svg
βββ favicon-32x32.png
βββ favicon-16x16.png
βββ apple-touch-icon.png
βββ site.webmanifest
Generate favicons: https://realfavicongenerator.net/
Create a subtle noise texture (200x200px) for the background:
# Using ImageMagick
convert -size 200x200 xc: +noise Random -colorspace Gray \
-separate -threshold 50% -negate \
/public/noise-texture.pngOr use an online generator: https://www.noisetexturegenerator.com/
-
Connect Repository
# Push to GitHub git init git add . git commit -m "Initial commit - SolCoder landing page" git remote add origin <your-repo-url> git push -u origin main
-
Deploy to Netlify
- Go to https://app.netlify.com/
- Click "Add new site" β "Import an existing project"
- Connect your GitHub repo
- Build settings are auto-detected from
netlify.toml - Deploy!
-
Custom Domain (Optional)
- Go to Site settings β Domain management
- Add custom domain (e.g.,
solcoder.dev) - Configure DNS as instructed
# Build the site
npm run build
# Output will be in /dist
# Upload dist/ to any static hosting (Vercel, Cloudflare Pages, etc.)npm run dev # Start dev server (http://localhost:4321)
npm run build # Build for production
npm run preview # Preview production build locally
npm run format # Format code with PrettierNo environment variables required for static build.
Astro supports hot module replacement (HMR). Save any file and see changes instantly.
- All sections render correctly
- Animations trigger on scroll
- Interactive demo works (click prompts)
- Links navigate correctly
- Mobile responsive (test on real device)
- Dark mode works (native to design)
- Keyboard navigation functional
- Screen reader announces content
# Build and preview
npm run build && npm run preview
# Open Chrome DevTools
# Run Lighthouse audit
# Target: 95+ on all metricsTest on:
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Mobile Safari (iOS)
- Chrome Mobile (Android)
Edit numbers in src/components/SocialProof.astro:
<div class="stat-value">2,847</div> <!-- Update here -->
<div class="stat-label">Developers</div>Edit src/components/SocialProof.astro:
<div class="terminal-window max-w-3xl mx-auto">
<div class="terminal-content">
<p class="text-slate-primary mb-4">
"Your testimonial here..."
</p>
<div class="text-sm text-solana-green font-mono">
β Name, Title
</div>
</div>
</div>Edit src/components/VisionSection.astro to update phase progress bars:
<div class="h-full bg-solana-green rounded-full" style="width: 100%"></div>
<!-- Change width percentage -->- First Contentful Paint: <1.2s
- Time to Interactive: <2.5s
- Total JS Bundle: <50KB (gzipped)
- Total CSS Bundle: <30KB (gzipped)
- Lighthouse Score: 95+ (all categories)
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-update) - Commit changes (
git commit -m 'Add amazing update') - Push to branch (
git push origin feature/amazing-update) - Open a Pull Request
MIT License - see LICENSE file for details
- SolCoder Main Repo: https://github.com/solcoder/SolCoder
- Documentation: https://docs.solcoder.dev
- Discord: https://discord.gg/solcoder
- Twitter: https://twitter.com/solcoder
Built with π by the Solana community using Astro