add toast and start adding postgres
This commit is contained in:
13
src/main.rs
13
src/main.rs
@ -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> {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user