@@ -6,37 +6,52 @@ import Img from "gatsby-image"
6
6
import Layout from "../templates/layout"
7
7
import Link from "../components/link"
8
8
import SEO from "../components/seo"
9
- import { Flex , H1 , H2 , H4 , P } from "bricks"
9
+ import Title from "../components/title"
10
+ import { Flex , H1 , H2 , H4 , P , Box } from "bricks"
10
11
11
12
const SolutionsContainer = ( { title, children } ) => (
12
- < React . Fragment >
13
- < H2 > { title } </ H2 >
13
+ < Box mb = '5' >
14
+ < Box
15
+ bg = '#ddd'
16
+ width = { [ 1 , 1 / 2 ] }
17
+ padding = { 1 }
18
+ borderRadius = { 4 }
19
+ mb = "1"
20
+ >
21
+ < Title mt = { 0 } borderWidth = { 0 } fontSize = { 3 } > { title } </ Title >
22
+ </ Box >
14
23
< Flex flexWrap = "wrap" justifyContent = { [ "center" , "flex-start" ] } >
15
24
{ children }
16
25
</ Flex >
17
- </ React . Fragment >
26
+ </ Box >
18
27
)
19
28
20
29
const Solution = ( { title, image, link } ) => (
21
30
< Link to = { link } >
22
- < Flex
23
- alignItems = "center"
24
- justifyContent = "center"
25
- flexDirection = "column"
26
- padding = { 2 }
31
+ < Box
32
+ bg = '#fff'
27
33
margin = { 1 }
28
- height = { 250 }
29
- width = { 250 }
34
+ borderRadius = { 4 }
30
35
border = "1px solid #ddd"
31
36
>
32
- < Img
33
- fixed = { image }
34
- objectFit = "contain"
35
- objectPosition = "50% 50%"
36
- alt = { title }
37
- />
38
- < H4 textAlign = "center" > { title } </ H4 >
39
- </ Flex >
37
+ < Flex
38
+ alignItems = "center"
39
+ justifyContent = "center"
40
+ flexDirection = "column"
41
+ padding = { 2 }
42
+ height = { 250 }
43
+ width = { 250 }
44
+ borderRadius = { 3 }
45
+ >
46
+ < Img
47
+ fixed = { image }
48
+ objectFit = "contain"
49
+ objectPosition = "50% 50%"
50
+ alt = { title }
51
+ />
52
+ < H4 textAlign = "center" > { title } </ H4 >
53
+ </ Flex >
54
+ </ Box >
40
55
</ Link >
41
56
)
42
57
@@ -72,8 +87,10 @@ const SolutionPage = ({ data }) => (
72
87
image = { data . reactLogo . publicURL }
73
88
url = "https://codebrahma.com/solutions"
74
89
/>
75
- < H1 > Our Solutions</ H1 >
76
- < P > We have great expertise in building web and mobile apps.</ P >
90
+ < Box mb = '4' >
91
+ < H1 > Our Solutions</ H1 >
92
+ < P > We have great expertise in building web and mobile apps.</ P >
93
+ </ Box >
77
94
78
95
< SolutionsContainer title = "Web" >
79
96
< Solution
@@ -86,16 +103,6 @@ const SolutionPage = ({ data }) => (
86
103
image = { data . nodejsLogo . childImageSharp . fixed }
87
104
link = "/node-js-development-company"
88
105
/>
89
- < Solution
90
- title = "Rails"
91
- image = { data . railsLogo . childImageSharp . fixed }
92
- link = "/ruby-on-rails-developers-consulting-bangalore"
93
- />
94
- < Solution
95
- title = "Angular"
96
- image = { data . angularLogo . childImageSharp . fixed }
97
- link = "/angularjs-development-company"
98
- />
99
106
< Solution
100
107
title = "Serverless"
101
108
image = { data . serverlessLogo . childImageSharp . fixed }
@@ -115,14 +122,6 @@ const SolutionPage = ({ data }) => (
115
122
link = "/serviceprogressive-web-applications"
116
123
/>
117
124
</ SolutionsContainer >
118
-
119
- < SolutionsContainer title = "Others" >
120
- < Solution
121
- title = "Financial Software Development"
122
- image = { data . financeLogo . childImageSharp . fixed }
123
- link = "/financial-software-development-company"
124
- />
125
- </ SolutionsContainer >
126
125
</ Layout >
127
126
)
128
127
0 commit comments