Skip to content
New issue

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

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

Already on GitHub? # to your account

Add capture mode #122

Merged
merged 2 commits into from
Aug 10, 2023
Merged

Add capture mode #122

merged 2 commits into from
Aug 10, 2023

Conversation

dtinth
Copy link
Member

@dtinth dtinth commented Aug 10, 2023

This will adjust the page layout so it’s easy to capture as social share image. Uses 2 params:

  • capture=<eventId> — Which event to display as the event banner
  • month=YYYY-MM — Which year/month to display on the calendar

Example:

https://techcal-th--pr122-capture-jleg80z2.web.app/?capture=_60q30c1g60o30e1i60o4ac1g60rj8gpl88rj2c1h84s34h9g60s30c1g60o30c1g7123egq58l2k2cq28cr48e9g64o30c1g60o30c1g60o30c1g60o32c1g60o30c1g60o3ah9h8grkcdhj64sj2dpk8gs4cgpg88rj6ca674p48d9k60o0&month=2023-10

Result:

localhost_5173__capture=_60q30c1g60o30e1i60o4ac1g60rj8gpl88rj2c1h84s34h9g60s30c1g60o30c1g7123egq58l2k2cq28cr48e9g64o30c1g60o30c1g60o30c1g60o32c1g60o30c1g60o3ah9h8grkcdhj64sj2dpk8gs4cgpg88rj6ca674p48d9k60o0 month=2023-10

Why?

I am thinking about reviving this page: https://www.facebook.com/thtechevents/

It currently has 600+ likes/followers, so we don’t have to start from zero.

@dtinth dtinth requested a review from rayriffy August 10, 2023 11:06
@github-actions
Copy link

Visit the preview URL for this PR (updated for commit 41da476):

(expires Thu, 17 Aug 2023 11:07:17 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7b89b43096a0297d669b0d75e88f6129966a431d

Copy link
Member

@rayriffy rayriffy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work on this! ✨

@dtinth dtinth merged commit d566efc into master Aug 10, 2023
@dtinth dtinth deleted the capture branch August 10, 2023 12:40
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants