Bob AI: add a new feature about 'Real-time Multiplayer' wi...
This commit is contained in:
@@ -98,6 +98,15 @@ const FeatureCardTwentyFive = ({
|
|||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const shouldUseLightText = shouldUseInvertedText(useInvertedBackground, theme.cardStyle);
|
const shouldUseLightText = shouldUseInvertedText(useInvertedBackground, theme.cardStyle);
|
||||||
|
|
||||||
|
const newFeature: FeatureCard = {
|
||||||
|
title: "Real-time Multiplayer",
|
||||||
|
description: "Engage in real-time multiplayer battles with friends and foes alike.",
|
||||||
|
icon: Sword,
|
||||||
|
mediaItems: [{}, {}],
|
||||||
|
};
|
||||||
|
|
||||||
|
const updatedFeatures = [...features, newFeature];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<CardStack
|
<CardStack
|
||||||
mode={carouselMode}
|
mode={carouselMode}
|
||||||
@@ -130,7 +139,7 @@ const FeatureCardTwentyFive = ({
|
|||||||
buttonTextClassName={textBoxButtonTextClassName}
|
buttonTextClassName={textBoxButtonTextClassName}
|
||||||
ariaLabel={ariaLabel}
|
ariaLabel={ariaLabel}
|
||||||
>
|
>
|
||||||
{features.slice(0, 2).map((feature, index) => {
|
{updatedFeatures.slice(0, 2).map((feature, index) => {
|
||||||
const IconComponent = feature.icon;
|
const IconComponent = feature.icon;
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user