diff --git a/website/app/aura/page.tsx b/website/app/aura/page.tsx new file mode 100644 index 0000000..d22f897 --- /dev/null +++ b/website/app/aura/page.tsx @@ -0,0 +1,131 @@ +import type {Metadata} from 'next'; +import Image from 'next/image'; +import Link from 'next/link'; +import {BarChart3,Camera,Download,Flame,GitCommitHorizontal,ShieldCheck,Skull,Sparkles,Trophy,Zap} from 'lucide-react'; +import {Nav} from '@/components/Nav'; +import {Footer} from '@/components/Footer'; +import {MoreExtensions} from '@/components/MoreExtensions'; +import {Breadcrumbs} from '@/components/Breadcrumbs'; +import {Installs} from '@/components/Installs'; +import {ClosingCTA} from '@/components/ContentPage'; +import {absolute,jsonLd,marketplaceUrl,VSCODE_EXTENSIONS,vsixUrl} from '@/lib/site'; +import {liveExtension} from '@/lib/catalog'; +import '../live-server/live-server.css'; +import '../port-manager/port-manager.css'; + +const EXT_BASE=VSCODE_EXTENSIONS.aura; +const MARKETPLACE=marketplaceUrl(EXT_BASE.id), VSIX=vsixUrl(EXT_BASE); + +export const metadata:Metadata={ + title:'Veyra Aura for VS Code: Your Coding Aura, Ranks and Streaks', + description:'Farm aura for clearing errors, commits and passing tests. Lose it for “wip” commits and force pushes. Rank up from NPC to Final Boss, keep your 🔥 streak and share your aura card. Free VS Code extension, 100% local.', + keywords:['coding aura','aura points','VS Code gamification','coding streak','developer stats','gen z','VS Code extension','commit streak','fun VS Code extension','productivity'], + alternates:{canonical:'/aura'}, + openGraph:{url:'/aura',title:'Veyra Aura: your coding aura ✨',description:'Farm aura, rank up from NPC to Final Boss, share your aura card. Free for VS Code.',images:[{url:'/aura-card.png',width:1200,height:630,alt:'An aura card: 1,150 aura, Locked In, a 7-day streak and +590 this week'}]}, +}; + +const FEATURES=[ + {icon:Sparkles,title:'Aura for real wins',copy:'Clear every error in a file, ship a commit, get your tests green, delete dead code. Real wins, real aura.'}, + {icon:Skull,title:'Roast mode 💀',copy:'A “wip” commit message, failing tests, a force push or a leftover debugger costs you. Turn it off if you only want the W’s.'}, + {icon:Trophy,title:'NPC to Final Boss',copy:'Eight ranks: NPC, Side Character, Main Character, Locked In, Sigma, Aura Farmer, Goated and Final Boss.'}, + {icon:Flame,title:'Your 🔥 streak',copy:'Code every day to keep it alive. Each streak day adds a bonus, up to +50 a day.'}, + {icon:Zap,title:'Every move, live',copy:'Your aura and streak sit in the status bar, and each move flashes there as it happens: +15 aura 🧹.'}, + {icon:BarChart3,title:'The Aura panel',copy:'A glowing ring, your rank and progress, the week as a chart, your best moves, and a feed of every move.'}, + {icon:Camera,title:'Share your aura card',copy:'One click makes a 1200 × 630 card for X, Instagram and LinkedIn, with the caption copied and ready to post.'}, + {icon:GitCommitHorizontal,title:'Knows what you did',copy:'Errors from Problems, commits from VS Code’s Git, tests and builds from tasks and the terminal. No setup.'}, + {icon:ShieldCheck,title:'100% local',copy:'Your aura is stored in VS Code on your computer. No account, no leaderboard, no telemetry.'}, +]; +const MOVES:[string,string][]=[ + ['🧹 Clear every error in a file','+15'],['📦 Ship a commit','+20'],['✍️ A commit message that eats','+5'],['✅ Tests pass','+20'], + ['🏗️ Build passes','+10'],['✂️ Delete 50+ lines','+15'],['🔒 25 minutes locked in','+10'],['🔥 Each streak day','+5'], + ['💀 “wip” commit message','−5'],['🫠 Tests said nah','−5'],['☢️ git push --force','−20'],['🐛 Leftover debugger','−5'], +]; +const FAQ=[ + {q:'Is it free?',a:'Yes. Veyra Aura is free and MIT licensed, with no account and no telemetry.'}, + {q:'Can I farm aura by saving the same file 500 times?',a:'No. Every move has a daily limit, so aura comes from real work: clearing errors, commits, passing tests and builds.'}, + {q:'How does it know my tests passed?',a:'From VS Code tasks, and from commands you run in VS Code’s terminal (npm test, pytest, go test, cargo test and more) when shell integration is on, which it is by default in VS Code 1.93 and newer.'}, + {q:'Can I turn off losing aura?',a:'Yes. Turn off Roast mode in Settings → Veyra Aura and you only ever gain aura.'}, + {q:'Is my code sent anywhere?',a:'No. Aura only counts what VS Code already sees on your computer, and stores your aura there. Nothing leaves your machine.'}, + {q:'What are the ranks?',a:'NPC (0), Side Character (100), Main Character (300), Locked In (700), Sigma (1,500), Aura Farmer (3,000), Goated (6,000) and Final Boss (10,000). Below zero is Negative Aura.'}, +]; + +export default async function AuraPage(){ + const EXT=await liveExtension(EXT_BASE); + const app={ + '@context':'https://schema.org','@type':'SoftwareApplication',name:'Veyra Aura',applicationCategory:'DeveloperApplication', + operatingSystem:'Windows, macOS, Linux',url:absolute('/aura'),image:absolute('/aura-icon.png'),softwareVersion:EXT.version,downloadUrl:EXT.listed?MARKETPLACE:VSIX, + description:'A free VS Code extension that turns coding into aura points: earn aura for clearing errors, commits and passing tests, rank up from NPC to Final Boss, keep a streak and share an aura card.', + offers:{'@type':'Offer',price:'0',priceCurrency:'USD'},publisher:{'@type':'Organization',name:'Veyra',url:absolute('/')}, + }; + const faq={'@context':'https://schema.org','@type':'FAQPage',mainEntity:FAQ.map(item=>({'@type':'Question',name:item.q,acceptedAnswer:{'@type':'Answer',text:item.a}}))}; + + return <>