@@ -37,6 +37,11 @@ import qwenModelsIcon from "@/images/Qwen Image 2 Models.png";
3737import tool01 from "@/images/tool-01.webp" ;
3838import tool02 from "@/images/tool-02.webp" ;
3939import tool03 from "@/images/tool-03.webp" ;
40+ import tool04 from "@/images/tool-04.webp" ;
41+ import tool05 from "@/images/tool-05.webp" ;
42+ import tool06 from "@/images/tool-06.webp" ;
43+ import tool07 from "@/images/tool-07.webp" ;
44+ import tool08 from "@/images/tool-08.webp" ;
4045import {
4146 Select ,
4247 SelectContent ,
@@ -157,14 +162,14 @@ const infraFeatures = [
157162] ;
158163
159164const industries = [
160- { icon : Code2 , name : "SaaS Platforms" } ,
161- { icon : ShoppingCart , name : "E-commerce" } ,
162- { icon : Rocket , name : "AI Startups" } ,
163- { icon : Globe , name : "Agencies" } ,
164- { icon : TrendingUp , name : "Enterprises" } ,
165- { icon : Gamepad2 , name : "Gaming Studios" } ,
166- { icon : Cloud , name : "Cloud Providers" } ,
167- { icon : Palette , name : "Creative Tools" } ,
165+ { icon : Code2 , name : "SaaS Platforms" , bg : tool01 } ,
166+ { icon : ShoppingCart , name : "E-commerce" , bg : tool02 } ,
167+ { icon : Rocket , name : "AI Startups" , bg : tool03 } ,
168+ { icon : Globe , name : "Agencies" , bg : tool04 } ,
169+ { icon : TrendingUp , name : "Enterprises" , bg : tool05 } ,
170+ { icon : Gamepad2 , name : "Gaming Studios" , bg : tool06 } ,
171+ { icon : Cloud , name : "Cloud Providers" , bg : tool07 } ,
172+ { icon : Palette , name : "Creative Tools" , bg : tool08 } ,
168173] ;
169174
170175export default function ServerlessPage ( ) {
@@ -517,23 +522,26 @@ export default function ServerlessPage() {
517522 </ p >
518523 </ div >
519524
520- < div className = "grid grid-cols-2 lg:grid-cols-4" >
521- { industries . map ( ( industry , i ) => (
525+ < div className = "grid grid-cols-2 gap-3 lg:grid-cols-4" >
526+ { industries . map ( ( industry ) => (
522527 < div
523528 key = { industry . name }
524- className = "relative flex flex-col items-center gap-3 px-6 py-6 text-center "
529+ className = "group relative flex h-28 flex-col justify-between overflow-hidden rounded-xs p-5 md:h-36 "
525530 >
526- { i % 4 !== 3 && (
527- < span className = "absolute top-1/2 right-0 hidden h-8 w-px -translate-y-1/2 bg-current/10 lg:block" />
528- ) }
529- { i % 2 === 0 && (
530- < span className = "absolute top-1/2 right-0 block h-8 w-px -translate-y-1/2 bg-current/10 lg:hidden" />
531- ) }
531+ < div className = "pointer-events-none absolute inset-0" >
532+ < Image
533+ src = { industry . bg }
534+ alt = ""
535+ fill
536+ sizes = "(min-width: 1024px) 25vw, 50vw"
537+ className = "rotate-180 object-cover object-top transition-transform duration-500 group-hover:scale-105"
538+ />
539+ </ div >
532540 < industry . icon
533- className = "text-foreground size-5 shrink-0"
541+ className = "relative size-5 shrink-0 text-black/50 "
534542 strokeWidth = { 1.5 }
535543 />
536- < span className = "text-heading text-sm font-medium" >
544+ < span className = "font-display relative text-sm font-medium tracking-tight text-black md:text-base " >
537545 { industry . name }
538546 </ span >
539547 </ div >
0 commit comments