pholmq / Tychosbook

Created with CodeSandbox
https://codesandbox.io/s/github/pholmq/Tychosbook
MIT License
9 stars 6 forks source link

Upgrade nextra #5

Closed Loosetooth closed 1 year ago

Loosetooth commented 1 year ago

This pull request upgrades nextra, nextjs, etc, to the latest versions.

Check out deployment here: https://tychosbook-git-upgrade-nextra-loosetooth.vercel.app/

Because of changes in nextra I also changed a few other things:

  1. there is now a clickable forum icon in the top right: image
  2. the search bar now does full text search, i.e., searching for "aberration" now correctly displays all the chapters where that term appears.
  3. the donate button is now centered
  4. the donate button is moved below each page

Regarding 4: I guess visibility of the donate button is reduced a little. In case this is a problem, we could try to put the button inside of each .mdx page, but that would require a different approach. The reason that the donate button moved is because newer versions of nextra handle the 'footer' differently.

I checked some pages, and everything seemed to look fine. But I did not check all the pages.

There might also be some other smaller changes because of the newer version of nextra that I did not list here.

codesandbox[bot] commented 1 year ago

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders
Open Preview

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tychosbook ❌ Failed (Inspect) Aug 28, 2023 1:14pm