Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

refactor: remove unused 'lottie' prop from LandingHero component #2683

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

jnsdls
Copy link
Member

@jnsdls jnsdls commented Jun 18, 2024

TL;DR

Removed the lottie animation support in the LandingHero component.

What changed?

  • Deleted the lottie property from the LandingHeroProps interface.
  • Removed lottie from the LandingHero component's destructured props.
  • Deleted the Flex container that previously contained the LandingDesktopMobileImage with the lottie prop.

How to test?

  1. Verify that the LandingHero component no longer expects or handles the lottie prop.
  2. Ensure that there are no visual or functional regressions in the LandingHero component on various pages where it is used.

Why make this change?

The lottie animation support was deemed unnecessary and has been removed to streamline the component's implementation and reduce complexity.



PR-Codex overview

This PR removes the lottie prop from LandingHero component and refactors the rendering of images.

Detailed summary

  • Removed lottie prop from LandingHero
  • Refactored image rendering in LandingHero component

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Jun 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2024 4:16pm

Copy link
Member Author

jnsdls commented Jun 18, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jnsdls and the rest of your teammates on Graphite Graphite

Copy link

graphite-app bot commented Jun 18, 2024

Merge activity

### TL;DR

Removed the `lottie` animation support in the `LandingHero` component.

### What changed?

- Deleted the `lottie` property from the `LandingHeroProps` interface.
- Removed `lottie` from the `LandingHero` component's destructured props.
- Deleted the `Flex` container that previously contained the `LandingDesktopMobileImage` with the `lottie` prop.

### How to test?

1. Verify that the `LandingHero` component no longer expects or handles the `lottie` prop.
2. Ensure that there are no visual or functional regressions in the `LandingHero` component on various pages where it is used.

### Why make this change?

The `lottie` animation support was deemed unnecessary and has been removed to streamline the component's implementation and reduce complexity.

---

<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to remove the `lottie` prop from the `LandingHero` component in `hero.tsx`.

### Detailed summary
- Removed the `lottie` prop from `LandingHero` component
- Adjusted component structure to accommodate the removal

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@jnsdls jnsdls force-pushed the refactor/remove-unused-prop-landing-hero branch from 9d24914 to 1517db8 Compare June 18, 2024 16:05
@graphite-app graphite-app bot merged commit 1517db8 into main Jun 18, 2024
11 checks passed
@graphite-app graphite-app bot deleted the refactor/remove-unused-prop-landing-hero branch June 18, 2024 16:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants