Repository navigation
feat(incubator): strike complicit tech, highlight ethical alternatives in challenge question - #588
Merged
Merged
Conversation
…s in challenge question Split the challenge question into questionParts and render it through a new ChallengeQuestion component in the /monthly-challenge hero and the homepage popup: a tilted red strike through "complicit tech" and a green highlighter under "ethical alternatives". challenge.question is joined from the parts, so the meta description keeps the plain sentence and the popup no longer hardcodes its own copy.
Deploying website with
|
| Latest commit: |
93eaf56
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6ec766d2.website-aun.pages.dev |
| Branch Preview URL: | https://feat-challenge-question-mark.website-aun.pages.dev |
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.
Summary
Adds a static visual treatment to the October challenge question:
#ce1126, tilted −3°, scales with font size)Applied in both places the question appears, via a shared component so they can't drift:
/monthly-challengehero<h1><h2>Changes
src/data/challenge.ts: newquestionPartsarray;challenge.questionis now joined from it, so the meta description still gets the plain sentencesrc/components/ChallengeQuestion.astro(new): renders the parts with the marks; scoped CSS only (no inlinestyle="", CSP-safe)HackathonPopup.astrodrops its hardcoded copy and uses the componentNotes
nowrapso the strike never splits across lines; the highlight usesbox-decoration-break: cloneso it survives wrappingTest plan
/monthly-challengehero shows the strike and highlight at desktop and mobile widths/monthly-challengeis the plain question🤖 Generated with Claude Code