Initial commit

This commit is contained in:
2026-09-02 16:09:34 +00:00
commit df88732162
22 changed files with 1073 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
use leptos::prelude::*;
#[component]
pub fn ErrorView(
#[prop(default = "Something went wrong")] title: &'static str,
message: String,
) -> impl IntoView {
view! {
<div role="alert" class="alert alert-error">
<div>
<h3 class="font-bold">{title}</h3>
<p class="text-sm">{message}</p>
</div>
</div>
}
}