-
Notifications
You must be signed in to change notification settings - Fork 0
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
Switch from local data to Sanity #3
Comments
Reel query:
or (with image dereferenced)
Settings query:
About query:
or (with image dereferenced)
with null check
Project sets query:
|
Reference GROQ from my other project that you can modify: *[_type == "household" && isActive] {
...,
photo != null => { "photo": {
...photo,
"dimensions": photo.asset->metadata.dimensions,
"url": photo.asset->url,
}}
} | order(primarySurname asc, primaryAdultFirstNames asc) |
Custom renderPortableText Function VS Astro Portable TextrenderPortableText function can only render
while Astro Portable Text package can handle
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
index.astro
instead of spread throughout components. #11The text was updated successfully, but these errors were encountered: