Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Benefits.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Benefits = () => {
<div
className="block relative p-0.5 bg-no-repeat bg-[length:100%_100%] md:max-w-[24rem]"
style={{
backgroundImage: `url(${item.backgroundUrl})`,
backgroundImage: `url("${item.backgroundUrl}")`,
}}
key={item.id}
>
Expand Down
18 changes: 12 additions & 6 deletions src/constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import {
benefitIcon3,
benefitIcon4,
benefitImage2,
benefitCard1,
benefitCard2,
benefitCard3,
benefitCard4,
benefitCard5,
benefitCard6,
chromecast,
disc02,
discord,
Expand Down Expand Up @@ -246,15 +252,15 @@ export const benefits = [
id: "0",
title: "Ask anything",
text: "Lets users quickly find answers to their questions without having to search through multiple sources.",
backgroundUrl: "./src/assets/benefits/card-1.svg",
backgroundUrl: benefitCard1,
iconUrl: benefitIcon1,
imageUrl: benefitImage2,
},
{
id: "1",
title: "Improve everyday",
text: "The app uses natural language processing to understand user queries and provide accurate and relevant responses.",
backgroundUrl: "./src/assets/benefits/card-2.svg",
backgroundUrl: benefitCard2,
iconUrl: benefitIcon2,
imageUrl: benefitImage2,
light: true,
Expand All @@ -263,15 +269,15 @@ export const benefits = [
id: "2",
title: "Connect everywhere",
text: "Connect with the AI chatbot from anywhere, on any device, making it more accessible and convenient.",
backgroundUrl: "./src/assets/benefits/card-3.svg",
backgroundUrl: benefitCard3,
iconUrl: benefitIcon3,
imageUrl: benefitImage2,
},
{
id: "3",
title: "Fast responding",
text: "Lets users quickly find answers to their questions without having to search through multiple sources.",
backgroundUrl: "./src/assets/benefits/card-4.svg",
backgroundUrl: benefitCard4,
iconUrl: benefitIcon4,
imageUrl: benefitImage2,
light: true,
Expand All @@ -280,15 +286,15 @@ export const benefits = [
id: "4",
title: "Ask anything",
text: "Lets users quickly find answers to their questions without having to search through multiple sources.",
backgroundUrl: "./src/assets/benefits/card-5.svg",
backgroundUrl: benefitCard5,
iconUrl: benefitIcon1,
imageUrl: benefitImage2,
},
{
id: "5",
title: "Improve everyday",
text: "The app uses natural language processing to understand user queries and provide accurate and relevant responses.",
backgroundUrl: "./src/assets/benefits/card-6.svg",
backgroundUrl: benefitCard6,
iconUrl: benefitIcon2,
imageUrl: benefitImage2,
},
Expand Down