feat(leptos): css design system with component classes and animations
This commit is contained in:
@@ -3,8 +3,11 @@ use leptos::prelude::*;
|
||||
#[component]
|
||||
pub fn App() -> impl IntoView {
|
||||
view! {
|
||||
<div style="display: flex; align-items: center; justify-content: center; height: 100vh; font-family: 'Poppins', sans-serif; font-size: 1.5rem; background: #0f172a; color: #e2e8f0;">
|
||||
"Hello from Leptos"
|
||||
<div class="app">
|
||||
<link rel="stylesheet" href="/app.css" />
|
||||
<div style="display: flex; align-items: center; justify-content: center; height: 100vh; font-family: 'Poppins', sans-serif; font-size: 1.5rem; background: #0f172a; color: #e2e8f0;">
|
||||
"Hello from Leptos"
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user