Skip to content

Commit

Permalink
Updated base URL for images
Browse files Browse the repository at this point in the history
  • Loading branch information
josephatcatalysis committed Sep 13, 2023
1 parent 6047a8c commit 2041e3a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
15 changes: 8 additions & 7 deletions website/src/pages/Fall-For-IA/HackTogether.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}) {
Expand Down Expand Up @@ -46,7 +47,7 @@ function ContentItem({title, description, topic, topiclink, link, imglink, cta})
<div className={clsx('col col--4 card-col', styles.contentItem)}>
<div className="card">
<div className="card__image">
<Image alt={"Thumbnail Image for"+title} img={imglink}/>
<Image alt={"Thumbnail Image for"+title} img={useBaseUrl(imglink)}/>
</div>
<div className="card-body">
<div className="text--center padding-horiz--md">
Expand All @@ -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"
Expand Down
11 changes: 6 additions & 5 deletions website/src/pages/Fall-For-IA/LearnLive.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}) {
Expand Down Expand Up @@ -46,7 +47,7 @@ function ContentItem({title, description, link, imglink, cta}){
<div className={clsx('col col--6 card-col', styles.contentItem)}>
<div className="card">
<div className="card__image">
<Image alt={"Thumbnail Image for"+title} img={imglink}/>
<Image alt={"Thumbnail Image for"+title} img={useBaseUrl(imglink)}/>
</div>
<div className="card-body">
<div className="text--center padding-horiz--md">
Expand All @@ -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"
Expand Down

0 comments on commit 2041e3a

Please sign in to comment.