Skip to content

Switch event and venue details content order when using small screen#885

Merged
nikomakela merged 3 commits into
mainfrom
LIIKUNTA-759-switch-map-sidebar
Oct 27, 2025
Merged

Switch event and venue details content order when using small screen#885
nikomakela merged 3 commits into
mainfrom
LIIKUNTA-759-switch-map-sidebar

Conversation

@nikomakela

@nikomakela nikomakela commented Oct 24, 2025

Copy link
Copy Markdown
Contributor

LIIKUNTA-759.

Take advantage of grid styles to reorder content when a small screen breakpoint is window size reached.

When using bigger than mobile sized screen, the content order would be:

  1. event description
  2. share buttons,
  3. map,
  4. sidebar
  5. other events, footer, etc...

When using mobile sized screen, switch the sidebar with secondary data (location / map, share buttons...) in main content, so in mobile the order would be:

  1. event description
  2. sidebar
  3. share buttons,
  4. map,
  5. other events, footer, etc...

This commit also contains a small trivial style change: Use aside element for event details sidebar.

HCRC-lib pull request about same matter: City-of-Helsinki/react-helsinki-headless-cms#212

LIIKUNTA-759.

Take advantage of grid styles to reorder content when a small screen
breakpoint is window size reached.

When using bigger than mobile sized screen, the content order would be:
1. event description
2. share buttons,
3. map,
4. sidebar
5. other events, footer, etc...

When using mobile sized screen, switch the sidebar with secondary data
(location / map, share buttons...) in main content, so in mobile the
order would be:
1. event description
2. sidebar
3. share buttons,
4. map,
5. other events, footer, etc...

This commit also contains a small trivial style change: Use aside
element for event details sidebar
LIIKUNTA-759.

Take advantage of grid styles to reorder content when a small screen
breakpoint is window size reached.

When using bigger than mobile sized screen, the content order would be:
1. venue description
2. share buttons,
3. map,
4. sidebar
5. venue events, footer, etc...

When using mobile sized screen, switch the sidebar with secondary data
(location / map, share buttons...) in main content, so in mobile the
order would be:
1. venue description
2. sidebar
3. share buttons,
4. map,
5. venue events, footer, etc...
@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-hobbies-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-events-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-sports-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

TAPAHTUMAT-UI branch is deployed to platta: https://tapahtumat-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

EVENTS-GRAPHQL-PROXY branch is deployed to platta: https://events-graphql-proxy-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

VENUE-GRAPHQL-PROXY branch is deployed to platta: https://venue-graphql-proxy-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

LIIKUNTA-UI branch is deployed to platta: https://liikunta-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://tapahtumat-pr885.dev.hel.ninja 😆🎉🎉🎉

@terovirtanen

Copy link
Copy Markdown
Contributor

HARRASTUKSET-UI branch is deployed to platta: https://harrastukset-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://liikunta-pr885.dev.hel.ninja 😆🎉🎉🎉

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://harrastukset-pr885.dev.hel.ninja 😆🎉🎉🎉

@nikomakela

nikomakela commented Oct 27, 2025

Copy link
Copy Markdown
Contributor Author

@nikomakela nikomakela marked this pull request as ready for review October 27, 2025 10:14
Upgrade HCRC-lib to get new grid style changes on article and dynamic
CMS pages. Also fix event details remainingAttendeeCapacity field.

LIIKUNTA-759.

Take advantage of grid styles to reorder content when a small screen
breakpoint is window size reached.

When using bigger than mobile sized screen, the content order would be:
1. page main (text) content
2. share buttons,
3. sidebar
4. modules, footer, etc...

When using mobile sized screen, switch the sidebar with secondary data
(share buttons...) in main content, so in mobile the
order would be:
1. page main (text) content
2. sidebar
3. share buttons,
5. modules, footer, etc...
@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-hobbies-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-sports-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-events-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

EVENTS-GRAPHQL-PROXY branch is deployed to platta: https://events-graphql-proxy-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

LIIKUNTA-UI branch is deployed to platta: https://liikunta-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

HARRASTUKSET-UI branch is deployed to platta: https://harrastukset-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

VENUE-GRAPHQL-PROXY branch is deployed to platta: https://venue-graphql-proxy-pr885.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

TAPAHTUMAT-UI branch is deployed to platta: https://tapahtumat-pr885.dev.hel.ninja 🚀🚀🚀

@sonarqubecloud

Copy link
Copy Markdown

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://liikunta-pr885.dev.hel.ninja 😆🎉🎉🎉

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://tapahtumat-pr885.dev.hel.ninja 😆🎉🎉🎉

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://harrastukset-pr885.dev.hel.ninja 😆🎉🎉🎉

@nikomakela nikomakela merged commit dba08f8 into main Oct 27, 2025
124 checks passed
@charn charn deleted the LIIKUNTA-759-switch-map-sidebar branch July 8, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants