Closed salgadopietrini closed 2 months ago
@salgadopietrini is attempting to deploy a commit to the openbeta-dev Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
open-tacos | ✅ Ready (Inspect) | Visit Preview | Apr 22, 2024 7:52pm |
@salgadopietrini thanks for the PR. I'll look into it this weekend.
@allcontributors add @salgadopietrini for code
@vnugent
I've put up a pull request to add @salgadopietrini! :tada:
name: Pull request about: Create a pull request title: '' labels: '' assignees: ''
What type of PR is this?(check all applicable)
Description
Related Issues
Issue #1066
What this PR achieves
Currently, we have a common pattern where when we want to add a summary section (two columns), we create divs and add the classes that handle the grid layout. This PR encapsulates that logic into a single
<Summary />
component, which accepts two children (one for each column), and also implements it in places where the old logic was implemented:AreaPageContainer
)Screenshots, recordings
After refactor, should present no changes with current views:
Area page, desktop
Climb page, desktop
Area page, mobile
Climb page, mobile
Notes
left
andright
columns into their own component. Let me know if this approach is ok or if you'd prefer that pass them directly to the props of<Summary />