turbo-eth / template-web3-app

⚡️ Web3 App Template built using Next.js, RainbowKit, SIWE, Disco, and more!
https://www.turboeth.xyz
MIT License
334 stars 89 forks source link

Upgrade Next.js to 13.3, migrate to metadata API, convert layout to server component, and optimize font loading #50

Closed marthendalnunes closed 1 year ago

marthendalnunes commented 1 year ago

This PR updates the TurboETH project from Next.js 13.1 to 13.3, migrates the metadata implementation from the deprecated head.tsx pattern to the new metadata API introduced in Next.js 13.2, converts the layout.tsx from a client component to a server component (required to use the metadata API), and optimizes font loading by using Next.js font elements.

Changes include:

Notice: The tags <meta charSet="utf-8" /> and <meta content="width=device-width, initial-scale=1" name="viewport" /> have not been explicitly included in the metadata API config object since they are default fields. For more information, check Next.js Metadata Behavior.

For more details on the changes introduced in Next.js 13.2 and 13.3, please refer to their respective changelogs and the head.tsx migration guide:

vercel[bot] commented 1 year ago

@marthendalnunes is attempting to deploy a commit to the District Labs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 1 year ago

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

Name Status Preview Comments Updated (UTC)
light-turbo-eth ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2023 9:00pm