Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Apr 16, 2024
1 parent 45fcb2d commit 4aaee44
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions crates/rue-web/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ pub fn App() -> impl IntoView {
let theme = create_rw_signal(Theme::dark());

view! {
<ThemeProvider theme>
<GlobalStyle/>
<Router>
<Router>
<ThemeProvider theme>
<GlobalStyle/>
<Layout>
<Header/>
<Layout style="padding: 24px;">
<AppRoutes/>
</Layout>
</Layout>
</Router>
</ThemeProvider>
</ThemeProvider>
</Router>
}
}

Expand Down Expand Up @@ -71,9 +71,11 @@ fn Home() -> impl IntoView {
"A language crafted from the ground up to make developing "
"smart coin logic on the Chia blockchain easy for everyone."
</p>
<Button class="text-lg mt-5" size=ButtonSize::Large>
"Get Started"
</Button>
<a href="/docs">
<Button class="text-lg mt-5" size=ButtonSize::Large>
"Get Started"
</Button>
</a>
</div>
}
}
Expand Down

0 comments on commit 4aaee44

Please sign in to comment.