Skip to content

Commit

Permalink
docs: Fix layout of screen sequence animation (#2303)
Browse files Browse the repository at this point in the history
## Description

So previously, when there was a production build, screens from screen
sequence in hero were wrongly moving into incorrect div. I've wrapped
whole sequence into an additional div, so to disallow screens from
moving there (somehow it fixes this issue).

## Changes

- Wrapped page with additional divs

## Screenshots / GIFs

### Before

![CleanShot 2024-08-13 at 16 40
24@2x](https://github.com/user-attachments/assets/4dc505df-66e7-40a3-bde9-6d334f384c7e)

### After

![CleanShot 2024-08-13 at 16 39
23@2x](https://github.com/user-attachments/assets/6bee706c-d642-4ef1-9d0f-d70105d711d9)

## Checklist

- [ ] Ensured that CI passes
  • Loading branch information
tboba authored Aug 13, 2024
1 parent c02fb56 commit 29f8ecf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ import styles from './styles.module.css';
export default function Home() {
return (
<Layout description="Native Navigation primitives for your React Native app.">
<LandingBackground />
<div>
<LandingBackground />
</div>
<div className={styles.container}>
<HomepageStartScreen />
</div>
Expand Down

0 comments on commit 29f8ecf

Please sign in to comment.