diff --git a/src/app/HomepageClientComponent.tsx b/src/app/HomepageClientComponent.tsx index d2aefcdd..f87ff389 100644 --- a/src/app/HomepageClientComponent.tsx +++ b/src/app/HomepageClientComponent.tsx @@ -130,6 +130,7 @@ interface Article { } interface HomepageClientComponentProps { + deepMLTutorials: Article[]; mlProjects: Article[]; aiDev: Article[]; refArchitectures: Article[]; @@ -139,6 +140,7 @@ interface HomepageClientComponentProps { } export default function HomepageClientComponent({ + deepMLTutorials, mlProjects, aiDev, refArchitectures, @@ -233,6 +235,17 @@ export default function HomepageClientComponent({
+
+

Deep and Machine Learning Tutorials

+
+ {deepMLTutorials.slice(0, 3).map((article) => ( + + ))} +
+
+
+ +

Open-source AI / ML / Pipelines Projects

@@ -243,7 +256,7 @@ export default function HomepageClientComponent({
-
+

AI-assisted Development

@@ -276,7 +289,7 @@ export default function HomepageClientComponent({
-
+

Reference Architectures and Demos

@@ -286,6 +299,7 @@ export default function HomepageClientComponent({
+ diff --git a/src/app/page.tsx b/src/app/page.tsx index 2a6d8854..56dbb0cc 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -11,6 +11,13 @@ export const metadata = createMetadata({ }); export default async function Page() { + + const deepMLTutorialSlugs = [ + 'cloud-gpu-services-jupyter-notebook-reviewed', + 'how-to-create-a-custom-alpaca-dataset', + 'how-to-fine-tune-llama-3-1-on-lightning-ai-with-torchtune' + ] + const mlProjectSlugs = [ 'mnist-pytorch-hand-drawn-digit-recognizer', 'langchain-pinecone-chat-with-my-blog', @@ -41,13 +48,15 @@ export default async function Page() { 'what-is-a-vector-database' ] - const allSlugs = [...mlProjectSlugs, ...aiDevSlugs, ...refArchitectureSlugs, ...careerAdviceSlugs] + const allSlugs = [...deepMLTutorialSlugs, ...mlProjectSlugs, ...aiDevSlugs, ...refArchitectureSlugs, ...careerAdviceSlugs] try { // Fetch all articles matching the slugs const allArticles = await getAllArticles(allSlugs) const allVideos = await getAllVideos(videoSlugs) // Fetch all videos with matching slugs + const deepMLTutorials = allArticles.filter(article => deepMLTutorialSlugs.includes(article.slug)) + const mlProjects = allArticles.filter(article => mlProjectSlugs.includes(article.slug)) const aiDev = allArticles.filter(article => aiDevSlugs.includes(article.slug)) @@ -70,6 +79,7 @@ export default async function Page() { return (