Skip to content

Commit e8c0a86

Browse files
committed
Update QuickStartFilter
Signed-off-by: Raj Gupta <[email protected]>
1 parent 7ec1b52 commit e8c0a86

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

src/components/QuickStartFilter.js

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ const IconWrapper = ({icon, bg}) => (
2121
justifyContent: "center",
2222
borderRadius: "50%",
2323
backgroundColor: bg || "#f3f4f6",
24-
boxShadow: "0 3px 6px rgba(0,0,0,0.1)",
24+
boxShadow: "0 4px 12px rgba(0,0,0,0.08)",
2525
transition: "transform 0.2s ease",
26+
marginTop: "1rem",
2627
}}
2728
className="icon-wrapper"
2829
>
@@ -45,45 +46,45 @@ export default function QuickstartFilter({defaultLanguage = null}) {
4546
const languages = [
4647
{
4748
name: "Go",
48-
icon: <FaGolang size={36} color="#00ADD8" />,
49+
icon: <FaGolang size={40} color="#00ADD8" />,
4950
bg: "#E0F7FA",
5051
},
5152
{
5253
name: "Python",
53-
icon: <FaPython size={36} color="#3776AB" />,
54+
icon: <FaPython size={40} color="#3776AB" />,
5455
bg: "#E8F0FE",
5556
},
5657
{
5758
name: "Java",
58-
icon: <FaJava size={36} color="#007396" />,
59+
icon: <FaJava size={40} color="#007396" />,
5960
bg: "#FDEDED",
6061
},
6162
{
6263
name: "JS/TS",
63-
icon: <IoLogoJavascript size={36} color="#F7DF1E" />,
64+
icon: <IoLogoJavascript size={40} color="#F7DF1E" />,
6465
bg: "#FFF8E1",
6566
},
6667
{
6768
name: "Rust",
68-
icon: <FaRust size={36} color="#DEA584" />,
69+
icon: <FaRust size={40} color="#DEA584" />,
6970
bg: "#FFF3E0",
7071
},
7172
{
7273
name: "C#",
73-
icon: <TbBrandCSharp size={36} color="#512BD4" />,
74+
icon: <TbBrandCSharp size={40} color="#512BD4" />,
7475
bg: "#EDE7F6",
7576
},
7677
];
7778

7879
const servers = [
7980
{
8081
name: "Local",
81-
icon: <FaLaptopCode size={36} color="#f97316" />,
82+
icon: <FaLaptopCode size={40} color="#f97316" />,
8283
bg: "#FFF3E0",
8384
},
8485
{
8586
name: "Docker",
86-
icon: <FaDocker size={36} color="#2496ED" />,
87+
icon: <FaDocker size={40} color="#2496ED" />,
8788
bg: "#E3F2FD",
8889
},
8990
];
@@ -172,7 +173,7 @@ export default function QuickstartFilter({defaultLanguage = null}) {
172173
// Styles
173174
const headingStyle = {
174175
textAlign: "left",
175-
marginLeft: "1rem",
176+
marginLeft: "2rem",
176177
fontSize: "1.4rem",
177178
fontWeight: "600",
178179
};
@@ -183,22 +184,22 @@ const serverContainer = {
183184
gap: "1.5rem",
184185
justifyContent: "flex-start",
185186
marginTop: "1.5rem",
186-
marginLeft: "1rem",
187+
marginLeft: "2rem",
187188
};
188189

189190
const stepContainer = {
190191
display: "flex",
191192
flexWrap: "wrap",
192193
gap: "1.5rem",
193-
marginLeft: "1rem",
194+
marginLeft: "2rem",
194195
justifyContent: "flex-start",
195196
marginTop: "1.5rem",
196197
};
197198

198199
const buttonCard = {
199200
border: "2px solid #ddd",
200201
borderRadius: "12px",
201-
padding: "1rem 2rem",
202+
padding: ".5rem 2rem",
202203
cursor: "pointer",
203204
background: "#fff",
204205
transition: "all 0.2s ease",
@@ -210,12 +211,14 @@ const gridContainer = {
210211
gap: "1.5rem",
211212
gridTemplateColumns: "repeat(auto-fit, minmax(250px, 1fr))",
212213
marginTop: "2rem",
214+
paddingLeft: "2rem",
215+
paddingRight: "2rem",
213216
};
214217

215218
const cardStyle = {
216219
border: "1px solid #eee",
217220
borderRadius: "12px",
218-
padding: "1rem",
221+
padding: "1.5rem",
219222
background: "#fff",
220223
boxShadow: "0 2px 6px rgba(0, 0, 0, 0.08)",
221224
};

0 commit comments

Comments
 (0)