Skip to content

chore: remove orphaned app/components/landing duplicates (#286)#368

Closed
jd5073356-max wants to merge 1 commit into
Grainlify:mainfrom
jd5073356-max:chore/remove-app-landing-dup
Closed

chore: remove orphaned app/components/landing duplicates (#286)#368
jd5073356-max wants to merge 1 commit into
Grainlify:mainfrom
jd5073356-max:chore/remove-app-landing-dup

Conversation

@jd5073356-max

Copy link
Copy Markdown

Closes #286

What

Removes src/app/components/landing/Hero.tsx and src/app/components/landing/Navbar.tsx. These were orphaned scaffolding that duplicated the landing UI.

Why it's safe

The live landing components are under src/features/landing/ (barrel-exported and imported by App.tsx as ../features/landing; the live Navbar has its own test there).

No importers reference the removed files:

grep -rn "app/components/landing" src   # → no matches

The folder contained only those two files (no index/barrel, no stories).

Verification

  • npm run typecheck — passes.
  • npm run build — passes.
  • npx vitest run src/features/landing — green (live landing unaffected).

Note: src/app/App.test.tsx has 2 failing tests (localStorage.clear() is undefined in that file's jsdom setup). They fail on main as well, independently of this change — this PR only deletes unreferenced files and does not touch App or its tests.

src/app/components/landing/Hero.tsx and Navbar.tsx were unreferenced
scaffolding. The live landing UI lives in src/features/landing (imported
by App.tsx as `../features/landing`, and it has its own Navbar test).

Verified there are no importers:
  grep -rn "app/components/landing" src  -> no matches

typecheck and build pass, and the src/features/landing tests stay green
after removal.

Closes Grainlify#286
@Jagadeeshftw

Copy link
Copy Markdown
Contributor

hey @jd5073356-max, thanks for jumping in! closing this pr because the author needs to be assigned to the linked issue (#286) before opening a pr. please comment on the issue requesting assignment, wait to be assigned, then re-raise your pr. this keeps work fairly distributed across contributors. hope to see a revised pr from you soon!

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.

Remove or wire up the unused src/app/components/landing Hero and Navbar duplicates

2 participants