Skip to content

Conversation

@SongmingFan123
Copy link
Collaborator

Fixes #138

@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 Error Error Oct 16, 2025 6:02pm

const location = useLocation();

useEffect(() => {
document.title = "Educational use | PolicyEngine";
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please don't set document.title manually. StaticPageLayout handles this via the <title> tag. This is redundant and inconsistent with other static pages.

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.

Hi @SongmingFan123, thanks for your work on this! Could you please make the following changes?

  • Rebase the branch on latest changes from main. The file is in src/pages/Education.page.tsx but should be in app/src/pages/Education.page.tsx. After rebasing, you'll also see that we have added a static layout for consistency across all static pages. Please use this StaticPageLayout wrapper instead of the custom Container/Center/Stack structure.
  • The PR only adds the page file but doesn't add the route to Router.tsx. No navigation can reach this page. Please integrate the page in the app. This way we can look at the Vercel deployment to see how the page looks as you build it.
  • Use the HeroSection component for the title/description and ContentSection component for sections.
  • BulletsColumn is designed for report output columns, not static page lists. Please use Plain HTML
    • (maybe inside RichTextBlock?).

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.

Migrate Educational Use page to app v2

3 participants