Skip to content

Intro Logo Screen Reappearing After Navigation and Page Refresh #145

@Mrinalray

Description

@Mrinalray

Problem

The introduction/logo splash screen is appearing again when users navigate back to the Home page from other sections (e.g., URL Detector) or refresh the page.

Expected Behavior

  • The intro/logo screen should appear only once when the website is opened for the first time.
  • After the intro has been displayed, navigating between pages should not trigger it again.
  • Refreshing the page should also not show the intro screen repeatedly.
  • The intro should only reappear when the user starts a completely new session (if intended by the design).

Current Behavior

  • Open the website → Intro/logo appears.
  • Go to another page (e.g., URL Detector).
  • Return to the Home page → Intro/logo appears again.
  • Refresh the page → Intro/logo appears again.

Suggested Fix

Use localStorage, sessionStorage, or a similar state management approach to store whether the intro screen has already been shown. Check this state before displaying the intro animation and prevent it from reappearing unnecessarily during navigation or page refreshes.

Acceptance Criteria

  • Intro/logo appears only once per session (or once per user visit, depending on the intended behavior).
  • No repeated intro when navigating back to the Home page.
  • No repeated intro after refreshing the page.
  • Smooth user experience without unnecessary interruptions.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions