From 2041e3ab1b83e7ff9c92a3ea886017b24dce1cc7 Mon Sep 17 00:00:00 2001 From: Joseph Sturtevant Date: Wed, 13 Sep 2023 12:15:17 -0700 Subject: [PATCH] Updated base URL for images --- website/src/pages/Fall-For-IA/HackTogether.js | 15 ++++++++------- website/src/pages/Fall-For-IA/LearnLive.js | 11 ++++++----- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/website/src/pages/Fall-For-IA/HackTogether.js b/website/src/pages/Fall-For-IA/HackTogether.js index 0956fa0770..701263bf29 100644 --- a/website/src/pages/Fall-For-IA/HackTogether.js +++ b/website/src/pages/Fall-For-IA/HackTogether.js @@ -5,6 +5,7 @@ import clsx from 'clsx'; import styles from './styles.module.css'; import Image from '@theme/IdealImage'; import Link from '@docusaurus/Link'; +import useBaseUrl from '@docusaurus/useBaseUrl'; // Section Header function SectionHeader({title, description}) { @@ -46,7 +47,7 @@ function ContentItem({title, description, topic, topiclink, link, imglink, cta})
- {"Thumbnail + {"Thumbnail
@@ -69,42 +70,42 @@ const ContentItems = [ { title: 'Hello, Contoso Real Estate!', - imglink: '../img/fallforia/hack-together-contoso.png', + imglink: '/img/fallforia/hack-together-contoso.png', link: "https://developer.microsoft.com/reactor/events/20275/?WT.mc_id=javascript-99907-ninarasi", description: "Get an overview of the Contoso Real estate app and architecture.", cta: "Hack together" }, { title: 'Introduction to GitHub Copilot', - imglink: '../img/fallforia/hack-together-github-copilot.png', + imglink: '/img/fallforia/hack-together-github-copilot.png', link: "https://developer.microsoft.com/reactor/events/20321/?WT.mc_id=javascript-99907-ninarasi", description: "Learn how to harness the power of Copilot from installation to usage.", cta: "Hack together" }, { title: 'Build Your Frontend With Azure Static Web Apps', - imglink: '../img/fallforia/hack-together-azure-static-web-apps.png', + imglink: '/img/fallforia/hack-together-azure-static-web-apps.png', link: "https://developer.microsoft.com/reactor/events/20276/?WT.mc_id=javascript-99907-ninarasi", description: "Learn about Azure Static Web Apps, the SWA CLI - and usage.", cta: "Hack together" }, { title: 'Build a Serverless Backend with Functions', - imglink: '../img/fallforia/hack-together-azure-functions.png', + imglink: '/img/fallforia/hack-together-azure-functions.png', link: "https://developer.microsoft.com/reactor/events/20277/?WT.mc_id=javascript-99907-ninarasi", description: "Show how Azure Functions powers the serverless backend for the app.", cta: "Hack together" }, { title: 'Build & Connect Your Database with Azure Cosmos DB', - imglink: '../img/fallforia/hack-together-cosmos-db.png', + imglink: '/img/fallforia/hack-together-cosmos-db.png', link: "https://developer.microsoft.com/reactor/events/20278/?WT.mc_id=javascript-99907-ninarasi", description: "Show how you can manage your data in CosmosDB, and usage within the Contoso app.", cta: "Hack together" }, { title: 'Introduction to Azure Open AI Service', - imglink: '../img/fallforia/hack-together-open-ai.png', + imglink: '/img/fallforia/hack-together-open-ai.png', link: "https://developer.microsoft.com/reactor/events/20322/?WT.mc_id=javascript-99907-ninarasi", description: "Learn the basics of Azure Open AI and explore how you can use it.", cta: "Hack together" diff --git a/website/src/pages/Fall-For-IA/LearnLive.js b/website/src/pages/Fall-For-IA/LearnLive.js index b9564f5eb8..e40ddcc84d 100644 --- a/website/src/pages/Fall-For-IA/LearnLive.js +++ b/website/src/pages/Fall-For-IA/LearnLive.js @@ -5,6 +5,7 @@ import clsx from 'clsx'; import styles from './styles.module.css'; import Image from '@theme/IdealImage'; import Link from '@docusaurus/Link'; +import useBaseUrl from '@docusaurus/useBaseUrl'; // Section Header function SectionHeader({title, description}) { @@ -46,7 +47,7 @@ function ContentItem({title, description, link, imglink, cta}){
- {"Thumbnail + {"Thumbnail
@@ -69,28 +70,28 @@ const ContentItems = [ { title: 'Get Started With Contoso Real Estate', - imglink: '../img/fallforia/learn-live-contoso.jpg', + imglink: '/img/fallforia/learn-live-contoso.jpg', link: "https://aka.ms/contoso-real-estate/learn-live/Ep1?WT.mc_id=javascript-99907-ninarasi", description: "Learn about the Contoso Real Estate sample, fork the repo, launch GitHub Codespaces - and build/preview the application to validate environment.", cta: "Learn live" }, { title: 'Develop The Portal Application', - imglink: '../img/fallforia/learn-live-portal-app.jpg', + imglink: '/img/fallforia/learn-live-portal-app.jpg', link: "https://aka.ms/contoso-real-estate/learn-live/Ep2?WT.mc_id=javascript-99907-ninarasi", description: "Learn about micro-frontends and API-first design. Deconstruct the portal app, blog app, and serverless API.", cta: "Learn live" }, { title: 'Integrate Auth, Payments, Search', - imglink: '../img/fallforia/learn-live-third-party-payments.jpg', + imglink: '/img/fallforia/learn-live-third-party-payments.jpg', link: "https://aka.ms/contoso-real-estate/learn-live/Ep3?WT.mc_id=javascript-99907-ninarasi", description: "Integrate authentication to support user profiles. Integrate payments and search features using 3rd party API.", cta: "Learn live" }, { title: 'Automate, Test & Deploy to Azure', - imglink: '../img/fallforia/learn-live-azure-developer.png', + imglink: '/img/fallforia/learn-live-azure-developer.png', link: "https://aka.ms/contoso-real-estate/learn-live/Ep4?WT.mc_id=javascript-99907-ninarasi", description: "Learn to design and run end-to-end tests with Playwright. Provision and deploy solution to Azure with AZD.", cta: "Learn live"