@@ -27,53 +27,6 @@ export async function generateMetadata({
27
27
28
28
const Page : React . FC = async ( ) => {
29
29
const dehydratedState = await prefetch ( [
30
- /* We can't prefetch any learning resource until they are fully public, https://github.com/mitodl/hq/issues/5159
31
-
32
- // The queries for carousel content are not checked in the query cache warnings as the use the key factory methods directly
33
-
34
- // Featured Courses carousel "All"
35
- learningResourcesKeyFactory.featured({
36
- limit: 12,
37
- }),
38
- // Featured Courses carousel "Free" (worth fetching for tabs not shown on load?)
39
- learningResourcesKeyFactory.featured({
40
- limit: 12,
41
- free: true,
42
- }),
43
- // Featured Courses carousel "With Certificate"
44
- learningResourcesKeyFactory.featured({
45
- limit: 12,
46
- certification: true,
47
- professional: false,
48
- }),
49
- // Featured Courses carousel "Professional & Executive Learning"
50
- learningResourcesKeyFactory.featured({
51
- limit: 12,
52
- certification: true,
53
- professional: false,
54
- }),
55
- // Media carousel "All"
56
- learningResourcesKeyFactory.list({
57
- resource_type: ["video", "podcast_episode"],
58
- limit: 12,
59
- sortby: "new",
60
- }),
61
- // Media carousel "Videos"
62
- learningResourcesKeyFactory.list({
63
- resource_type: ["video"],
64
- limit: 12,
65
- sortby: "new",
66
- }),
67
- // Media carousel "Podcasts"
68
- learningResourcesKeyFactory.list({
69
- resource_type: ["podcast_episode"],
70
- limit: 12,
71
- sortby: "new",
72
- }),
73
- // Browse by Topic
74
- learningResourcesKeyFactory.topics({ is_toplevel: true }),
75
- */
76
-
77
30
testimonialsKeyFactory . list ( { position : 1 } ) ,
78
31
newsEventsKeyFactory . list ( {
79
32
feed_type : [ NewsEventsListFeedTypeEnum . News ] ,
0 commit comments