-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the Codú challenge banner #1145
Merged
NiallJoeMaher
merged 6 commits into
codu-code:develop
from
NiallJoeMaher:feat/new-challenge-design
Oct 18, 2024
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
7db16d9
Update the Codú challenge banner
NiallJoeMaher 51dd686
Update tests and see what happens
NiallJoeMaher 55b9d95
Merge branch 'develop' of https://github.com/codu-code/codu into feat…
NiallJoeMaher 17ca607
Fix broken tests
NiallJoeMaher 8e7dbf2
Merge branch 'develop' of https://github.com/codu-code/codu into feat…
NiallJoeMaher 6cdf90a
Make button full width
NiallJoeMaher File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import Link from "next/link"; | ||
|
||
const CoduChallenge = () => { | ||
return ( | ||
<div className="mb-8 mt-2 overflow-hidden rounded border border-neutral-300 bg-gradient-to-br from-blue-600 to-pink-600 text-white shadow-lg dark:border-neutral-600"> | ||
<div className="p-6"> | ||
<h3 className="mb-2 text-2xl font-bold">Ready for a challenge?</h3> | ||
<p className="mb-4 text-lg"> | ||
Write 6 articles in 6 weeks, showcase your expertise, and win | ||
exclusive Codú swag! | ||
</p> | ||
<Link | ||
href="/articles/join-our-6-week-writing-challenge-quohtgqb" | ||
className="inline-block rounded bg-white px-6 py-2 text-sm font-semibold text-pink-600 transition-colors hover:bg-pink-100" | ||
> | ||
Find out more | ||
</Link> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default CoduChallenge; |
Binary file not shown.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Issue Found: CoduChallenge component lacks responsive design implementation.
The CoduChallenge component is present and styled with gradient backgrounds as intended. However, it does not include responsive classes (e.g.,
sm:
,md:
,lg:
,xl:
), which may cause display issues on different screen sizes.Please update the component to include responsive design classes to ensure it functions well across all devices.
🔗 Analysis chain
LGTM: CoduChallenge component added to sidebar.
The CoduChallenge component has been successfully added to the sidebar, and the column span has been adjusted accordingly. This change directly implements the new challenge banner as described in the PR objectives.
Please ensure that:
You can verify this by running the following commands:
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 889