chore: 0.0.7 update example usage

This commit is contained in:
spushk 2026-10-06 00:08:35 +03:00
commit f81977fc11
Signed by untrusted user who does not match committer: spushk
GPG key ID: 7797B761E105E8AA
2 changed files with 10 additions and 10 deletions

View file

@ -10,19 +10,19 @@ pub fn Route() -> impl IntoView {
view! {class = STYLE,
<leptos_components::Aside/> // lets use our component
<section class=style::table>
<section class="table">
<h2>"Welcome to Leptos"</h2>
<h2 class="">
<h2>
"This head is styled with lepty-scopes feature"
<br/>
<span class="">"And this child too!"</span>
<span>"And this child too!"</span>
</h2>
<button class=style::btn on:click=on_click>"Ima CRAZY button, clicked: " {count} " times!"</button>
<button class=style::_dark(style::btn) on:click=on_click>"Ima CRAZY button, clicked: " {count} " times!"</button>
<span class=style::card>"DISCLAIMER:"</span>
<p class=style::pocwarn>"This isn't a design example! Its just proof of sabry's capabilities."</p>
<p class=style::pocwarn>"Plz dont make websites/apps which look like this page :D"</p>
<button class="btn" on:click=on_click>"Ima CRAZY button, clicked: " {count} " times!"</button>
<button class="btn btn-dark" on:click=on_click>"Ima CRAZY button, clicked: " {count} " times!"</button>
<span class="card">"DISCLAIMER:"</span>
<p class="pocwarn">"This isn't a design example! Its just proof of sabry's capabilities."</p>
<p class="pocwarn">"Plz dont make websites/apps which look like this page :D"</p>
</section>
}
}

View file

@ -1,8 +1,8 @@
use leptos::prelude::*;
use leptos_meta::{provide_meta_context, MetaTags, Stylesheet, Title};
use leptos_meta::{MetaTags, Stylesheet, Title, provide_meta_context};
use leptos_router::{
components::{Route, Router, Routes},
StaticSegment,
components::{Route, Router, Routes},
};
use sabry::styly;