-
Notifications
You must be signed in to change notification settings - Fork 1
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
Setup Sanity queries on resources page #101
Conversation
Deploy preview for zothacks-site-2023-sanity ready!
|
Deploy preview for zothacks-site-2023 ready!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to add export const revalidate = 60;
to the resource and schedule page.tsx. The pages don't update content on sanity changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
I've created Sanity queries on the resource page to query for a specific type of resource (API, backend, frontend, etc.). I've also made some but not a lot of adjustments to the resources frontend to showcase how the properties provided by the schema should be used.
Some lingering issues that I think should be resolved in a separate issue:
preserveAspectRatio="none"
to the SVG of the index card.