Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ const config: Config = {
title: 'Community',
items: [
{
label: ' Slack',
to: 'https://github.com/PalisadoesFoundation',
className: 'footer__icon footer__slack',
label: 'Forums',
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Add leading space to the label for consistency.

All other footer link labels in this configuration include a leading space (lines 134, 139, 149, 154, 159, 169), but "Forums" is missing one.

Apply this diff to maintain consistency:

-              label: 'Forums',
+              label: ' Forums',
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
label: 'Forums',
label: ' Forums',
🤖 Prompt for AI Agents
docusaurus.config.ts around line 129: the footer link label "Forums" lacks the
leading space used by other labels; update the label value from 'Forums' to '
Forums' so it matches the formatting of the other footer link labels for
consistency.

to: 'https://community.talawa.io/',
className: 'footer__icon footer__news',
Copy link

Choose a reason for hiding this comment

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

🧹 Nitpick | 🔵 Trivial

Consider using a more semantic CSS class name.

The footer__news class is already used for the "News" link (line 136). While this may work functionally, using a distinct class like footer__forums or footer__forum would be more semantic and maintainable.

Apply this diff if you want more semantic styling:

-              className: 'footer__icon footer__news',
+              className: 'footer__icon footer__forums',
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
className: 'footer__icon footer__news',
className: 'footer__icon footer__forums',
🤖 Prompt for AI Agents
In docusaurus.config.ts around line 131, the social link uses className:
'footer__icon footer__news' which reuses the News class; change it to a
distinct, semantic class such as 'footer__icon footer__forums' (or
'footer__forum') and update any related CSS/Sass to define styling for the new
class so the Forums icon has its own semantic selector.

},
{
label: ' News',
Expand Down
Loading