Skip to content

[ENHANCEMENT] Fix Broken Links in Footer of Disease Detector Page,Dark/Light Toggle Not Working on Shopkeeper Page,[ENHANCEMENT] Fix Dark/Light Toggle on Plantation Page & Remove Extra Scroll-To-Top ButtonΒ #1699

@Eshajha19

Description

@Eshajha19

Fix Broken Links in Footer of Disease Detector Page

πŸ“Œ Issue Summary

Some links in the footer section of the Disease Detector page are currently broken or not redirecting to the correct destinations.

❌ Current Behavior

Clicking certain footer links does not open the intended pages.

Some links may lead to 404 errors or incorrect paths.

Navigation from the footer is not functioning properly.

βœ… Expected Behavior

All footer links should redirect to the correct pages.

Links should open without errors.

Navigation should work consistently across the page.

πŸ”Ž Possible Causes

Incorrect relative or absolute paths.

Typographical errors in link URLs.

Missing or renamed pages.

Incorrect folder structure references.

🎯 Tasks to Complete

Review all footer links on the Disease Detector page.

Fix incorrect URLs and paths.

Ensure links redirect to valid pages.

Test all links after fixing to confirm they work correctly.

Dark/Light Toggle Not Working on Shopkeeper Page
πŸ“Œ Issue Summary
The dark/light theme toggle is not functioning correctly on the Shopkeeper page. Clicking the toggle does not switch the theme as expected.

πŸ” Expected Behavior
Clicking the theme toggle button should:

Switch between light and dark mode.

Apply the dark-mode class to the .

Persist the selected theme using localStorage.

Maintain the selected theme after page refresh.

❌ Current Behavior
Toggle button does not change the theme.

dark-mode class is not being applied to .

OR theme does not persist after refresh.

πŸ›  Possible Causes
Toggle JavaScript not properly included.

Button ID mismatch.

Missing dark-mode styles in CSS.

localStorage theme initialization not running on page load.

Fix Dark/Light Toggle on Plantation Page & Remove Extra Scroll-To-Top Button
πŸ“Œ Issue Summary
The Plantation page has the following UI issues:

πŸŒ™ Dark/Light theme toggle is not functioning correctly.

⬆️ An extra Scroll-To-Top button is visible on the page.

πŸ› 1️⃣ Dark/Light Toggle Issue

❌ Current Behavior
Clicking the theme toggle does not switch between light and dark mode.

dark-mode class is not applied to the .

Theme preference does not persist after refresh.

βœ… Expected Behavior
Toggle should switch themes properly.

dark-mode class should be added/removed from .

Selected theme should persist using localStorage.

πŸ”Ž Possible Causes
Toggle script not properly included.

Incorrect button ID.

Missing dark mode CSS styles.

Duplicate or conflicting JavaScript.

🚫 2️⃣ Extra Scroll-To-Top Button
❌ Current Behavior

More than one scroll-to-top button appears.

Causes UI duplication and visual clutter.

βœ… Expected Behavior
Only one scroll-to-top button should be present and functional.

πŸ”Ž Possible Causes

Duplicate HTML button elements.

Button being injected multiple times via JavaScript.

🎯 Tasks to Complete
Fix dark/light toggle functionality.

Ensure theme persists correctly.

Remove duplicate scroll-to-top button.

Test for UI consistency after fixes.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions