Import CTF content, create dynamic year pages, and add missing static assets#7
Import CTF content, create dynamic year pages, and add missing static assets#7
Conversation
✅ Deploy Preview for bstlvcom ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Co-authored-by: omercnet <639682+omercnet@users.noreply.github.com>
Co-authored-by: omercnet <639682+omercnet@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
This PR implements a comprehensive CTF content management system that transforms the BSidesTLV CTF section from a simple overview page into a blog-style structure with detailed historical information. The implementation creates dynamic year-specific pages and imports actual competition data from 2021-2024.
Key changes include:
- Creation of dynamic
/ctf/[year]routes for detailed competition information - Import of comprehensive historical CTF data with accurate team names, statistics, and competition details
- Enhancement of the main CTF page with navigation links and an archive section
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| data/ctf/ctfData.ts | Updates historical CTF data with accurate team names and statistics for 2021-2022 |
| content/ctf/2024.mdx | Creates comprehensive 2024 CTF page with event details, rules, team information, and sponsor recognition |
| content/ctf/2023.mdx | Adds 2023 CTF competition overview with winners and challenge categories |
| content/ctf/2022.mdx | Creates detailed 2022 CTF page with extensive challenge descriptions, writeup links, and team credits |
| content/ctf/2021.mdx | Implements 2021 CTF page covering the first remote-only competition with detailed statistics |
| app/ctf/page.tsx | Enhances main CTF page with "View Details" links and comprehensive archive section |
| app/ctf/[year]/page.tsx | Implements dynamic year pages with static generation and responsive design |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Omer Cohen <git@omerc.net>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Omer Cohen <git@omerc.net>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Omer Cohen <git@omerc.net>
|
@copilot find any missing images or other static assets in the original repo |
Co-authored-by: omercnet <639682+omercnet@users.noreply.github.com>
I've completed a comprehensive analysis of missing static assets from the original Hugo repository and imported the critical ones. Here's what I found and imported: ✅ Successfully Imported (16 CTF Assets):
🔧 Additional Assets Imported:
📊 Analysis Results:
🎯 Status: All critical assets imported, CTF pages now display properly with sponsor logos and visual elements. Additional assets can be imported as needed for specific content updates. The build passes successfully and the Varonis logo now displays correctly on the 2024 CTF page (commit a4bec2c). |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Omer Cohen <git@omerc.net>
This PR implements a comprehensive CTF content import system that creates a blog-style structure for BSidesTLV CTF competitions, importing all historical content and missing static assets from the original Hugo-based website.
What's Changed
✨ New Features
/ctf/[year]routes with detailed competition informationcontent/ctf/directory with MDX files for each year📁 Static Assets Resolution
/public/images/ctf/with 16 critical assets from original repository📊 Content Imported
🔧 Technical Implementation
generateStaticParams()for optimal performancectfDatainterfaces with accurate historical data🎯 Key Statistics Imported
The implementation addresses the original issue while also resolving missing static assets that were preventing proper display of sponsor logos and visual elements. All content is properly structured for future expansion to include remaining years (2020-2016).
Fixes #6.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.