Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .claude/settings.local.json

This file was deleted.

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,6 @@ sessions/
# Python (if any scripts)
__pycache__/
*.py[cod]
*$py.class
*$py.class
# Claude Code local settings (machine-specific permissions)
.claude/settings.local.json
2 changes: 1 addition & 1 deletion client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Beacon</title>
<meta name="description" content="Watch videos in sync and send files directly between browsers." />
Expand Down
6 changes: 6 additions & 0 deletions client/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 12 additions & 16 deletions client/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@ function ProtectedRoute({ children }) {

if (loading) {
return (
<div className="min-h-screen flex flex-col items-center justify-center relative overflow-hidden" style={{ background: 'var(--bg-primary)' }}>
<div className="orb w-[320px] h-[320px] top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2" style={{ background: 'rgb(var(--accent) / 0.4)' }} />
<div className="beacon-mark w-14 h-14 rounded-2xl grid place-items-center animate-beacon relative z-10">
<Gem size={26} className="text-white" />
<div className="min-h-screen flex flex-col items-center justify-center" style={{ background: 'var(--bg-primary)' }}>
<div className="beacon-mark w-12 h-12 rounded-xl grid place-items-center animate-beacon">
<Gem size={22} className="text-white" />
</div>
<p className="mt-5 text-xs font-bold tracking-[0.25em] uppercase relative z-10" style={{ color: 'var(--text-secondary)' }}>
<p className="mt-5 text-xs font-semibold" style={{ color: 'var(--text-secondary)' }}>
Lighting the beacon…
</p>
</div>
Expand All @@ -53,19 +52,16 @@ class ErrorBoundary extends React.Component {
render() {
if (this.state.hasError) {
return (
<div className="min-h-screen bg-[#0F172A] text-white flex items-center justify-center p-6">
<div className="glass-card max-w-md w-full p-10 text-center border-red-500/20">
<div className="w-16 h-16 bg-red-500/10 rounded-2xl flex items-center justify-center mx-auto mb-6 border border-red-500/20">
<AlertTriangle className="h-8 w-8 text-red-400" />
<div className="min-h-screen flex items-center justify-center p-6" style={{ background: 'var(--bg-primary)', color: 'var(--text-primary)' }}>
<div className="glass-card max-w-md w-full p-10 text-center">
<div className="w-14 h-14 rounded-xl flex items-center justify-center mx-auto mb-6" style={{ background: 'rgb(var(--accent) / 0.12)' }}>
<AlertTriangle className="h-7 w-7" style={{ color: 'rgb(var(--accent))' }} />
</div>
<h1 className="text-2xl font-bold mb-4">Critical System Error</h1>
<p className="text-slate-400 text-sm mb-8 font-mono">{this.state.error?.message || 'Kernel panic detected.'}</p>
<button
onClick={() => window.location.reload()}
className="w-full glass-button !from-red-600 !to-red-500 shadow-red-500/20"
>
<h1 className="text-xl font-bold mb-3">Something went wrong</h1>
<p className="text-sm mb-8 font-mono" style={{ color: 'var(--text-secondary)' }}>{this.state.error?.message || 'An unexpected error broke the page.'}</p>
<button onClick={() => window.location.reload()} className="btn btn-primary w-full">
<RefreshCw className="h-4 w-4 mr-2" />
REBOOT SYSTEM
Reload
</button>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Appearance.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { useState, useEffect } from 'react'
import { useTheme } from '../context/ThemeContext'
import { TOKENS } from '../lib/themes'
import { Sparkles, SlidersHorizontal, Code2, Sun, Moon, Check, Copy, AlertTriangle, Zap, Save, Undo2 } from 'lucide-react'
import { Palette, SlidersHorizontal, Code2, Sun, Moon, Check, Copy, AlertTriangle, Zap, Save, Undo2 } from 'lucide-react'

const MODES = [
{ id: 'easy', label: 'Easy', icon: Sparkles, hint: 'Presets & basics' },
{ id: 'easy', label: 'Easy', icon: Palette, hint: 'Presets & basics' },
{ id: 'advanced', label: 'Advanced', icon: SlidersHorizontal, hint: 'Fine-tune tokens' },
{ id: 'tinkerer', label: 'Tinkerer', icon: Code2, hint: 'Full control' },
]
Expand Down
Loading
Loading