From 49d9f489d8ec0fd08a52c7d5f454b469bb1c75c7 Mon Sep 17 00:00:00 2001 From: bogercraig <124094535+bogercraig@users.noreply.github.com> Date: Wed, 15 Feb 2023 09:24:55 -0500 Subject: [PATCH] Users/bogercraig/add cdb live show link (#1391) * Exchanged links on DE home page with link to the Azure Cosmos DB Live TV show. * Adding back accidentally removed terminating , * Added cdb TV to Postgres quick start splash page. * Removing cdb tv description from next steps and moved up. * Moved cdb tv to the tips and learn more column on postgres getting started page. * Shortening postgrest cdb tv line. * Removing link from PG since only 1 episode so far for PG. * Adding terminating comma back. Formatting. * Consolidating Cosmos DB Live TV to a single variable. * Updating prettier formatting. --- src/Explorer/SplashScreen/SplashScreen.tsx | 42 +++++++++------------- 1 file changed, 16 insertions(+), 26 deletions(-) diff --git a/src/Explorer/SplashScreen/SplashScreen.tsx b/src/Explorer/SplashScreen/SplashScreen.tsx index c9c73ed5e..191da5a8a 100644 --- a/src/Explorer/SplashScreen/SplashScreen.tsx +++ b/src/Explorer/SplashScreen/SplashScreen.tsx @@ -563,7 +563,17 @@ export class SplashScreen extends React.Component { } private getLearningResourceItems(): JSX.Element { - let items: { link: string; title: string; description: string }[]; + interface item { + link: string; + title: string; + description: string; + } + const cdbLiveTv: item = { + link: "https://developer.azurecosmosdb.com/tv", + title: "Learn the Fundamentals", + description: "Watch Azure Cosmos DB Live TV show introductory and how to videos.", + }; + let items: item[]; switch (userContext.apiType) { case "SQL": case "Postgres": @@ -573,11 +583,7 @@ export class SplashScreen extends React.Component { title: "Get Started using an SDK", description: "Learn about the Azure Cosmos DB SDK.", }, - { - link: "https://aka.ms/msl-complex-queries", - title: "Master Complex Queries", - description: "Learn how to author complex queries.", - }, + cdbLiveTv, { link: "https://aka.ms/msl-move-data", title: "Migrate Your Data", @@ -597,11 +603,7 @@ export class SplashScreen extends React.Component { title: "Getting Started Guide", description: "Learn the basics to get started.", }, - { - link: "http://aka.ms/mongodotnet", - title: "Build a web API", - description: "Create a web API with the.NET SDK.", - }, + cdbLiveTv, ]; break; case "Cassandra": @@ -611,11 +613,7 @@ export class SplashScreen extends React.Component { title: "Create a Container", description: "Get to know the create a container options.", }, - { - link: "https://aka.ms/cassandraserverdiagnostics", - title: "Run Server Diagnostics", - description: "Learn how to run server diagnostics.", - }, + cdbLiveTv, { link: "https://aka.ms/Cassandrathroughput", title: "Provision Throughput", @@ -635,11 +633,7 @@ export class SplashScreen extends React.Component { title: "Import Graph Data", description: "Learn Bulk ingestion data using BulkExecutor", }, - { - link: "https://aka.ms/graphoptimize", - title: "Optimize your Queries", - description: "Learn how to evaluate your Gremlin queries", - }, + cdbLiveTv, ]; break; case "Tables": @@ -654,11 +648,7 @@ export class SplashScreen extends React.Component { title: "Build a Java App", description: "Create a Azure Cosmos DB for Table app with Java SDK ", }, - { - link: "https://aka.ms/tablenodejs", - title: "Build a Node.js App", - description: "Create a Azure Cosmos DB for Table app with Node.js SDK", - }, + cdbLiveTv, ]; break; }