Skip to content

Conversation

@Gagan202005
Copy link
Contributor

@Gagan202005 Gagan202005 commented Jan 27, 2026

Summary

This PR improves the UI near the footer on the Keploy docs website.
It removes visual clutter, adds clear separation, and makes the Prev/Next navigation more compact and readable.


Closes : keploy/keploy#3657

What was wrong

  • The “Questions?” card was too big and visually heavy
  • Emojis and long text made the support section noisy
  • Support links were hard to notice
  • Prev/Next navigation had too much whitespace
  • Navigation cards had no clear border
  • No divider between content, navigation, and footer

What’s changed

Support section

  • Converted into a slim support strip
  • Removed emojis and large heading
  • Added clear links for:
    • Join Slack
    • Book a demo
  • Removed shadows and reduced padding

Prev / Next navigation

  • Reduced padding and whitespace
  • Removed card-like look
  • Added clear borders
  • Wrapped paginator to avoid Docusaurus style overrides

Layout

  • Added dividers between:
    • Content and support strip
    • Support strip and Prev/Next navigation
    • Navigation and footer
  • Used theme tokens for light and dark mode support

Result

  • Cleaner footer area
  • Better visual separation
  • Compact and clear navigation
  • Consistent look in light and dark modes
  • UI-only change (no functional impact)

How to test

  1. Run the docs site locally.
  2. Open any documentation page.
  3. Scroll to the bottom.
  4. Check:
    • Support strip is small and clean
    • Prev/Next navigation is compact and bordered
  5. Toggle light/dark mode and verify consistency.

Screenshots

image image

Checklist

  • Tested in light mode
  • Tested in dark mode
  • Docs UI only
  • Ready for review

Signed-off-by: Gagan202005 <gagansinghal2005@gmail.com>
Copilot AI review requested due to automatic review settings February 2, 2026 14:02
@Gagan202005
Copy link
Contributor Author

hi @Achanandhi-M @nehagup
please review this pr when you get a chance
Thanks!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the documentation footer UI by redesigning the support section and Prev/Next navigation. The changes focus on reducing visual clutter and creating clearer separation between page sections.

Changes:

  • Refactored the KeployCloud support section into a compact horizontal strip with direct links
  • Added horizontal dividers between content sections, support strip, navigation, and footer
  • Wrapped the DocPaginator in a custom class for styling overrides
  • Added CSS rules to create a more compact, bordered pagination design

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

File Description
src/theme/DocItem/index.js Added horizontal dividers and wrapped paginator with custom class for styling
src/components/KeployCloud.js Converted large card-style support section to compact horizontal strip with links
src/css/custom.css Added custom CSS rules for compact paginator styling with borders
src/theme/DocItem/styles.module.css Added empty lines (no functional changes)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +23 to +25



Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

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

Unnecessary blank lines added at the end of the file. These don't add any functional value and should be removed to keep the file clean.

Suggested change

Copilot uses AI. Check for mistakes.
.keploy-doc-paginator {
margin-top: 1.5rem;
padding-top: 1rem;
border-top: 1px solid var(--ifm-color-emphasis-200);
Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

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

The .keploy-doc-paginator class has a border-top style (line 2606 in custom.css), but there's already an hr element immediately before the paginator (line 252 in DocItem/index.js). This creates redundant visual separation. Consider removing either the hr element or the border-top style from the CSS to avoid double borders.

Suggested change
border-top: 1px solid var(--ifm-color-emphasis-200);

Copilot uses AI. Check for mistakes.
Comment on lines +250 to +259
<KeployCloud />

<hr className="my-8 border-[color:var(--ifm-toc-border-color)]" />

<div className="keploy-doc-paginator">
<DocPaginator previous={metadata.previous} next={metadata.next} />
</div>

<hr className="my-6 border-[color:var(--ifm-color-emphasis-200)]" />

Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

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

The JSX elements added here have inconsistent indentation. Lines 250-258 are not properly indented to match the surrounding code structure. They should be indented to align with the parent container's content (same level as the closing article tag on line 247). Proper indentation improves code readability and maintainability.

Suggested change
<KeployCloud />
<hr className="my-8 border-[color:var(--ifm-toc-border-color)]" />
<div className="keploy-doc-paginator">
<DocPaginator previous={metadata.previous} next={metadata.next} />
</div>
<hr className="my-6 border-[color:var(--ifm-color-emphasis-200)]" />
<KeployCloud />
<hr className="my-8 border-[color:var(--ifm-toc-border-color)]" />
<div className="keploy-doc-paginator">
<DocPaginator previous={metadata.previous} next={metadata.next} />
</div>
<hr className="my-6 border-[color:var(--ifm-color-emphasis-200)]" />

Copilot uses AI. Check for mistakes.
Comment on lines +16 to +22
className="font-medium text-orange-500 hover:underline"
>
Join Slack
</a>
<a
href="https://calendar.app.google/cXVaj6hbMUjvmrnt9"
className="font-medium text-orange-500 hover:underline"
Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

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

External links should include rel="noopener noreferrer" for security. Without these attributes, the linked page can access the window.opener object, which is a security risk. Other external links in the codebase (e.g., src/components/Community.js:80, src/components/WhatIsKeploy.js:176) properly include these attributes.

Suggested change
className="font-medium text-orange-500 hover:underline"
>
Join Slack
</a>
<a
href="https://calendar.app.google/cXVaj6hbMUjvmrnt9"
className="font-medium text-orange-500 hover:underline"
className="font-medium text-orange-500 hover:underline"
rel="noopener noreferrer"
>
Join Slack
</a>
<a
href="https://calendar.app.google/cXVaj6hbMUjvmrnt9"
className="font-medium text-orange-500 hover:underline"
rel="noopener noreferrer"

Copilot uses AI. Check for mistakes.
Comment on lines +16 to +22
className="font-medium text-orange-500 hover:underline"
>
Join Slack
</a>
<a
href="https://calendar.app.google/cXVaj6hbMUjvmrnt9"
className="font-medium text-orange-500 hover:underline"
Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

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

External links should include rel="noopener noreferrer" for security. Without these attributes, the linked page can access the window.opener object, which is a security risk. Other external links in the codebase (e.g., src/components/Community.js:80, src/components/WhatIsKeploy.js:176) properly include these attributes.

Suggested change
className="font-medium text-orange-500 hover:underline"
>
Join Slack
</a>
<a
href="https://calendar.app.google/cXVaj6hbMUjvmrnt9"
className="font-medium text-orange-500 hover:underline"
className="font-medium text-orange-500 hover:underline"
rel="noopener noreferrer"
>
Join Slack
</a>
<a
href="https://calendar.app.google/cXVaj6hbMUjvmrnt9"
className="font-medium text-orange-500 hover:underline"
rel="noopener noreferrer"

Copilot uses AI. Check for mistakes.
</div>

<hr className="my-6 border-[color:var(--ifm-color-emphasis-200)]" />

Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

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

This line contains trailing whitespace. Remove the trailing spaces to maintain clean code formatting.

Suggested change

Copilot uses AI. Check for mistakes.
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.

[docs]: Redesign Questions card, Prev/Next cards

1 participant