Skip to content

Add professional frontend public page sections#212

Open
Pushpindersingh-2027 wants to merge 2 commits into
Hardhat-Enterprises:mainfrom
Pushpindersingh-2027:frontend-platform-value-section
Open

Add professional frontend public page sections#212
Pushpindersingh-2027 wants to merge 2 commits into
Hardhat-Enterprises:mainfrom
Pushpindersingh-2027:frontend-platform-value-section

Conversation

@Pushpindersingh-2027
Copy link
Copy Markdown

This PR improves the public-facing AutoAudit frontend by adding professional sections that better communicate the platform’s audit and compliance value.

Changes made:

  • Added Audit Readiness section
  • Added Platform Value cards
  • Added professional footer content
  • Used existing design tokens for consistent styling
  • Added responsive layout for desktop and mobile
  • Verified frontend production build successfully

Testing:

  • Ran npm run build successfully

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 49028c3b91

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread frontend/src/App.tsx Outdated
</div>
</section>

<footer className="autoaudit-footer">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Remove duplicate footer rendering on public pages

The new global footer inside App is rendered whenever showPublicEnhancements is true, but the /, /about, and /contact route components already include LandingFooter (LandingPage.tsx, AboutUs.tsx, ContactPage.tsx). As a result, those pages now render two footers back-to-back, which adds duplicated content/landmarks and degrades the public-page UX. This should be consolidated to a single footer source per page.

Useful? React with 👍 / 👎.

@Pushpindersingh-2027
Copy link
Copy Markdown
Author

Thanks for the review. I have fixed the duplicate footer issue by removing the global footer from App.tsx. The public pages now use only the existing LandingFooter component, so /, /about, and /contact no longer render two footers.

Comment thread frontend/src/index.css
============================================================================ */

/* Audit Readiness Section */
.autoaudit-readiness-section {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This seems to be countering the migration from vanilla CSS to TailwindCSS

Comment thread frontend/src/App.tsx
password: string;
};

const LoadingScreen = (): JSX.Element => (
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I like the Loading screen change, keep this

Comment thread frontend/src/App.tsx
/>
</Routes>

{showPublicEnhancements && (
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What's the motivation? Do you have a screenshot of how this looks like?

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