swup / docs

Official swup documentation 📘
https://swup.js.org/getting-started
12 stars 35 forks source link

feat: page navigation #107

Closed hirasso closed 1 year ago

hirasso commented 1 year ago

Description

I had some time to look into the page navigation (previous/next in the footer of each page). Turns out it was actually a bit tricky to derive the correct adjacent pages based on the (nested) menu structure. What I went for:

Checks

netlify[bot] commented 1 year ago

Deploy Preview for splendorous-kataifi-9ae281 ready!

Name Link
Latest commit 0dacde5a3efa348679c9dc64e7867b4a371088a1
Latest deploy log https://app.netlify.com/sites/splendorous-kataifi-9ae281/deploys/645012d1aec281000814aeac
Deploy Preview https://deploy-preview-107--splendorous-kataifi-9ae281.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

hirasso commented 1 year ago

As a side note: The main focus here is to make sure we have all data and functionality we need when the time should come for a redesign.

hirasso commented 1 year ago

After browsing the site at netlify on mobile, I realized that the stacked layout on mobile might not even be necessary. Will change that.

daun commented 1 year ago

Sweet 🥨 Looking good on mobile as well from my end.

hirasso commented 1 year ago

Changed a few things: