Skip to content

Conversation

AnushkaNilangekar
Copy link
Collaborator

Description

Added a new Landing Page that serves as the default entry point. The page introduces PolicyEngine’s mission, provides quick navigation, and highlights partner organizations in a responsive layout.

Changes

  • Implemented Header with desktop navigation, action buttons, and a mobile burger menu + drawer.
  • Added multiple content sections with headline, subtitle, call-to-action (with navigation to /app/dashboard), and a logos section with horizontal scroll and external links.
  • Applied gradient background and consistent design tokens for spacing, colors, and typography.
  • Renamed HomePage to DashBoardPage

Preview

https://www.loom.com/share/b29a7f0723f74c6981cd7b354611a5eb?sid=c8f15955-ffaf-4b82-a762-0a4187ea0dd5

@anth-volk
Copy link
Collaborator

Before I review, can you move the images to the images folder to mimic exactly what we do in app v1?

Copy link

vercel bot commented Oct 2, 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 Oct 2, 2025 7:36pm

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.

Thanks for this @AnushkaNilangekar! A few changes/questions requested, but if you could do those and fix the merge conflicts, we should be able to get this in soon.

0px 4px 6px -1px rgba(0, 0, 0, 0.10)
`,
zIndex: 1000,
fontFamily: typography.fontFamily.primary,
Copy link
Collaborator

Choose a reason for hiding this comment

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

issue?: I'm not sure this font family setting is properly populating to items below. Could you verify and, if not, attempt to set lower in the stack, as perhaps something's overriding it?


<Group gap={spacing['3xl']} visibleFrom="lg">
{links.map((label) => (
<Anchor
Copy link
Collaborator

Choose a reason for hiding this comment

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

In fact, the Anchor here might be setting a default that needs to be over-ridden

/>
);

const HeaderNavigation: React.FC = () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

issue: When scrolling down on the page, this header bar scrolls out of view. Could you "sticky" the location of this header bar and, as the user scrolls down, have it expand to fill 100% of the width of the screen and ensure it sits on the top of the page? That way it's always visible.

const HeaderNavigation: React.FC = () => {
const [opened, { open, close }] = useDisclosure(false);

const links = ['Research', 'About', 'Donate'];
Copy link
Collaborator

Choose a reason for hiding this comment

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

suggestion: I'd code this up as an array of custom-interfaced objects with keys like "label" and "link" or something like that, then later in the component, programmatically use useNavigate to visit a given link.

Copy link
Collaborator

Choose a reason for hiding this comment

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

question, non-blocking: Are you familiar with image minimizing?

If so, please add a second folder that contains minimized images, then import those and have them load here. If not, no need.

</Box>

<OrgLogos
logos={[
Copy link
Collaborator

Choose a reason for hiding this comment

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

suggestion: Define the logos structure you build here elsewhere (maybe even in a separate file, but not necessarily, I'm torn on that myself) and use here.

logos={[
{
id: '1',
src: f4gi,
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 src item here?

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.

2 participants