Skip to content

Conversation

@Swetna
Copy link

@Swetna Swetna commented Oct 16, 2025

Created and formatted the Benefit Access page using the components.

Screenshot of page:
Screenshot 2025-10-16 at 5 56 29 PM
Screenshot 2025-11-10 at 12 00 50 AM
Screenshot 2025-10-16 at 5 56 57 PM

@vercel
Copy link

vercel bot commented Oct 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
policyengine-app-v2 Ready Ready Preview Comment Nov 10, 2025 5:01am

title="Benefit Access"
description="Powering benefit eligibility screening tools through the PolicyEngine API"
/>
<Space mb={20} /> {}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: What is the purpose of the empty object after closing ?. This appears to be leftover development code.
Suggestion: Use Mantine's spacing props on surrounding components instead of adding extra spacing components.

Copy link
Collaborator

@SakshiKekre SakshiKekre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your work on this, @Swetna! The page looks good overall. However, there have been some major updates to the codebase over the past couple of weeks. The current v2 pattern now uses:

  • StaticPageLayout as the wrapper
  • HeroSection for the title and description
  • ContentSection for content blocks
  • RichTextBlock with basic HTML for rich text
  • Section dividers handled by ContentSection

Along with addressing the PR review comments, could you please rebase on the latest changes from main and update the PR accordingly?

@Swetna
Copy link
Author

Swetna commented Nov 10, 2025

All updates have been made do let me know if everything looks ok.

Copy link
Collaborator

@anth-volk anth-volk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Submitting review comments for myself to handle later

export default function BenefitAccessPage() {
const navigate = useNavigate();
const handleExploreAPI = () => {
navigate('/us/api');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to use country ID flexibly

};

const handleContactUs = () => {
window.location.href = 'mailto:hello@policyengine.org';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to open in new tab; likely a better handler for this

};

const handleAboutPage = () => {
navigate('/about');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use absolute links; this will likely tack onto existing URL

title="Benefit Access"
description="Powering benefit eligibility screening tools through the PolicyEngine API"
/>
<Space mb={20} />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't need Space

<CardsWithHeader
cards={[
{
title: 'MyFriendBen',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Define cards outside as separate JSX and bring in in final render

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants