Skip to content

footer compo work#67

Merged
rahul-vyas-dev merged 2 commits into
AOSSIE-Org:mainfrom
rahul-vyas-dev:feat/footer
Jun 5, 2026
Merged

footer compo work#67
rahul-vyas-dev merged 2 commits into
AOSSIE-Org:mainfrom
rahul-vyas-dev:feat/footer

Conversation

@rahul-vyas-dev
Copy link
Copy Markdown
Contributor

@rahul-vyas-dev rahul-vyas-dev commented Jun 4, 2026

Screenshots/Recordings:

Before:
image

After:
image

Additional Notes:

Changes made in footer compo.

Checklist

  • My code follows the project's code style and conventions
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings or errors
  • I have joined the Discord server and I will share a link to this PR with the project maintainers there
  • I have read the Contributing Guidelines

⚠️ AI Notice - Important!

We encourage contributors to use AI tools responsibly when creating Pull Requests. While AI can be a valuable aid, it is essential to ensure that your contributions meet the task requirements, build successfully, include relevant tests, and pass all linters. Submissions that do not meet these standards may be closed without warning to maintain the quality and integrity of the project. Please take the time to understand the changes you are proposing and their impact.

Summary by CodeRabbit

  • New Features

    • Added a site footer with navigation links and social media icons
    • Updated "Quick explore" organizations list
  • Style

    • Integrated Tailwind CSS for base styling
  • Chores

    • Updated project build configuration and dependencies to enable styling support

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 4, 2026

Linter diff in the way? Review this PR in Change Stack to focus on meaningful changes and expand context only when needed.

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 8b35db1a-e85b-45af-a0d1-79c8f415b252

📥 Commits

Reviewing files that changed from the base of the PR and between 8ef64c0 and be9ac2e.

📒 Files selected for processing (1)
  • vite.config.js

Walkthrough

PR integrates Tailwind into the Vite build, replaces a local CSS reset with Tailwind base, extracts and integrates a new Footer React component with navigation and social links, and updates the HomePage QUICK organization list.

Changes

Tailwind CSS setup and footer refactor

Layer / File(s) Summary
Tailwind CSS build configuration
package.json, vite.config.js, src/styles/global.css
Tailwind tooling (@tailwindcss/vite, tailwindcss v4.3.0) added to dependencies, tailwindcss() plugin registered in Vite, and global.css now imports Tailwind base instead of the previous reset.
Footer component extraction and integration
src/components/layout/Footer.jsx, src/App.jsx
Adds Footer.jsx exporting a default Footer component (left nav footerLinks, external socialLinks with icons and safe target/rel), and replaces the inline footer in App.jsx Layout with the imported component.
Homepage quick explore organizations update
src/pages/HomePage.jsx
QUICK constant updated from ['AOSSIE-Org','vercel','facebook','microsoft'] to ['AOSSIE-Org','DjedAlliance','StabilityNexus'].

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested labels

Typescript Lang

Suggested reviewers

  • bhavik-mangla
  • Zahnentferner

Poem

I’m a rabbit in the code so spry,
I stitched Tailwind wings to make styles fly,
A footer hopped out, links all bright,
Quick explore found new friends tonight,
Hooray — the app looks light and spry! 🐇✨

🚥 Pre-merge checks | ✅ 3 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'footer compo work' is vague and generic, using abbreviated language ('compo' for 'component', 'work' as a non-descriptive term) that doesn't clearly convey the scope of changes despite footer component being part of the PR. Use a more descriptive title like 'Add shared Footer component and integrate Tailwind CSS' to clearly communicate all main changes in the PR.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added no-issue-linked PR has no linked issue configuration Config file changes dependencies Dependency updates frontend Frontend changes javascript JavaScript/TypeScript changes labels Jun 4, 2026
@github-actions github-actions Bot added size/XL 500+ lines changed external-contributor External contributor labels Jun 4, 2026
@rahul-vyas-dev
Copy link
Copy Markdown
Contributor Author

@bhavik-mangla as per your recommendation and @Ri1tik feedback from the meet, i have made changes accordingly.

@github-actions github-actions Bot added size/XL 500+ lines changed and removed size/XL 500+ lines changed labels Jun 4, 2026
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 4

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
src/styles/global.css (2)

3-18: 🧹 Nitpick | 🔵 Trivial | ⚡ Quick win

Consider migrating custom CSS variables to Tailwind's @theme directive.

You're defining custom properties (--bg, --text, --accent, etc.) alongside Tailwind CSS. Tailwind v4 supports a @theme directive that allows you to define theme tokens directly in CSS, which integrates better with Tailwind's utility classes and provides type-safe access to your design tokens.

♻️ Example migration to `@theme`
 `@import` "tailwindcss";

+@theme {
+  --color-bg: `#0d0d0d`;
+  --color-surface: `#141414`;
+  --color-surface2: `#1a1a1a`;
+  --color-border: `#2a2a2a`;
+  --color-accent: `#f5c518`;
+  --color-text: `#ffffff`;
+  --color-text2: `#888888`;
+  --color-text3: `#444444`;
+  --color-success: `#22c55e`;
+  --color-error: `#ef4444`;
+  --color-info: `#3b82f6`;
+  --color-warning: `#f59e0b`;
+  --color-purple: `#a855f7`;
+  --radius-default: 8px;
+}
-:root {
-  --bg:       `#0d0d0d`;
-  --surface:  `#141414`;
-  --surface2: `#1a1a1a`;
-  --border:   `#2a2a2a`;
-  --accent:   `#f5c518`;
-  --text:     `#ffffff`;
-  --text2:    `#888888`;
-  --text3:    `#444444`;
-  --green:    `#22c55e`;
-  --red:      `#ef4444`;
-  --blue:     `#3b82f6`;
-  --amber:    `#f59e0b`;
-  --purple:   `#a855f7`;
-  --radius:   8px;
-}

This enables usage like bg-bg, text-accent, border-border in your Tailwind classes.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/styles/global.css` around lines 3 - 18, The :root custom properties
(--bg, --surface, --accent, --text, --radius, etc.) should be migrated to
Tailwind's `@theme` tokens so Tailwind utilities can reference them directly;
replace the :root block with an `@theme` rule that declares these tokens (mapping
colors like bg, surface, accent, text, green, red, blue, amber, purple and the
radius token) and then update uses to Tailwind utility names (e.g., bg-bg,
text-accent, border-border, rounded-radius) and remove the old CSS variable
declarations to avoid duplication.

33-35: 🧹 Nitpick | 🔵 Trivial | 💤 Low value

Scrollbar styling only works in Webkit browsers.

The ::-webkit-scrollbar pseudo-elements only style scrollbars in Chrome, Edge, Safari, and other Webkit-based browsers. Firefox and older browsers will display default scrollbars. Consider using the standardized scrollbar-width and scrollbar-color properties as fallbacks.

♻️ Add cross-browser scrollbar support
+/* Standard properties for Firefox */
+* {
+  scrollbar-width: thin;
+  scrollbar-color: var(--border) var(--bg);
+}
+
+/* Webkit-specific styling */
 ::-webkit-scrollbar { width: 5px; height: 5px; }
 ::-webkit-scrollbar-track { background: var(--bg); }
 ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/styles/global.css` around lines 33 - 35, Your WebKit-only rules (::
-webkit-scrollbar, ::-webkit-scrollbar-track, ::-webkit-scrollbar-thumb) need
Firefox fallbacks; add standardized properties (e.g., on html or body) using
scrollbar-width: thin; and scrollbar-color: var(--border) var(--bg); so
non‑WebKit browsers use the same color variables as your webkit thumb/track
rules and get a thinner scrollbar appearance as a fallback.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/components/layout/Footer.jsx`:
- Around line 30-61: The socialLinks array in Footer.jsx currently hardcodes
user-visible labels; replace those literal strings with i18n lookups (e.g.,
useTranslation hook’s t function or the project’s translation helper) so labels
like "Email", "GitHub", "Discord", "LinkedIn", "X", "YouTube" are keys (e.g.,
t('footer.email'), t('footer.github'), etc.) resolved from your locale resource
files and update the translations resource entries accordingly; keep the same
object keys (label, href, icon) and only change label to the t(...) lookup so
consumers of socialLinks (in Footer component) receive translated strings.
- Around line 126-143: In Footer.jsx (Footer component) remove the hardcoded
strings in the two <p> elements and replace them with i18n lookups (e.g.,
useTranslation hook or i18n.t) so the copyright and tagline come from locale
resources; externalize keys like "footer.copyright" (use a placeholder/year
interpolation rather than hardcoding "2026" and "OrgExplorer") and
"footer.tagline" into your translations JSON, and update Footer.jsx to call the
translation function (e.g., t('footer.tagline') and t('footer.copyright', {
year, name })) so strings are localizable.
- Around line 74-91: Replace the inline style and onMouseEnter/onMouseLeave
handlers on the Link elements (the map over footerLinks) with Tailwind className
utilities: remove the style prop and the event handlers on the Link inside the
footerLinks.map and add classes such as "text-[var(--text2)]
hover:text-[var(--accent)] focus:text-[var(--accent)] transition-colors
duration-200" (or equivalent Tailwind tokens) to handle hover/focus color and
transition; ensure the Link component still receives the key, to/from props, and
that focus styles are included for keyboard accessibility.
- Around line 11-28: The footer currently hardcodes user-visible labels in the
footerLinks array; extract those strings into your i18n resource files and
create a function getFooterLinks(t) that returns the links using translated
labels (e.g., label: t('footer.documentation') etc.); then update the Footer
component to call const footerLinks = getFooterLinks(t) inside the component
body (use the existing translation hook/prop such as t or useTranslation()) and
remove the hardcoded footerLinks constant.

---

Outside diff comments:
In `@src/styles/global.css`:
- Around line 3-18: The :root custom properties (--bg, --surface, --accent,
--text, --radius, etc.) should be migrated to Tailwind's `@theme` tokens so
Tailwind utilities can reference them directly; replace the :root block with an
`@theme` rule that declares these tokens (mapping colors like bg, surface, accent,
text, green, red, blue, amber, purple and the radius token) and then update uses
to Tailwind utility names (e.g., bg-bg, text-accent, border-border,
rounded-radius) and remove the old CSS variable declarations to avoid
duplication.
- Around line 33-35: Your WebKit-only rules (:: -webkit-scrollbar,
::-webkit-scrollbar-track, ::-webkit-scrollbar-thumb) need Firefox fallbacks;
add standardized properties (e.g., on html or body) using scrollbar-width: thin;
and scrollbar-color: var(--border) var(--bg); so non‑WebKit browsers use the
same color variables as your webkit thumb/track rules and get a thinner
scrollbar appearance as a fallback.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 126eb7e3-2daf-45a9-b3f3-c071aced10bd

📥 Commits

Reviewing files that changed from the base of the PR and between 5cf488d and 8ef64c0.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (6)
  • package.json
  • src/App.jsx
  • src/components/layout/Footer.jsx
  • src/pages/HomePage.jsx
  • src/styles/global.css
  • vite.config.js

Comment thread src/components/layout/Footer.jsx
Comment thread src/components/layout/Footer.jsx
Comment thread src/components/layout/Footer.jsx
Comment thread src/components/layout/Footer.jsx
@Ri1tik
Copy link
Copy Markdown
Contributor

Ri1tik commented Jun 5, 2026

Great work, Rahul! The implementation looks clean and the improvements are a nice addition to the project. Thanks for putting in the effort and pushing this forward.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2026

⚠️ This PR has merge conflicts.

Please resolve the merge conflicts before review.

Your PR will only be reviewed by a maintainer after all conflicts have been resolved.

📺 Watch this video to understand why conflicts occur and how to resolve them:
https://www.youtube.com/watch?v=Sqsz1-o7nXk

@github-actions github-actions Bot added size/XL 500+ lines changed and removed PR has merge conflicts size/XL 500+ lines changed labels Jun 5, 2026
@rahul-vyas-dev rahul-vyas-dev merged commit 9299487 into AOSSIE-Org:main Jun 5, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

configuration Config file changes dependencies Dependency updates external-contributor External contributor frontend Frontend changes javascript JavaScript/TypeScript changes no-issue-linked PR has no linked issue size/XL 500+ lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants