diff --git a/frontend/public/tailwind.css b/frontend/public/tailwind.css index 7859045..80bd8ff 100644 --- a/frontend/public/tailwind.css +++ b/frontend/public/tailwind.css @@ -613,9 +613,15 @@ .w-3\/4 { width: calc(3/4 * 100%); } + .w-3\/5 { + width: calc(3/5 * 100%); + } .w-4 { width: calc(var(--spacing) * 4); } + .w-4\/5 { + width: calc(4/5 * 100%); + } .w-5 { width: calc(var(--spacing) * 5); } @@ -658,9 +664,15 @@ .w-48 { width: calc(var(--spacing) * 48); } + .w-56 { + width: calc(var(--spacing) * 56); + } .w-64 { width: calc(var(--spacing) * 64); } + .w-96 { + width: calc(var(--spacing) * 96); + } .w-\[100px\] { width: 100px; } @@ -856,6 +868,13 @@ margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse))); } } + .space-y-3 { + :where(& > :not(:last-child)) { + --tw-space-y-reverse: 0; + margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse)); + margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse))); + } + } .space-y-4 { :where(& > :not(:last-child)) { --tw-space-y-reverse: 0; @@ -952,10 +971,6 @@ border-style: var(--tw-border-style); border-width: 2px; } - .border-4 { - border-style: var(--tw-border-style); - border-width: 4px; - } .border-y { border-block-style: var(--tw-border-style); border-block-width: 1px; diff --git a/frontend/src/app.rs b/frontend/src/app.rs index 2120287..9ebf735 100644 --- a/frontend/src/app.rs +++ b/frontend/src/app.rs @@ -8,6 +8,7 @@ use leptos::prelude::*; use leptos::task::spawn_local; use leptos_router::components::{Router, Routes, Route}; use leptos_router::hooks::use_navigate; +use leptos_shadcn_skeleton::Skeleton; #[component] pub fn App() -> impl IntoView { @@ -116,10 +117,40 @@ pub fn App() -> impl IntoView { view! { -
-
-

"Yükleniyor..."

+
+ // Sidebar skeleton +
+ +
+ + + + + + +
+
+ // Main content skeleton +
+ // Header skeleton +
+ + +
+
+ // Table skeleton rows +
+ + + + + + +
+ // Status bar skeleton +
+ +
}.into_any()>