Skip to content

Commit 239216e

Browse files
committed
fix(home): fix home_page component
1 parent 53ce26b commit 239216e

1 file changed

Lines changed: 17 additions & 28 deletions

File tree

  • alphaspheredotai_github_io/pages

alphaspheredotai_github_io/pages/home.py

Lines changed: 17 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,26 @@
55

66
def home_page() -> rx.Component:
77
"""Home page component."""
8-
return rx.box(
9-
rx.container(
10-
navbar_icons(),
11-
rx.center(
12-
rx.hstack(
13-
rx.center(
14-
(
15-
rx.image(
16-
src="https://raw.githubusercontent.com/AlphaSphereDotAI/.github/main/Logos/400x400.jpg",
17-
alt="AlphaSphere.AI Logo",
18-
border_radius="50px",
19-
height="100px",
20-
width="100px",
21-
),
22-
rx.heading(
23-
"AlphaSphere.AI",
24-
size="9",
25-
weight="bold",
26-
),
27-
),
28-
spacing="5",
29-
justify="center",
30-
),
31-
spacing="5",
32-
justify="center",
8+
return rx.container(
9+
navbar_icons(),
10+
rx.center(
11+
(
12+
rx.image(
13+
src="https://raw.githubusercontent.com/AlphaSphereDotAI/.github/main/Logos/400x400.jpg",
14+
alt="AlphaSphere.AI Logo",
15+
border_radius="50%",
16+
height="25%",
17+
width="25%",
3318
),
34-
spacing="5",
35-
justify="center",
36-
min_height="85vh",
19+
rx.heading("AlphaSphere.AI", size="9", weight="bold"),
3720
),
21+
spacing="5",
22+
justify="center",
23+
align="center",
24+
direction="column",
25+
min_height="85vh",
3826
),
27+
min_height="85vh",
3928
background="linear-gradient(#543af5,#1d173d)",
4029
radius="full",
4130
width="100%",

0 commit comments

Comments
 (0)