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

Add prev/next links to reading list #161

Merged
merged 1 commit into from
Jan 20, 2024

Conversation

jonallured
Copy link
Owner

I wanted a way to navigate between years in the Reading List page but wasn't sure how I was going to do it. I tinkered with add these links conditionally only if the year actually has books but then I realized: I don't really care and it's added complexity for very little benefit. If there aren't books on that year then the table is just empty - who cares?

So then having established that I was always going to have these links show up then my next thought was about how they'd look on the page. I ended up looking at the nav that connects all the style pages and adapted that to this case.

Looks like this:

Screenshot 2024-01-20 at 2 58 13 PM

@jonallured jonallured force-pushed the add-prev-next-links-to-reading-list branch from f104386 to 8032dbc Compare January 20, 2024 21:01
@github-actions github-actions bot merged commit cef76f6 into main Jan 20, 2024
3 checks passed
@github-actions github-actions bot deleted the add-prev-next-links-to-reading-list branch January 20, 2024 21:02
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.

1 participant