-
-
Notifications
You must be signed in to change notification settings - Fork 10
homepage style tweaks #36
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
Conversation
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.
Pull Request Overview
Minor visual refinements on the homepage feature card, including background updates, author thumbnail insertion, title layout adjustment, and button style change.
- Replaced the dark purple card background with a translucent Snow variant and wrapped the card header in a flex container.
- Inserted a circular author image and moved the emoji after the title text.
- Swapped the
snow-buttonclass for the new genericbuttonutility on the "Read More" link.
Comments suppressed due to low confidence (1)
frontend/src/app/(public-area)/page.tsx:104
- [nitpick] The generic
buttonclass may collide with other styles in the project. Consider using a more specific utility or prefix (e.g.btn-primary) to avoid unintended overrides.
className="button flex grow-0 items-center whitespace-nowrap"
| <div className="flex gap-4 items-center"> | ||
| <Image | ||
| src="/images/chris.jpg" | ||
| alt={`By Chris`} |
Copilot
AI
May 24, 2025
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.
The alt text is not descriptive of the image content. Consider using something like alt="Photo of Chris" to better convey the image purpose to screen readers.
| alt={`By Chris`} | |
| alt="Photo of Chris" |
| alt={`By Chris`} | ||
| height={48} | ||
| width={48} | ||
| className="rounded-full h-[48px] w-[48px]" |
Copilot
AI
May 24, 2025
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.
[nitpick] Using arbitrary pixel values (h-[48px] / w-[48px]) can hinder consistency. Consider replacing with Tailwind spacing utilities (e.g. h-12 w-12) to align with your design system.
| className="rounded-full h-[48px] w-[48px]" | |
| className="rounded-full h-12 w-12" |
| <span className="text-amethyst-gradient"> | ||
| Capital One Data Breach – A Cautionary Tale | ||
| </span>{' '} | ||
| 😱 |
Copilot
AI
May 24, 2025
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.
The standalone emoji will be announced by screen readers, which may be distracting. Wrap it in a <span aria-hidden="true"> or add role="img" aria-hidden="true" so it's purely decorative.
| 😱 | |
| <span aria-hidden="true">😱</span> |
What It Does
Minor homepage style tweaks.