Skip to content

Commit

Permalink
sort upcoming events display order
Browse files Browse the repository at this point in the history
Signed-off-by: Anurag Pathak <[email protected]>
  • Loading branch information
AnuragThePathak committed Jun 15, 2023
1 parent a498e98 commit db890db
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions src/content/Webinars/index.content.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const WebinarPageContent = {
export default WebinarPageContent;

export const webinar = [
// Past
{
img: BPFWebinar.poster,
title: BPFWebinar.name,
Expand All @@ -62,6 +63,15 @@ export const webinar = [
slug: GopherWebinar.slug,
details: GopherWebinar,
},
// Upcoming
{
img: SimplifiedDeploymentWebinar.poster,
title: SimplifiedDeploymentWebinar.name,
description: SimplifiedDeploymentWebinar.description,
time: SimplifiedDeploymentWebinar.time,
slug: SimplifiedDeploymentWebinar.slug,
details: SimplifiedDeploymentWebinar,
},
{
img: AccessControlWebinar.poster,
title: AccessControlWebinar.name,
Expand All @@ -71,20 +81,12 @@ export const webinar = [
details: AccessControlWebinar,
},
{
img: CostOptimizationWebinar.poster,
title: CostOptimizationWebinar.name,
description: CostOptimizationWebinar.description,
time: CostOptimizationWebinar.time,
slug: CostOptimizationWebinar.slug,
details: CostOptimizationWebinar,
},
{
img: SimplifiedDeploymentWebinar.poster,
title: SimplifiedDeploymentWebinar.name,
description: SimplifiedDeploymentWebinar.description,
time: SimplifiedDeploymentWebinar.time,
slug: SimplifiedDeploymentWebinar.slug,
details: SimplifiedDeploymentWebinar,
img: ZeroDowmtime.poster,
title: ZeroDowmtime.name,
description: ZeroDowmtime.description,
time: ZeroDowmtime.time,
slug: ZeroDowmtime.slug,
details: ZeroDowmtime,
},
{
img: ChatOpsWebinar.poster,
Expand All @@ -95,11 +97,11 @@ export const webinar = [
details: ChatOpsWebinar,
},
{
img: ZeroDowmtime.poster,
title: ZeroDowmtime.name,
description: ZeroDowmtime.description,
time: ZeroDowmtime.time,
slug: ZeroDowmtime.slug,
details: ZeroDowmtime,
img: CostOptimizationWebinar.poster,
title: CostOptimizationWebinar.name,
description: CostOptimizationWebinar.description,
time: CostOptimizationWebinar.time,
slug: CostOptimizationWebinar.slug,
details: CostOptimizationWebinar,
},
];

0 comments on commit db890db

Please sign in to comment.