Skip to content

Commit

Permalink
Merge branch 'main' into v0.6
Browse files Browse the repository at this point in the history
# Conflicts:
#	examples/book-ssr/src/pages/documentation/getting_started/installation.rs
  • Loading branch information
lpotthast committed Mar 12, 2024
2 parents ae27a5b + 766af7c commit 24c7fec
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn PageInstallation() -> impl IntoView {
</H1>

<P>
"The easies way to get started is by cloning either "
"The easiest way to get started is by cloning either "
<LinkExt href="https://github.com/lpotthast/leptonic-template-ssr" target=LinkExtTarget::Blank>"template-ssr"</LinkExt> " or "
<LinkExt href="https://github.com/lpotthast/leptonic-template-csr" target=LinkExtTarget::Blank>"template-csr"</LinkExt> "."
</P>
Expand All @@ -28,11 +28,11 @@ pub fn PageInstallation() -> impl IntoView {
</Code>

<Ul>
<Li slot>"Prefer server-side-rendering and hydration (SSR) when you wan't the best performing and feature rich (server functions) solution."</Li>
<Li slot>"Use client-side-rendering (CSR) when big bundle-sizes and slow initial load times are not an issue for you or when you wan't a solution with less complexity involved."</Li>
<Li slot>"Prefer server-side-rendering and hydration (SSR) when you want the best performing and feature rich (server functions) solution."</Li>
<Li slot>"Use client-side-rendering (CSR) when big bundle-sizes and slow initial load times are not an issue for you or when you want a solution with less complexity involved."</Li>
</Ul>

<P>"The way you will use Leptonic will stay the same either way."</P>
<P>"The way you use Leptonic will stay the same either way."</P>

<H2 id="custom-setup" class="anchor">
"Custom setup"
Expand Down Expand Up @@ -82,7 +82,7 @@ pub fn PageInstallation() -> impl IntoView {
[data-theme="light"] {
--brand-color: #8856e6;
}
[data-theme="dark"] {
--brand-color: #8856e6;
}
Expand Down Expand Up @@ -130,7 +130,7 @@ pub fn PageInstallation() -> impl IntoView {
<Root default_theme=LeptonicTheme::default()>
<Box style="display: flex; flex-direction: column; align-items: center; padding: 1em; min-height: 100%; min-width: 100%">
<H2>"Welcome to Leptonic"</H2>
<span style="margin-top: 3em;">"Count: " {move || count.get()}</span>
<Button on_click=move|_| set_count.update(|c| *c += 1)>
"Increase"
Expand Down

0 comments on commit 24c7fec

Please sign in to comment.