Skip to content
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

feat(er-next): miscellaneous stuff #1472

Merged
merged 12 commits into from Mar 26, 2024
Merged

feat(er-next): miscellaneous stuff #1472

merged 12 commits into from Mar 26, 2024

Conversation

DrShpongle
Copy link
Contributor

This PR adds:

  • Livestreams page
  • completes the Learn page
  • changes to Sanity schemas (bonus & interview)
Learn page
Livestreams page

Dog What GIF by MOODMAN

Copy link

vercel bot commented Mar 26, 2024

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

Name Status Preview Comments Updated (UTC)
badass-turbo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2024 4:50pm
colt-steele ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2024 4:50pm
devrel-fyi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2024 4:50pm
epic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2024 4:50pm
pro-aws ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2024 4:50pm
pro-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2024 4:50pm
skill-stack-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2024 4:50pm
testing-javascript ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2024 4:50pm
total-typescript-turbo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2024 4:50pm

@@ -118,7 +119,8 @@ export const WorkshopSchema = z.object({
_updatedAt: z.string(),
_createdAt: z.string(),
description: z.string().nullable(),
state: z.string(), // TODO: make this a union/literal of the 3 states
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed this TODO (but used only the 2 states - "draft" and "published". What's supposed to be the third one?)

}
})}
</ul>
if (resource._type === 'section' && resource?.resources) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't appease the TS here, can you please take a look @jbranchaud ?

key={resource._id}
title={resource.title}
workshopSlug={computedResource.slug.current}
resourceSlug={resource.resources[0].slug}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't appease the TS here, can you please take a look @jbranchaud ?


const paths = tutorials.flatMap((tutorial: any) => {
const paths = [...tutorials, ...bonuses].flatMap((tutorial: any) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

decided to merge workshops (it was "tutorials" here before, I didn't change) and bonuses here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants