Skip to content

UI Issue: Decorative background code text overlaps project cards on homepage #474

@nishtha-agarwal-211

Description

@nishtha-agarwal-211

Describe the Issue

The decorative floating code snippets/text used in the homepage background are overlapping with the project cards section.

Some background texts like:

  • roll = randint(1, 6)
  • return is_prime(n)

appear directly behind or very close to the project cards, reducing readability and making the UI look cluttered.

Steps to Reproduce

  1. Open the homepage.
  2. Scroll to the projects/cards section.
  3. Observe the floating background code snippets behind the cards.

Expected Behavior

Background decorative text should:

  • Stay confined to the hero/background area
  • Maintain proper opacity and spacing
  • Not overlap important UI elements like cards/buttons

Actual Behavior

Background code snippets visually interfere with the project cards section.

Possible Cause

  • Incorrect absolute positioning
  • Missing overflow handling
  • Z-index layering issue
  • Insufficient spacing between sections

Suggested Fix

  • Reduce opacity of background code snippets
  • Restrict decorative elements within hero section bounds
  • Adjust z-index and spacing
  • Add responsive positioning for smaller/larger screens

Screenshot

Image

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions