Skip to content

Conversation

@Laphatize
Copy link
Member

@Laphatize Laphatize commented Jul 12, 2025

…d access

Major Features:

  • Allow unauthenticated users to view specific challenge pages (UUID format)
  • Show all tabs with lock icons for restricted features instead of hiding
  • Implement locked content components with feature-specific call-to-action screens
  • Add public API endpoint for challenge data without authentication
  • Implement smooth points counting animation in navbar when challenges solved

UI/UX Improvements:

  • Replace terminal access gradients with sleek, on-brand styling
  • Fix cramped tabs on unauthenticated view with proper spacing
  • Remove rounded edges from login/signup buttons and navigation
  • Update copyright year from 2024 to 2025 in auth footer
  • Change terminal access text to more conversational tone

Technical Implementation:

  • Add authentication loading state to prevent UI flashing
  • Create useCountingAnimation hook for navbar points animation
  • Update middleware to allow unauthenticated access to challenge URLs
  • Fix request utility redirect logic for challenge pages
  • Modify _app.jsx to check for tokens before making authenticated API calls

Backend Integration:

  • New public API route: GET /public/challenges/:id
  • Returns only public challenge fields (no solutions/hints)
  • Seamless fallback between authenticated and public endpoints

…d access

Major Features:
- Allow unauthenticated users to view specific challenge pages (UUID format)
- Show all tabs with lock icons for restricted features instead of hiding
- Implement locked content components with feature-specific call-to-action screens
- Add public API endpoint for challenge data without authentication
- Implement smooth points counting animation in navbar when challenges solved

UI/UX Improvements:
- Replace terminal access gradients with sleek, on-brand styling
- Fix cramped tabs on unauthenticated view with proper spacing
- Remove rounded edges from login/signup buttons and navigation
- Update copyright year from 2024 to 2025 in auth footer
- Change terminal access text to more conversational tone

Technical Implementation:
- Add authentication loading state to prevent UI flashing
- Create useCountingAnimation hook for navbar points animation
- Update middleware to allow unauthenticated access to challenge URLs
- Fix request utility redirect logic for challenge pages
- Modify _app.jsx to check for tokens before making authenticated API calls

Backend Integration:
- New public API route: GET /public/challenges/:id
- Returns only public challenge fields (no solutions/hints)
- Seamless fallback between authenticated and public endpoints

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Jul 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ctfguide-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 12, 2025 3:21pm

@Laphatize Laphatize merged commit 4da9fd3 into main Jul 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants