Migrate to Astro and enhance CTF content management#1
Merged
Conversation
Delete language translation modules no longer used: es, id, ja, ko, th, tr, vi, zh_CN, zh_TW (src/i18n/languages)
Support authors array plus points/solves/firstblood fields in the content schema and frontmatter. Update Post components, archive filtering, license block, and post page to surface these fields. Add interactive new-post script with a writeup template and prompts for authors/tags/pts, and add getAuthorUrl helper and related i18n keys/translations.
Lock theme color picker (themeColor.fixed = true) and replace Oklch-based color variables with a fixed hex palette and gradients. Add LinkPreset.Team enum and preset and include it in the navbar. Normalize favicon entry formatting.
Enable @astrojs/react integration and add react, react-dom and related type packages. Update tsconfig to use react-jsx and jsxImportSource. Add an "authors" field to frontmatter.json and tidy astro.config.mjs (site URL and integration formatting).
Reorder imports, prefer const for base64, fix list keys Adjust types and className formatting
Replace Fuwari README with BytetheCookies blog template. Add CTF-specific frontmatter fields (authors, solves, points, firstblood), update example tags, category and lang, and remove original badges, preview image and translated/feature sections.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrate the project to Astro, add a GitHub Pages deployment workflow, and remove obsolete locale translation files. Enhance content management by adding authors and CTF metadata to posts, implementing a members grid, and updating the theme with a fixed color palette. Include React support and streamline the configuration for better integration. Revise documentation and add numerous CTF writeups and images.