File tree Expand file tree Collapse file tree 4 files changed +5
-18
lines changed
Expand file tree Collapse file tree 4 files changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -139,13 +139,6 @@ export default function AlgoliaSearch({
139139 future = { {
140140 preserveSharedStateOnUnmount : true ,
141141 } }
142- // initialUiState={{
143- // [indexName]: {
144- // refinementList: {
145- // _type: ["course"],
146- // },
147- // },
148- // }}
149142 >
150143 < div className = "flex gap-8 p-2 sm:p-4" >
151144 { showFacets && (
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export default function ProBenefits({
4747 </ h1 >
4848 < p className = "max-w-[600px] text-muted-foreground md:text-xl" >
4949 Unlock premium benefits with our CodingCat.dev Pro plan,
50- including advanced courses , lifetime access, and personalized
50+ including premium content , lifetime access, and personalized
5151 support.
5252 </ p >
5353 </ div >
@@ -80,15 +80,15 @@ export default function ProBenefits({
8080 </ h2 >
8181 < p className = "mx-auto max-w-[700px] text-muted-foreground md:text-xl/relaxed" >
8282 As a CodingCat.dev Pro member, you'll gain access to our
83- advanced course library, covering topics like machine learning ,
84- data science , and cloud architecture .
83+ premium content library, covering topics like web development ,
84+ cloud architecture , and modern frameworks .
8585 </ p >
8686 < Link
87- href = "/courses "
87+ href = "/blog "
8888 className = "inline-flex h-9 items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground shadow transition-colors hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"
8989 prefetch = { false }
9090 >
91- Explore Courses
91+ Explore Content
9292 </ Link >
9393 </ div >
9494 < div className = "flex flex-col items-start space-y-4" >
Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ function typePath(type: string): string {
1717 return "blog" ;
1818 case "podcast" :
1919 return "podcasts" ;
20- case "course" :
21- return "courses" ;
2220 default :
2321 return type + "s" ;
2422 }
Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ import { sharePreviewAction } from "@/sanity/components/documentActions/sharePre
3535import { assistWithPresets } from "@/sanity/plugins/assist" ;
3636import author from "@/sanity/schemas/documents/author" ;
3737import previewSession from "@/sanity/schemas/previewSession" ;
38- import course from "@/sanity/schemas/documents/course" ;
39- import lesson from "@/sanity/schemas/documents/lesson" ;
4038import guest from "@/sanity/schemas/documents/guest" ;
4139import page from "@/sanity/schemas/documents/page" ;
4240import podcast from "@/sanity/schemas/documents/podcast" ;
@@ -142,8 +140,6 @@ export default defineConfig({
142140 dashboardSettings ,
143141 // Documents
144142 author ,
145- course ,
146- lesson ,
147143 guest ,
148144 page ,
149145 podcast ,
You can’t perform that action at this time.
0 commit comments