Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create standalone page to display media #1214

Open
2 tasks
clintonlunn opened this issue Nov 12, 2024 · 3 comments
Open
2 tasks

create standalone page to display media #1214

clintonlunn opened this issue Nov 12, 2024 · 3 comments
Labels
Component: UserGallery help wanted Extra attention is needed

Comments

@clintonlunn
Copy link
Collaborator

clintonlunn commented Nov 12, 2024

Todo

Create a standalone page to display a photo in full screen. This page can be used as a child component in the user gallery and in area/climb page.

  • Create /media/[mediaUrl]/page.tsx
  • Dispay media using Image component

Notes:

  • mediaUrl format: u/abe96612-2742-43b0-a128-6b19d4e4615f/gbWD8LLrnb.jpeg
  • Page layout div should be minimal, full width & height since page will be called by other components that will provide the layout.

Related to #1212

Read more about slot / parallel routes to display this page inside of a modal

@mikeschen
Copy link
Contributor

question: How will we get to this standalone page?
If we go to area we can click on a photo, it appears in Gallery, then we click again and enter a full screen view.
User Gallery we click on a photo and we enter slideshow.
How would this new page be used?

@vnugent
Copy link
Contributor

vnugent commented Mar 1, 2025

I'm hoping we can simplify the user gallery component and have a common slideshow/full screen view that can be used both from the climb/area page gallery and user gallery. We'll have to re-do the user gallery slideshow.

  • Climb/Area photo gallery --> click on photo --> slideshow/full screen
  • User gallery --> click on photo --> slideshow/full screen

Docs: Nextjs modal

@mikeschen
Copy link
Contributor

mikeschen commented Mar 3, 2025

Makes sense, something like this may help too: https://vercel.com/blog/building-a-fast-animated-image-gallery-with-next-js
as well as
https://github.com/vercel/nextgram

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: UserGallery help wanted Extra attention is needed
Projects
Status: General backlog
Development

No branches or pull requests

3 participants