-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for Next 13
appDir
BREAKING CHANGE: See the `Migration` section in the README for details.
- Loading branch information
Showing
26 changed files
with
142 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import NextStudioHead, {type NextStudioHeadProps} from 'src/studio/head' | ||
import faviconPng from 'src/studio/static/apple-touch-icon.png' | ||
import faviconIco from 'src/studio/static/favicon.ico' | ||
import faviconSvg from 'src/studio/static/favicon.svg' | ||
|
||
const favicons: NextStudioHeadProps['favicons'] = { | ||
'favicon.ico': faviconIco.src, | ||
'favicon.svg': faviconSvg.src, | ||
'apple-touch-icon.png': faviconPng.src, | ||
} | ||
|
||
export default function StudioHead() { | ||
return <NextStudioHead favicons={favicons} /> | ||
} |
6 changes: 4 additions & 2 deletions
6
...es/useConfigWithBasePath/[[...index]].tsx → app/studio/[[...tool]]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
next.lock/data/https_themer.sanity.build/api_hues_05c0e08c5b34193dbb07
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"https://themer.sanity.build/api/hues": { "integrity": "sha512-6RWs7VwUG3MSFBqx+qSIX2NClA/lXObtnIdEpASBLMJ4F8dClPBm2S3Knq4PhQ1JCFXzZeFMz6U3eo4n6Z+PFw==", "contentType": "application/javascript; charset=utf-8" }, | ||
"version": 1 | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.