File tree Expand file tree Collapse file tree
rustmail_panel/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ use crate :: components:: statistics:: StatisticsDashboard ;
12use crate :: i18n:: yew:: use_translation;
23use yew:: prelude:: * ;
34
@@ -6,12 +7,15 @@ pub fn home() -> Html {
67 let ( i18n, _set_language) = use_translation ( ) ;
78
89 html ! {
9- <div class="flex flex-col items-center justify-center text-center" >
10- <img src="logo.png" alt="Rustmail logo" class="w-40 h-40 mb-6" />
11- <h1 class="text-3xl font-bold mb-2" >{ i18n. t( "panel.title" ) } </h1>
12- <p class="max-w-xl text-gray-400 mb-8" >
13- { i18n. t( "panel.welcome" ) }
14- </p>
10+ <div class="space-y-8" >
11+ <div class="flex flex-col items-center justify-center text-center" >
12+ <img src="logo.png" alt="Rustmail logo" class="w-24 h-24 mb-4" />
13+ <h1 class="text-3xl font-bold mb-2" >{ i18n. t( "panel.title" ) } </h1>
14+ <p class="max-w-xl text-gray-400" >
15+ { i18n. t( "panel.welcome" ) }
16+ </p>
17+ </div>
18+ <StatisticsDashboard />
1519 </div>
1620 }
1721}
Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ pub mod home;
55pub mod language_switcher;
66pub mod logout_button;
77pub mod navbar;
8+ pub mod statistics;
89pub mod ticket;
You can’t perform that action at this time.
0 commit comments