diff --git a/frontend/src/components/torrent/add_torrent.rs b/frontend/src/components/torrent/add_torrent.rs index 018980f..b0acb9a 100644 --- a/frontend/src/components/torrent/add_torrent.rs +++ b/frontend/src/components/torrent/add_torrent.rs @@ -3,10 +3,26 @@ use leptos::task::spawn_local; use wasm_bindgen::JsCast; use crate::components::ui::input::{Input, InputType}; use crate::api; -use crate::components::ui::button::Button; +use crate::components::ui::button::{Button, ButtonVariant}; use crate::components::ui::dialog::{ - DialogBody, DialogHeader, DialogTitle, DialogDescription, DialogFooter, DialogClose + Dialog, DialogTrigger, DialogContent, DialogBody, DialogHeader, DialogTitle, DialogDescription, DialogFooter, DialogClose }; +use icons::Play; + +#[component] +pub fn AddTorrent() -> impl IntoView { + view! { + + + + + + + + + + } +} #[component] pub fn AddTorrentDialogContent() -> impl IntoView {