Skip to content

Commit 95795c0

Browse files
committed
feat: improve responsive layout in section1; closes #51
1 parent 3af1d01 commit 95795c0

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

src/components/HomePageComponents/Section1.tsx

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,26 @@ const Section1: React.FC<Section1Props> = ({ scrollToNext }) => {
5959
gap: 2,
6060
}}
6161
>
62-
<img
62+
<Box
63+
component="img"
6364
src={`${process.env.PUBLIC_URL}/img/3d_graph_logo.png`}
6465
alt="3d_graph"
65-
width="30%"
6666
height="auto"
67-
></img>
67+
sx={{
68+
height: "auto",
69+
width: {
70+
xs: 0,
71+
sm: 0,
72+
md: "30%",
73+
},
74+
}}
75+
></Box>
6876
<Typography
6977
variant="h4"
70-
sx={{ color: Colors.lightGray, fontWeight: "bold" }}
78+
sx={{
79+
color: Colors.lightGray,
80+
fontWeight: "bold",
81+
}}
7182
>
7283
Efficiently manage and explore your databases and datasets with
7384
ease.

0 commit comments

Comments
 (0)