File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ const Clients = () => {
99 setClients ( getClients ( ) ) ;
1010 } , [ ] ) ;
1111
12+ const handleClientImageClick = ( url ) => {
13+ window . open ( url , "_blank" ) ;
14+ } ;
15+
1216 return (
1317 < div className = "pt-20" >
1418 < h2 className = "text-4xl xl:text-7xl pt-10 drop-shadow-xl text-center py-20" >
@@ -18,12 +22,14 @@ const Clients = () => {
1822 < div className = "flex items-center justify-center pb-40" >
1923 { clients . map ( ( client ) => (
2024 < Image
25+ onClick = { ( ) => handleClientImageClick ( client . url ) }
2126 key = { client . id }
2227 alt = { client . alt }
2328 src = { client . src }
2429 width = { client . width }
2530 height = { client . height }
2631 className = { client . className }
32+ style = { { cursor : "pointer" } }
2733 />
2834 ) ) }
2935 </ div >
Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ const data = {
141141 width : 500 ,
142142 height : 500 ,
143143 className : "h-full w-1/3 lg:w-1/4 " ,
144+ hasWebsite : true ,
145+ url : "https://hawaiizoningatlas.com/" ,
144146 } ,
145147 {
146148 id : 2 ,
@@ -149,6 +151,8 @@ const data = {
149151 width : 500 ,
150152 height : 500 ,
151153 className : "h-full w-1/3 lg:w-1/4 " ,
154+ hasWebsite : true ,
155+ url : "https://www.civilbeatlawcenter.org/" ,
152156 } ,
153157 ] ,
154158 focus : [
You can’t perform that action at this time.
0 commit comments