Skip to content

Commit 95972f9

Browse files
committed
feat: enhance LogoCarousel to include 'coming soon' labels for specific logos
1 parent 59e015a commit 95972f9

1 file changed

Lines changed: 27 additions & 7 deletions

File tree

src/features/home/pages/home-page.tsx

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,26 @@ const owners = [
142142

143143
function LogoCarousel() {
144144
const logos = [
145-
'https://store-images.s-microsoft.com/image/apps.22898.1ee6619e-8cd6-4c91-a459-3abe6a6cf7b3.84da202a-9b47-4a76-be2c-79f143c64050.21add500-ed5b-42ee-b87d-ee415ae071fc',
146-
'https://play-lh.googleusercontent.com/d2zqBFBEymSZKaVg_dRo1gh3hBFn7_Kl9rO74xkDmnJeLgDW0MoJD3cUx0QzZN6jdsg=w240-h480-rw',
147-
'https://t2.tudocdn.net/716766?w=824&h=494',
148-
'https://static.vecteezy.com/system/resources/previews/019/136/322/non_2x/amazon-logo-amazon-icon-free-free-vector.jpg',
149-
'https://azure.microsoft.com/en-us/blog/wp-content/uploads/2024/02/MSFT_Azure_FEB12_319938_Blog_BlogHeader_240226_600x600_V1.jpg'
145+
{
146+
url: 'https://store-images.s-microsoft.com/image/apps.22898.1ee6619e-8cd6-4c91-a459-3abe6a6cf7b3.84da202a-9b47-4a76-be2c-79f143c64050.21add500-ed5b-42ee-b87d-ee415ae071fc',
147+
comingSoon: true
148+
}, // Meta
149+
{
150+
url: 'https://play-lh.googleusercontent.com/d2zqBFBEymSZKaVg_dRo1gh3hBFn7_Kl9rO74xkDmnJeLgDW0MoJD3cUx0QzZN6jdsg=w240-h480-rw',
151+
comingSoon: true
152+
}, // Deep Seek
153+
{
154+
url: 'https://static.vecteezy.com/system/resources/previews/019/136/322/non_2x/amazon-logo-amazon-icon-free-free-vector.jpg',
155+
comingSoon: false
156+
}, // Amazon
157+
{
158+
url: 'https://t2.tudocdn.net/716766?w=824&h=494',
159+
comingSoon: true
160+
}, // Claude Sonnet
161+
{
162+
url: 'https://azure.microsoft.com/en-us/blog/wp-content/uploads/2024/02/MSFT_Azure_FEB12_319938_Blog_BlogHeader_240226_600x600_V1.jpg',
163+
comingSoon: false
164+
} // Mistral
150165
]
151166
const allLogos = [...logos, ...logos, ...logos, ...logos]
152167
return (
@@ -171,13 +186,18 @@ function LogoCarousel() {
171186
}}
172187
>
173188
{allLogos.map((logo, idx) => (
174-
<div key={idx} className="h-26 w-26 flex-shrink-0">
189+
<div key={idx} className="relative h-26 w-26 flex-shrink-0">
175190
<img
176-
src={logo}
191+
src={logo.url}
177192
alt="Logo de modelo Bedrock"
178193
draggable={false}
179194
className="h-26 w-26 rounded-md bg-white object-cover shadow-lg select-none"
180195
/>
196+
{logo.comingSoon && (
197+
<span className="bg-primary/90 absolute right-1 bottom-1 rounded-xl px-2 py-1 text-[8px] font-medium text-white">
198+
Em breve
199+
</span>
200+
)}
181201
</div>
182202
))}
183203
</motion.div>

0 commit comments

Comments
 (0)