Skip to content

Commit 1b49a1d

Browse files
committed
Revert changes
Signed-off-by: Raj Gupta <[email protected]>
1 parent 3ff3ffb commit 1b49a1d

File tree

1 file changed

+15
-23
lines changed

1 file changed

+15
-23
lines changed

src/components/QuickStartFilter.js

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ const IconWrapper = ({icon, bg}) => (
2121
justifyContent: "center",
2222
borderRadius: "50%",
2323
backgroundColor: bg || "#f3f4f6",
24-
boxShadow: "0 4px 12px rgba(0,0,0,0.08)",
24+
boxShadow: "0 3px 6px rgba(0,0,0,0.1)",
2525
transition: "transform 0.2s ease",
26-
marginTop: "1rem",
2726
}}
2827
className="icon-wrapper"
2928
>
@@ -46,45 +45,45 @@ export default function QuickstartFilter({defaultLanguage = null}) {
4645
const languages = [
4746
{
4847
name: "Go",
49-
icon: <FaGolang size={40} color="#00ADD8" />,
48+
icon: <FaGolang size={36} color="#00ADD8" />,
5049
bg: "#E0F7FA",
5150
},
5251
{
5352
name: "Python",
54-
icon: <FaPython size={40} color="#3776AB" />,
53+
icon: <FaPython size={36} color="#3776AB" />,
5554
bg: "#E8F0FE",
5655
},
5756
{
5857
name: "Java",
59-
icon: <FaJava size={40} color="#007396" />,
58+
icon: <FaJava size={36} color="#007396" />,
6059
bg: "#FDEDED",
6160
},
6261
{
6362
name: "JS/TS",
64-
icon: <IoLogoJavascript size={40} color="#F7DF1E" />,
63+
icon: <IoLogoJavascript size={36} color="#F7DF1E" />,
6564
bg: "#FFF8E1",
6665
},
6766
{
6867
name: "Rust",
69-
icon: <FaRust size={40} color="#DEA584" />,
68+
icon: <FaRust size={36} color="#DEA584" />,
7069
bg: "#FFF3E0",
7170
},
7271
{
7372
name: "C#",
74-
icon: <TbBrandCSharp size={40} color="#512BD4" />,
73+
icon: <TbBrandCSharp size={36} color="#512BD4" />,
7574
bg: "#EDE7F6",
7675
},
7776
];
7877

7978
const servers = [
8079
{
8180
name: "Local",
82-
icon: <FaLaptopCode size={40} color="#f97316" />,
81+
icon: <FaLaptopCode size={36} color="#f97316" />,
8382
bg: "#FFF3E0",
8483
},
8584
{
8685
name: "Docker",
87-
icon: <FaDocker size={40} color="#2496ED" />,
86+
icon: <FaDocker size={36} color="#2496ED" />,
8887
bg: "#E3F2FD",
8988
},
9089
];
@@ -173,7 +172,7 @@ export default function QuickstartFilter({defaultLanguage = null}) {
173172
// Styles
174173
const headingStyle = {
175174
textAlign: "left",
176-
marginLeft: "2rem",
175+
marginLeft: "1rem",
177176
fontSize: "1.4rem",
178177
fontWeight: "600",
179178
};
@@ -184,22 +183,22 @@ const serverContainer = {
184183
gap: "1.5rem",
185184
justifyContent: "flex-start",
186185
marginTop: "1.5rem",
187-
marginLeft: "2rem",
186+
marginLeft: "1rem",
188187
};
189188

190189
const stepContainer = {
191190
display: "flex",
192191
flexWrap: "wrap",
193192
gap: "1.5rem",
194-
marginLeft: "2rem",
193+
marginLeft: "1rem",
195194
justifyContent: "flex-start",
196195
marginTop: "1.5rem",
197196
};
198197

199198
const buttonCard = {
200199
border: "2px solid #ddd",
201200
borderRadius: "12px",
202-
padding: ".5rem 2rem",
201+
padding: "1rem 2rem",
203202
cursor: "pointer",
204203
background: "#fff",
205204
transition: "all 0.2s ease",
@@ -211,27 +210,20 @@ const gridContainer = {
211210
gap: "1.5rem",
212211
gridTemplateColumns: "repeat(auto-fit, minmax(250px, 1fr))",
213212
marginTop: "2rem",
214-
paddingLeft: "2rem",
215-
paddingRight: "2rem",
216213
};
217214

218215
const cardStyle = {
219216
border: "1px solid #eee",
220217
borderRadius: "12px",
221-
padding: "1.5rem",
218+
padding: "1rem",
222219
background: "#fff",
223220
boxShadow: "0 2px 6px rgba(0, 0, 0, 0.08)",
224-
display: "flex",
225-
flexDirection: "column",
226-
height: "100%",
227-
minHeight: "200px"
228221
};
229222

230223
const linkStyle = {
231-
marginTop: "auto",
224+
marginTop: "0.8rem",
232225
display: "inline-block",
233226
color: "#f97316",
234227
fontWeight: "bold",
235228
textDecoration: "none",
236-
paddingTop: ".8rem",
237229
};

0 commit comments

Comments
 (0)