chore: 0.0.7 update example usage
This commit is contained in:
parent
ebe9c6de39
commit
c711ccf331
2 changed files with 10 additions and 10 deletions
|
|
@ -10,19 +10,19 @@ pub fn Route() -> impl IntoView {
|
||||||
|
|
||||||
view! {class = STYLE,
|
view! {class = STYLE,
|
||||||
<leptos_components::Aside/> // lets use our component
|
<leptos_components::Aside/> // lets use our component
|
||||||
<section class=style::table>
|
<section class="table">
|
||||||
<h2>"Welcome to Leptos"</h2>
|
<h2>"Welcome to Leptos"</h2>
|
||||||
<h2 class="">
|
<h2>
|
||||||
"This head is styled with lepty-scopes feature"
|
"This head is styled with lepty-scopes feature"
|
||||||
<br/>
|
<br/>
|
||||||
<span class="">"And this child too!"</span>
|
<span>"And this child too!"</span>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<button class=style::btn on:click=on_click>"Ima CRAZY button, clicked: " {count} " times!"</button>
|
<button class="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>
|
<button class="btn btn-dark" on:click=on_click>"Ima CRAZY button, clicked: " {count} " times!"</button>
|
||||||
<span class=style::card>"DISCLAIMER:"</span>
|
<span class="card">"DISCLAIMER:"</span>
|
||||||
<p class=style::pocwarn>"This isn't a design example! Its just proof of sabry's capabilities."</p>
|
<p class="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>
|
<p class="pocwarn">"Plz dont make websites/apps which look like this page :D"</p>
|
||||||
</section>
|
</section>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
use leptos::prelude::*;
|
use leptos::prelude::*;
|
||||||
use leptos_meta::{provide_meta_context, MetaTags, Stylesheet, Title};
|
use leptos_meta::{MetaTags, Stylesheet, Title, provide_meta_context};
|
||||||
use leptos_router::{
|
use leptos_router::{
|
||||||
components::{Route, Router, Routes},
|
|
||||||
StaticSegment,
|
StaticSegment,
|
||||||
|
components::{Route, Router, Routes},
|
||||||
};
|
};
|
||||||
use sabry::styly;
|
use sabry::styly;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue