Skip to content

Commit 0b3b1ce

Browse files
committed
improvements
1 parent 3ae8a1d commit 0b3b1ce

File tree

3 files changed

+47
-13
lines changed

3 files changed

+47
-13
lines changed

public/icons/Nest.svg

Lines changed: 1 addition & 0 deletions
Loading

public/icons/Next.svg

Lines changed: 1 addition & 0 deletions
Loading

src/components/ComparisonSection.js

Lines changed: 45 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,17 @@ const ComparisonSection = () => {
106106
margin: '0 auto 1rem',
107107
}}
108108
>
109-
<Typography variant="h4" sx={{ color: '#07E770', fontWeight: 700 }}>
110-
NB
111-
</Typography>
109+
<Box
110+
component="img"
111+
src="/nodeboot-logo.png"
112+
alt="Express.js"
113+
sx={{
114+
width: { xs: 48, sm: 50 },
115+
height: { xs: 48, sm: 50 },
116+
objectFit: 'contain',
117+
filter: 'drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1))'
118+
}}
119+
/>
112120
</Box>
113121
<Typography variant="h6" sx={{ fontWeight: 600, color: '#003720', mb: 1 }}>
114122
Node-Boot
@@ -136,9 +144,17 @@ const ComparisonSection = () => {
136144
margin: '0 auto 1rem',
137145
}}
138146
>
139-
<Typography variant="h4" sx={{ color: '#637381', fontWeight: 700 }}>
140-
E
141-
</Typography>
147+
<Box
148+
component="img"
149+
src="/icons/Express.svg"
150+
alt="Express.js"
151+
sx={{
152+
width: { xs: 48, sm: 50 },
153+
height: { xs: 48, sm: 50 },
154+
objectFit: 'contain',
155+
filter: 'drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1))'
156+
}}
157+
/>
142158
</Box>
143159
<Typography variant="h6" sx={{ fontWeight: 600, color: '#003720', mb: 1 }}>
144160
Express.js
@@ -166,9 +182,17 @@ const ComparisonSection = () => {
166182
margin: '0 auto 1rem',
167183
}}
168184
>
169-
<Typography variant="h4" sx={{ color: '#637381', fontWeight: 700 }}>
170-
N
171-
</Typography>
185+
<Box
186+
component="img"
187+
src="/icons/Nest.svg"
188+
alt="NestJs"
189+
sx={{
190+
width: { xs: 48, sm: 50 },
191+
height: { xs: 48, sm: 50 },
192+
objectFit: 'contain',
193+
filter: 'drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1))'
194+
}}
195+
/>
172196
</Box>
173197
<Typography variant="h6" sx={{ fontWeight: 600, color: '#003720', mb: 1 }}>
174198
NestJS
@@ -196,9 +220,17 @@ const ComparisonSection = () => {
196220
margin: '0 auto 1rem',
197221
}}
198222
>
199-
<Typography variant="h4" sx={{ color: '#637381', fontWeight: 700 }}>
200-
201-
</Typography>
223+
<Box
224+
component="img"
225+
src="/icons/Next.svg"
226+
alt="NextJs"
227+
sx={{
228+
width: { xs: 48, sm: 50 },
229+
height: { xs: 48, sm: 50 },
230+
objectFit: 'contain',
231+
filter: 'drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1))'
232+
}}
233+
/>
202234
</Box>
203235
<Typography variant="h6" sx={{ fontWeight: 600, color: '#003720', mb: 1 }}>
204236
Next.js
@@ -265,4 +297,4 @@ const ComparisonSection = () => {
265297
);
266298
};
267299

268-
export default ComparisonSection;
300+
export default ComparisonSection;

0 commit comments

Comments
 (0)