Skip to content

Production ready changes - #2

Merged
Deveshkanojiya merged 3 commits into
mainfrom
devesh
Aug 8, 2026
Merged

Deveshkanojiya merged 3 commits into
mainfrom
devesh

Conversation

@Deveshkanojiya

Copy link
Copy Markdown
Member

mascot added

Copilot AI lite review requested due to automatic review settings August 8, 2026 18:18
@Deveshkanojiya
Deveshkanojiya merged commit 94fbb04 into main Aug 8, 2026
1 check passed
@Deveshkanojiya

Copy link
Copy Markdown
Member Author

added mascot

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a “Paavni” mascot callout to the ewaste-26 page, including an interactive eco-fact popup and page-specific styling to support the new UI element.

Changes:

  • Added PaavniMascot component with timed welcome + click-to-cycle eco facts.
  • Introduced app/ewaste-26/page.css and imported it into the page for mascot styling.
  • Refactored/realigned JSX indentation in the hero + leaderboard sections (no functional change intended).

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
app/ewaste-26/page.tsx Adds the Paavni mascot component and mounts it in the hero section; imports page-local CSS.
app/ewaste-26/page.css Adds mascot container/popup styling and responsive breakpoints for the new hero mascot UI.
Suppressed comments (2)

app/ewaste-26/page.tsx:216

  • The mascot container is clickable but not keyboard-accessible (no role/tabIndex/key handlers). This prevents keyboard and assistive-technology users from triggering the eco-fact interaction.
    <motion.div
      className="paavni-mascot-container"
      onClick={handleClick}
      style={{ cursor: canClick ? "pointer" : "default" }}

app/ewaste-26/page.css:176

  • @keyframes popupFade is declared but never used (the popup animation is handled via Framer Motion). Keeping unused keyframes adds dead CSS to maintain.
@keyframes popupFade {

  from {

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread app/ewaste-26/page.tsx
"Every contribution brings us closer to a cleaner campus."
];
function PaavniMascot() {
const [isVisible, setIsVisible] = useState(true);
Comment thread app/ewaste-26/page.css
Comment on lines +23 to +25
.paavni-mascot-image {
pointer-events: none;
}
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