+
+ }
+}
+
+#[function_component]
+fn CalendarView() -> Html {
let counter = use_state(|| 0);
let onclick = {
let counter = counter.clone();
@@ -12,13 +114,27 @@ pub fn App() -> Html {
};
html! {
-
-
{ "Hello Yew!" }
-
{ "This is a basic Yew application template." }
-
+
+
{"Welcome to your Calendar!"}
+
{"You are now authenticated and can access your calendar."}
+
+ // Temporary counter demo - will be replaced with calendar functionality
+
+
{"Demo Counter"}
{ format!("Counter: {}", *counter) }
+
+
+
{"Calendar functionality will be implemented here."}
+
{"This will include:"}
+
+
{"Calendar view with events"}
+
{"Integration with CalDAV server"}
+
{"Event creation and editing"}
+
{"Synchronization with Baikal server"}
+
+
}
}
\ No newline at end of file
diff --git a/src/main.rs b/src/main.rs
index 4b28a47..0380f46 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,8 +1,9 @@
-use yew::prelude::*;
mod app;
mod config;
mod calendar;
+mod auth;
+mod components;
use app::App;