Basic Website

This commit is contained in:
Malte Schröder
2025-12-13 18:27:56 +01:00
commit 7e7f9de2a5
11 changed files with 2218 additions and 0 deletions

14
src/main.rs Normal file
View File

@@ -0,0 +1,14 @@
// Declare the 'home' module, making the components inside available.
mod home;
// Import the Home component from the 'home' module.
use home::Home;
/// The main function, the entry point of the Rust application.
fn main() {
// Renders the Yew application.
// It creates a new renderer for the root component (Home) and mounts it.
// The component will be rendered inside the 'body' element by default,
// or to the element specified in the index.html if using `with_root`.
yew::Renderer::<Home>::new().render();
}