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
2 changes: 0 additions & 2 deletions apps/web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,6 @@ export default function App() {
{currentScreen === 'completion' && (
<CompletionScreen
onClose={() => setCurrentScreen('progress')}
onGoToProfile={() => setCurrentScreen('progress')}
onViewLeaderboard={() => setCurrentScreen('progress')}
/>
)}
</div>
Expand Down
21 changes: 1 addition & 20 deletions apps/web/src/components/CompletionScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@ import { CheckCircle2, Star } from 'lucide-react';

interface CompletionScreenProps {
onClose: () => void;
onGoToProfile: () => void;
onViewLeaderboard: () => void;
}

export default function CompletionScreen({
onClose,
onGoToProfile,
onViewLeaderboard
onClose
}: CompletionScreenProps) {
return (
<div
Expand Down Expand Up @@ -91,21 +87,6 @@ export default function CompletionScreen({
</p>
</div>

{/* Action Buttons */}
<div className="flex flex-col sm:flex-row gap-4 w-full max-w-md shrink-0">
<button
onClick={onGoToProfile}
className="px-6 py-3 bg-gradient-to-r from-[#8B5CF6] to-[#6D28D9] rounded-xl font-bold text-white hover:opacity-90 transition-opacity flex-1"
>
Go to Profile
</button>
<button
onClick={onViewLeaderboard}
className="px-6 py-3 bg-white/10 backdrop-blur-sm rounded-xl font-bold text-white hover:bg-white/20 transition-colors flex-1 border border-white/20"
>
View Leaderboard
</button>
</div>

{/* Close button */}
<button
Expand Down
Loading