Skip to content

Conversation

@acekyd
Copy link
Contributor

@acekyd acekyd commented Mar 24, 2025

This pull request includes several changes to the documentation directory, focusing on refactoring the ServerCard component, updating CSS styles, and improving code consistency. The most important changes are summarized below:

Refactoring ServerCard component:

  • Wrapped the entire ServerCard component in a Link to make the card interactive and clickable (documentation/src/components/server-card.tsx).
  • Moved the Link component to wrap the card content and adjusted the structure to ensure proper rendering (documentation/src/components/server-card.tsx). [1] [2]
  • Updated the Info component and span elements to improve readability and maintain consistent styling (documentation/src/components/server-card.tsx).

CSS Style Updates:

  • Added new CSS rules for the navbar and container elements to improve layout and responsiveness (documentation/src/css/custom.css).
  • Introduced a set of custom properties for color themes to standardize the design (documentation/src/css/tailwind.css).
  • Updated hover effects and background gradients for better visual consistency (documentation/src/css/extensions.css). [1] [2]

Code Consistency Improvements:

  • Standardized the use of single and double quotes across various files for consistency (documentation/src/pages/extensions/detail.tsx, documentation/src/pages/extensions/index.tsx). [1] [2]
  • Adjusted the formatting of JSX elements to improve readability and maintain a consistent code style (documentation/src/pages/extensions/detail.tsx). [1] [2] [3]

These changes collectively improve the maintainability, readability, and user experience of the documentation site.

@acekyd acekyd requested a review from nahiyankhan March 24, 2025 10:47
@acekyd acekyd merged commit 7bfa8f1 into docs/revamp-extensions-site Mar 24, 2025
2 checks passed
@acekyd acekyd deleted the nahiyan/docs/revamp-extensions-site branch March 24, 2025 10:47
@github-actions
Copy link
Contributor

PR Preview Action v1.6.0

🚀 View preview at
https://block.github.io/goose/pr-preview/pr-1826/

Built to branch gh-pages at 2025-03-24 10:48 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

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.

3 participants