Skip to content

Commit 8982b46

Browse files
Copilotkentcdodds
andcommitted
Add EpicAI.pro course as primary focus to courses page and course section
Co-authored-by: kentcdodds <1500684+kentcdodds@users.noreply.github.com>
1 parent 4a8b22b commit 8982b46

File tree

3 files changed

+34
-1
lines changed

3 files changed

+34
-1
lines changed

app/components/sections/course-section.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,25 @@ function CourseSection() {
1515
/>
1616
<Grid className="!grid-cols-12 gap-6 @container/grid md:gap-6 xl:gap-8">
1717
<div className="col-span-full @container">
18+
<CourseCard
19+
title="Epic AI"
20+
description="Learn to build AI-powered applications."
21+
label="AI development course"
22+
lightImageBuilder={images.courseEpicAILight}
23+
darkImageBuilder={images.courseEpicAIDark}
24+
courseUrl="https://www.epicai.pro"
25+
horizontal
26+
/>
27+
</div>
28+
29+
<div className="col-span-full @container @2xl:col-span-6">
1830
<CourseCard
1931
title="Epic Web"
2032
description="Become a full stack web dev."
2133
label="Full stack course"
2234
lightImageBuilder={images.courseEpicWebLight}
2335
darkImageBuilder={images.courseEpicWebDark}
2436
courseUrl="https://www.epicweb.dev"
25-
horizontal
2637
/>
2738
</div>
2839

app/images.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const epicWebClassName =
5353
const epicReactClassName = 'h-[82%]'
5454
const testingJSClassName =
5555
'h-[94%] -translate-y-[8%] dark:-translate-x-[0.6%] dark:h-[98%] dark:-translate-y-[6%]'
56+
const epicAIClassName = 'h-[80%] -translate-y-[8%]'
5657

5758
const images = createImages({
5859
kentSignatureDarkMode: {
@@ -459,6 +460,16 @@ const images = createImages({
459460
alt: 'The EpicWeb.dev logo',
460461
className: epicWebClassName,
461462
},
463+
courseEpicAILight: {
464+
id: 'kentcdodds.com/pages/courses/v2/epic-ai-light',
465+
alt: 'The EpicAI.pro logo',
466+
className: epicAIClassName,
467+
},
468+
courseEpicAIDark: {
469+
id: 'kentcdodds.com/pages/courses/v2/epic-ai-dark',
470+
alt: 'The EpicAI.pro logo',
471+
className: epicAIClassName,
472+
},
462473
courseHowToContributeToAnOpenSourceProjectOnGitHub: {
463474
id: 'kentcdodds.com/pages/courses/how-to-contribute-to-an-open-source-project-on-github',
464475
alt: 'Illustration for How to Contribute to an Open Source Project on GitHub',

app/routes/courses.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,17 @@ function CoursesHome() {
112112
</h2>
113113

114114
<Grid className="!grid-cols-12 gap-6 @container/grid md:gap-6 xl:gap-8">
115+
<div className="col-span-full @container">
116+
<CourseCard
117+
title="Epic AI"
118+
description="Learn to architect next-generation, AI-powered applications that are adaptive, context-aware, and deeply personalized using the Model Context Protocol (MCP)."
119+
label="AI development course"
120+
lightImageBuilder={images.courseEpicAILight}
121+
darkImageBuilder={images.courseEpicAIDark}
122+
courseUrl="https://www.epicai.pro"
123+
horizontal
124+
/>
125+
</div>
115126
<div className="col-span-full @container">
116127
<CourseCard
117128
title="Epic Web"

0 commit comments

Comments
 (0)