@@ -71,7 +71,12 @@ const Software = () => {
7171 childImageSharp {
7272 gatsbyImageData(layout: CONSTRAINED, height: 160)
7373 }
74- }
74+ },
75+ compressr: file(relativePath: { eq: "Compressr/compressr.png" }) {
76+ childImageSharp {
77+ gatsbyImageData(layout: CONSTRAINED, height: 160)
78+ }
79+ }
7580 }` ) ;
7681
7782 const applications = [ {
@@ -134,7 +139,14 @@ const Software = () => {
134139 description : 'Opal is a free and open source music player that will help you relax. It runs on Windows and Linux.' ,
135140 tags : [ 'Opal' , 'music' , 'relax' , 'sound' , 'relaxation' , 'relaxing' , 'linux' ] ,
136141 image : imageData . opal . childImageSharp . gatsbyImageData ,
137- } ] ;
142+ } ,
143+ {
144+ name : 'Compressr' ,
145+ url : 'https://compressr.codedead.com/' ,
146+ description : 'Compressr is a free and open source bulk image compressor / compression tool that you can use in the browser ' ,
147+ tags : [ 'image' , 'compression' , 'compress' , 'bulk' , 'art' , 'pixel' , 'lossless' , 'lossy' ] ,
148+ image : imageData . compressr . childImageSharp . gatsbyImageData ,
149+ } ] ;
138150
139151 useEffect ( ( ) => {
140152 dispatch ( setPageIndex ( 1 ) ) ;
@@ -144,7 +156,8 @@ const Software = () => {
144156 if ( searchValue && searchValue . length > 0 ) {
145157 searchResult = applications . filter ( ( application ) => {
146158 for ( let i = 0 ; i < application . tags . length ; i += 1 ) {
147- if ( application . tags [ i ] . toLowerCase ( ) . indexOf ( searchValue . toLowerCase ( ) ) !== - 1 ) {
159+ if ( application . tags [ i ] . toLowerCase ( )
160+ . indexOf ( searchValue . toLowerCase ( ) ) !== - 1 ) {
148161 return true ;
149162 }
150163 }
@@ -164,7 +177,7 @@ const Software = () => {
164177
165178 return (
166179 < Layout >
167- < PageHeader title = "Software" subTitle = "Our work" />
180+ < PageHeader title = "Software" subTitle = "Our work" />
168181 < Container maxWidth = "xl" style = { { marginTop : 10 } } >
169182 < Grid container spacing = { 2 } >
170183 < Grid item xs = { 12 } md = { 12 } lg = { 12 } >
@@ -188,12 +201,12 @@ const Software = () => {
188201 < >
189202 < Grid item xs = { 12 } md = { 12 } lg = { 12 } >
190203 < Typography variant = "h5" color = "textPrimary" >
191- < SecurityIcon color = "inherit" />
204+ < SecurityIcon color = "inherit" />
192205 { ' Security' }
193206 </ Typography >
194207 </ Grid >
195208 < Grid item xs = { 12 } md = { 12 } lg = { 12 } >
196- < Divider />
209+ < Divider />
197210 </ Grid >
198211 </ >
199212 ) }
@@ -256,12 +269,12 @@ const Software = () => {
256269 < Grid container spacing = { 2 } style = { { marginTop : 20 } } >
257270 < Grid item xs = { 12 } md = { 12 } lg = { 12 } >
258271 < Typography variant = "h5" color = "textPrimary" >
259- < ComputerIcon color = "inherit" />
272+ < ComputerIcon color = "inherit" />
260273 { ' System' }
261274 </ Typography >
262275 </ Grid >
263276 < Grid item xs = { 12 } md = { 12 } lg = { 12 } >
264- < Divider />
277+ < Divider />
265278 </ Grid >
266279 </ Grid >
267280 ) }
@@ -306,12 +319,12 @@ const Software = () => {
306319 < Grid container spacing = { 2 } style = { { marginTop : 20 } } >
307320 < Grid item xs = { 12 } md = { 12 } lg = { 12 } >
308321 < Typography variant = "h5" color = "textPrimary" >
309- < AppsIcon color = "inherit" />
322+ < AppsIcon color = "inherit" />
310323 { ' Utilities' }
311324 </ Typography >
312325 </ Grid >
313326 < Grid item xs = { 12 } md = { 12 } lg = { 12 } >
314- < Divider />
327+ < Divider />
315328 </ Grid >
316329 </ Grid >
317330
@@ -348,6 +361,15 @@ const Software = () => {
348361 image = { applications . filter ( ( item ) => item . name === 'EGLD Price Calculator' ) [ 0 ] . image }
349362 />
350363 </ Grid >
364+ < Grid item xs = { 12 } md = { 3 } lg = { 4 } >
365+ < Application
366+ name = { applications . filter ( ( item ) => item . name === 'Compressr' ) [ 0 ] . name }
367+ description = { applications . filter ( ( item ) => item . name === 'Compressr' ) [ 0 ] . description }
368+ url = { applications . filter ( ( item ) => item . name === 'Compressr' ) [ 0 ] . url }
369+ image = { applications . filter ( ( item ) => item . name === 'Compressr' ) [ 0 ] . image }
370+ newTab = { true }
371+ />
372+ </ Grid >
351373 </ Grid >
352374 </ >
353375 ) }
0 commit comments