feat: Implementation of CTA section (issue#25) - #95
Open
IshimweIsaac wants to merge 2 commits into
Open
Conversation
IshimweIsaac
requested review from
Emmyfrank,
Josephat-S,
MUKE-coder and
kibongos40
May 28, 2026 12:07
Habinezajanvier
suggested changes
Jun 1, 2026
Comment on lines
+5
to
+16
| const CODE_DECORATION = `export default function Community() { | ||
| return ( | ||
| <Layout> | ||
| <KigaliHub> | ||
| <Developers | ||
| count={1200} | ||
| vibe="High Energy" | ||
| /> | ||
| </KigaliHub> | ||
| </Layout> | ||
| ) | ||
| }`; |
There was a problem hiding this comment.
It would be better to put this in a separate file and import it here, just to reserve components files for components and other contents like stabs, data and so on in their respective files
Author
There was a problem hiding this comment.
Thank you Janvier for adressing that out, I've moved the CODE_DECORATION constant into a separate data.ts file now the component is clean and the content is not in the logic anymore
!!!
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.
Overview
This PR implements the Call to Action (CTA) banner component for the landing page as outlined in Issue #25. It closely adheres to the provided Figma mockups and design guidelines.
Closes #25
What was done
components/home/cta-section.tsx.bg-neutral-950) section container.text-4xl lg:text-[40px]withfont-extraboldfor the headline to match Figma wrapping perfectly.14px(text-[14px] text-neutral-400).opacity-20).lg:grid-cols-[1fr_auto]) to position the text on the left and the code snippet on the right for desktop screens.flex-col sm:flex-row,w-full sm:w-auto).components/ui/button.tsxto ensure theaccentvariant matches the exact cyan color requested by the design team.Screenshots
(Desktop view showing layout and font-wrapping)
Notes for Reviewer
app/(public)/page.tsxlocally to verify layout and sizing, butpage.tsxhas been kept clean in this branch to avoid conflicts with Issue ISSUE-026 — Compose landing page (app/(public)/page.tsx) #26.