Skip to content

Conversation

@Laphatize
Copy link
Member

No description provided.

Laphatize and others added 5 commits May 10, 2025 22:38
…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>
feat: Allow unauthenticated users to view challenge pages with limite…
@vercel
Copy link

vercel bot commented Jul 13, 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 13, 2025 9:00pm

@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
ctfguide cec5982 Jul 13 2025, 08:25 PM

@Laphatize Laphatize merged commit e5670b2 into dev Jul 13, 2025
1 of 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