-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: components with global data (#69)
* fix: header footer slugs, moved to components folder * feat: add ability to create global components and edit them from a single place * feat: remove utility to resolve header and footer relations, move resolving relations to the component level, reusing useGlobalComponent hook * feat: rename globalComponent to globalData, update stories, schemas, types * feat: add globalData to hero for sanity component, change hero query to resolve globalData, add comment to use CSS variables as section background
- Loading branch information
1 parent
4c844f4
commit 29d640f
Showing
30 changed files
with
996 additions
and
423 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
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
Oops, something went wrong.