add toast and start adding postgres

This commit is contained in:
2026-04-10 20:45:53 +02:00
parent 9b65c5f62b
commit 23ccd3f793
16 changed files with 425 additions and 36 deletions

View File

@ -3,6 +3,10 @@ use dioxus::prelude::*;
use views::{Upload};
use tracing::Level;
pub mod config;
use crate::components::toast::ToastProvider;
mod components;
mod views;
@ -25,9 +29,14 @@ fn main() {
fn App() -> Element {
rsx! {
document::Link { rel: "icon", href: FAVICON }
// document::Link { rel: "stylesheet", href: MAIN_CSS }
document::Link { rel: "stylesheet", href: TAILWIND_CSS }
div {
class: "h-screen w-screen bg-zinc-900 text-white",
ToastProvider {
Upload {}
}
}
Router::<Route> {}
// Router::<Route> {}
}
}