Add proper diff viewer with syntax highlighting

This commit is contained in:
Oracle 2026-05-03 15:36:14 +02:00
parent d9c27b4353
commit 60eaae5371
Signed by: Oracle
SSH key fingerprint: SHA256:x4/RtnjUyuHkdvmwNDsWSfcfF1V5PNr3OpriZqOvCX8
23 changed files with 2358 additions and 870 deletions

View file

@ -26,9 +26,9 @@ src/
pages/
index.astro # challenge listing + hero
profile.astro # user profile / XP dashboard
challenges/[slug].astro # single challenge view with DiffViewer
challenges/[slug].astro # single challenge view with side-by-side DiffViewer + submit fix panel
components/
DiffViewer.astro # side-by-side code diff UI
DiffViewer.astro # side-by-side diff: left=read-only buggy code, right=editable fix with real-time diff highlighting
Welcome.astro # legacy starter component
layouts/Layout.astro # root layout wrapping header/nav/footer
styles/global.css # global styles