diff --git a/Cargo.lock b/Cargo.lock index 262c656..128d538 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,19 +4,13 @@ version = 3 [[package]] name = "addr2line" -version = "0.22.0" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" +checksum = "f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375" dependencies = [ "gimli", ] -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - [[package]] name = "adler2" version = "2.0.0" @@ -222,17 +216,17 @@ dependencies = [ [[package]] name = "backtrace" -version = "0.3.73" +version = "0.3.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a" +checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" dependencies = [ "addr2line", - "cc", "cfg-if", "libc", - "miniz_oxide 0.7.4", + "miniz_oxide", "object", "rustc-demangle", + "windows-targets", ] [[package]] @@ -351,6 +345,7 @@ dependencies = [ "codee", "console_error_panic_hook", "console_log", + "icondata", "leptos", "leptos-use", "leptos_meta", @@ -679,7 +674,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253" dependencies = [ "crc32fast", - "miniz_oxide 0.8.0", + "miniz_oxide", ] [[package]] @@ -811,9 +806,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.29.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" +checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64" [[package]] name = "gloo-net" @@ -942,9 +937,9 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "hydration_context" -version = "0.2.0-beta4" +version = "0.2.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fd272e5549af207e00abfcbb622a7991f0a15ee12b86a7c3cfef41758a83f43" +checksum = "b807c29c4af72bfcc71a4427625749ad7a0c22b936f8a1a82f464140b633afe6" dependencies = [ "futures", "once_cell", @@ -975,9 +970,9 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cde7055719c54e36e95e8719f95883f22072a48ede39db7fc17a4e1d5281e9b9" +checksum = "da62f120a8a37763efb0cf8fdf264b884c7b8b9ac8660b900c8661030c00e6ba" dependencies = [ "bytes", "futures-util", @@ -1011,6 +1006,33 @@ dependencies = [ "cc", ] +[[package]] +name = "icondata" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18db9eec46b6c870bf84281dd8065fb207b23a9c1c0cb367c49a919a61a38dec" +dependencies = [ + "icondata_ai", + "icondata_bi", + "icondata_bs", + "icondata_cg", + "icondata_ch", + "icondata_core", + "icondata_fa", + "icondata_fi", + "icondata_hi", + "icondata_im", + "icondata_io", + "icondata_lu", + "icondata_oc", + "icondata_ri", + "icondata_si", + "icondata_tb", + "icondata_ti", + "icondata_vs", + "icondata_wi", +] + [[package]] name = "icondata_ai" version = "0.0.10" @@ -1020,12 +1042,165 @@ dependencies = [ "icondata_core", ] +[[package]] +name = "icondata_bi" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6ce125f0d203e66444b02982af9b15631f2385573ad7992af79d4d4babc638d" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_bs" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67940e592b0b8df8d7adc055c8542d135ce1d7d6ad01d8fb8de9405ebfc21c2e" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_cg" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0eba691ca17a43ffc8ebbcf200cd3ea54ad75837f210a6a6ace87a491be8314" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_ch" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2870b3c4ebf013b7e27af71d4c55f10b97ea448831e9a156cb53fec0f262dc20" +dependencies = [ + "icondata_core", +] + [[package]] name = "icondata_core" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c97be924215abd5e630d84e95a47c710138a6559b4c55039f4f33aa897fa859" +[[package]] +name = "icondata_fa" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c7fee576096efe5567a7216a6fb8154db8eae9ae108e5a4706805204208c2af" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_fi" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1a4e81557c205a12ac051046595bb616f388537468987f7ee8960f897cdc538" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_hi" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3435d50de04c61799613995e753e613dc4f2771aa08eb94a7318289a5ea9d784" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_im" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce4bd1d64bb67bb080f605e3e600271894b67c4aaa18965179586ef5990a2297" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_io" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35b9d681c936a6e087940beb4766159cddc080d7f1fd5ef0ef3ab9f50a11f3f6" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_lu" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d552c45cc3ab1d1bf88cc0201004eb92418141e5454e9e0e46c4b4a4faf66248" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_oc" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8be19499912a05d5db89ccb88dbe3c459ca4100bda3dbcbddff69f2dcf71d305" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_ri" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "114a85cc95d1bfaee8dc5bf8a07dd043fc9e75499dc2ff4ac5e066193c594930" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_si" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc30cb2dbc2ac53f23dddbcb0ad73720970b24c0ed13935df8082b74fb627860" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_tb" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f2b8d8e2047546285805795e6d3cb6e820a52bb008e15942e11353c7ba659f2" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_ti" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f85074d4bf10960d0f2b01ce3d9cfa2b2434a170d0738336411bb61e83227e4" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_vs" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a82bb4a8b1523200fc7c3b588bb80858db16708067093110ee8614db63b8913" +dependencies = [ + "icondata_core", +] + +[[package]] +name = "icondata_wi" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d2c65b534aa9d7ccb107d892200e8fef2d1849acad160af067e9e20ced3619b" +dependencies = [ + "icondata_core", +] + [[package]] name = "ident_case" version = "1.0.1" @@ -1099,9 +1274,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "leptos" -version = "0.7.0-beta4" +version = "0.7.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4eb1451927cce0a17cc3af6fdad18911eae7c827bb90a5117fa463b5b109ce4" +checksum = "dce271592769bc3aaece4b23228176fe2862b24666a6ad1d49639af9e3081f93" dependencies = [ "any_spawner", "cfg-if", @@ -1134,9 +1309,9 @@ dependencies = [ [[package]] name = "leptos-use" -version = "0.14.0-beta1" +version = "0.14.0-beta2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf3e115ec6c90ccd031c1f94918372af602f105e0b3b252363f0ef887d15a1aa" +checksum = "424197a4dfb2cb8814d6be2baae4bcae9d56ce196b3febb7c020ebc282fe334c" dependencies = [ "cfg-if", "codee", @@ -1158,9 +1333,9 @@ dependencies = [ [[package]] name = "leptos_config" -version = "0.7.0-beta4" +version = "0.7.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db9b3c211cc072b742a728a71e86969034e7ab75ae68205d604df047b9ffb87e" +checksum = "c4cbdc8ee8cb4d4f808f0281a9c3164abeb8e2a9e647bed8761f4caf13182933" dependencies = [ "config", "regex", @@ -1171,9 +1346,9 @@ dependencies = [ [[package]] name = "leptos_dom" -version = "0.7.0-beta4" +version = "0.7.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d356526ed1c9be0804b297b0bf5d768490840d4669bd52e63f6b68d5693f7e7" +checksum = "db28172a39d7b8f97c69ad8dbc3a2c05a244ade74f1da9bc0bd557d25914d8b1" dependencies = [ "js-sys", "or_poisoned", @@ -1186,9 +1361,9 @@ dependencies = [ [[package]] name = "leptos_hot_reload" -version = "0.7.0-beta4" +version = "0.7.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "121e56d24140488617d3554674708f0c00deaa287ff7ab01609fd590f32fafc8" +checksum = "39d2b962cac155477b5ee82587c50235b2e1b88b657930b9cb5b9250352a3347" dependencies = [ "anyhow", "camino", @@ -1204,9 +1379,9 @@ dependencies = [ [[package]] name = "leptos_macro" -version = "0.7.0-beta4" +version = "0.7.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5dca48e1894486f762bef0e0de24e39f1bf3a1ae84ab49915a9864856b57961" +checksum = "e98a32e24e3c4998d162ea71c9299e1fe0d38005b714fe30225ae613d9f0bf05" dependencies = [ "attribute-derive", "cfg-if", @@ -1215,7 +1390,7 @@ dependencies = [ "itertools", "leptos_hot_reload", "prettyplease", - "proc-macro-error", + "proc-macro-error2", "proc-macro2", "quote", "rstml", @@ -1226,9 +1401,9 @@ dependencies = [ [[package]] name = "leptos_meta" -version = "0.7.0-beta4" +version = "0.7.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68327b651ff5ea1341faadbaefad9a5fa22160fe70651618aa2883422eee8f36" +checksum = "773788bc79b195fd4af745d0eb59e08435bcfb5eb068ebdda018fbe1302685c7" dependencies = [ "futures", "indexmap", @@ -1242,9 +1417,9 @@ dependencies = [ [[package]] name = "leptos_router" -version = "0.7.0-beta4" +version = "0.7.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "810ba3c70df80581c534792fa8294a1ddef2896fedc0bd60b73bce141f7068bf" +checksum = "44c79346efd7b0fe1884a9a6dda3d7f92dae4bef7be9ef65c6dd80d2ba5c4fb8" dependencies = [ "any_spawner", "either_of", @@ -1258,6 +1433,7 @@ dependencies = [ "paste", "reactive_graph", "send_wrapper", + "serde", "tachys", "thiserror", "url", @@ -1267,9 +1443,9 @@ dependencies = [ [[package]] name = "leptos_router_macro" -version = "0.7.0-beta4" +version = "0.7.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "644f00cd2ab91b7086a5b8b339cffab247ed1a34e027758405c6881b63ed26f2" +checksum = "9cc536868a8d444ee14e763addfde2e44f94786bb71122bb0f0f5356748ee125" dependencies = [ "proc-macro-error", "proc-macro2", @@ -1278,9 +1454,9 @@ dependencies = [ [[package]] name = "leptos_server" -version = "0.7.0-beta4" +version = "0.7.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bae878288fea9931571a1a9cc471161d3c595e990aa41f4f1a9aaa0cf8d0ccdd" +checksum = "b1250915d58d808b763aa17f3d873e0dcd1e8c72ba1f2f557c2889ff03494f23" dependencies = [ "any_spawner", "base64 0.22.1", @@ -1288,6 +1464,7 @@ dependencies = [ "futures", "hydration_context", "reactive_graph", + "send_wrapper", "serde", "serde_json", "server_fn", @@ -1408,15 +1585,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" -[[package]] -name = "miniz_oxide" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" -dependencies = [ - "adler", -] - [[package]] name = "miniz_oxide" version = "0.8.0" @@ -1440,9 +1608,9 @@ dependencies = [ [[package]] name = "next_tuple" -version = "0.1.0-beta4" +version = "0.1.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66dadf287063ab08b1247d1be56e9656b272b10423896fb60d49881f69b2b266" +checksum = "bf84e075aa6ad90a5868f864c36ba983b2ffc52d1f584899398ae248fd77b414" [[package]] name = "nom" @@ -1715,6 +1883,27 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-error-attr2" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "proc-macro-error2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" +dependencies = [ + "proc-macro-error-attr2", + "proc-macro2", + "quote", +] + [[package]] name = "proc-macro-utils" version = "0.8.0" @@ -1822,9 +2011,9 @@ dependencies = [ [[package]] name = "reactive_graph" -version = "0.1.0-beta4" +version = "0.1.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "277ddf442e2675c536ff4088bae41c937ae4a3a821b53ecaa386c5f911252e2f" +checksum = "03a4ad833d7f44ca640ad93e7169b263ca9ecdc1a9599cdb6ca5c02e5b24656a" dependencies = [ "any_spawner", "async-lock", @@ -2049,7 +2238,7 @@ dependencies = [ "serde", "serde_json", "tokio", - "tower 0.5.0", + "tower 0.5.1", "tower-http", "tracing", "tracing-subscriber", @@ -2058,9 +2247,9 @@ dependencies = [ [[package]] name = "server_fn" -version = "0.7.0-beta4" +version = "0.7.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b802f1cfb1965eb17046f23401597766fc149ffd5a904ab43b55cad41899a6f" +checksum = "0c6ca573753dbd6777647be6d98bfed22d0d71e205eb1126bf6bc85c42affc2f" dependencies = [ "bytes", "const_format", @@ -2088,9 +2277,9 @@ dependencies = [ [[package]] name = "server_fn_macro" -version = "0.7.0-beta4" +version = "0.7.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c3b2d6ea0d021a2a21ce64142d589f84e4f0b08c44318f7088d9c6e5ad24b08" +checksum = "63c8d47c8c8524526633b79c48e9ded61ed00670e45ebb900b22e23815888b70" dependencies = [ "const_format", "convert_case", @@ -2102,9 +2291,9 @@ dependencies = [ [[package]] name = "server_fn_macro_default" -version = "0.7.0-beta4" +version = "0.7.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c3cdf66b25e36aab3a9aca2c675c60645ebbb2ab78294f88957d2870cf72020" +checksum = "7b2439cb2af4644cb59653db8d6e68e8d75c1cd9e82dea2d98f29f32ba5f4a0b" dependencies = [ "server_fn_macro", "syn", @@ -2228,9 +2417,9 @@ checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" [[package]] name = "tachys" -version = "0.1.0-beta4" +version = "0.1.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ae9c2a49cafbeacdf5991b2ab48236d7711159ede8510c2efb6be8a28665ee7" +checksum = "2fd5906862cc50f3a32da67184a0259c5ee991d67d9c38e8cd87e63f8d9df142" dependencies = [ "any_spawner", "const_str_slice_concat", @@ -2248,7 +2437,6 @@ dependencies = [ "or_poisoned", "parking_lot", "paste", - "pin-project-lite", "reactive_graph", "rustc-hash", "send_wrapper", @@ -2261,8 +2449,7 @@ dependencies = [ [[package]] name = "thaw" version = "0.4.0-beta2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a10abe67825fbd871289ec6fd5fea9cf92691d1da32707c00e7af70577306d62" +source = "git+https://github.com/adoyle0/thaw.git#aa818b28239fedd76d4e7ee3f7b541a9fd67c6bc" dependencies = [ "cfg-if", "chrono", @@ -2284,8 +2471,7 @@ dependencies = [ [[package]] name = "thaw_components" version = "0.2.0-beta2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee0d5671ca0280910de0f69288aa20a98249c5a2a9fddccb2525d750a124f94" +source = "git+https://github.com/adoyle0/thaw.git#aa818b28239fedd76d4e7ee3f7b541a9fd67c6bc" dependencies = [ "cfg-if", "leptos", @@ -2298,8 +2484,7 @@ dependencies = [ [[package]] name = "thaw_macro" version = "0.1.0-beta2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4adff1cd2cd4da053f7d912e34e2e696b28d34561ff5929c2077c0ed7ee2834c" +source = "git+https://github.com/adoyle0/thaw.git#aa818b28239fedd76d4e7ee3f7b541a9fd67c6bc" dependencies = [ "proc-macro2", "quote", @@ -2309,8 +2494,7 @@ dependencies = [ [[package]] name = "thaw_utils" version = "0.1.0-beta2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a9554f2a9d236925dd1cae57d1c3e1f6390f20ff31aa9999d1b41bcc1f8d551" +source = "git+https://github.com/adoyle0/thaw.git#aa818b28239fedd76d4e7ee3f7b541a9fd67c6bc" dependencies = [ "cfg-if", "chrono", @@ -2352,9 +2536,9 @@ dependencies = [ [[package]] name = "throw_error" -version = "0.2.0-beta4" +version = "0.2.0-beta5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b3c1e41506da98dbdac683e12a2c87813d218f0540dab31c94343ef29a4c062" +checksum = "bf4f5aa80794461408e66eacde42bdc1c0fa6a626c75601c1e909c6267750915" dependencies = [ "pin-project-lite", ] @@ -2520,9 +2704,9 @@ dependencies = [ [[package]] name = "tower" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36b837f86b25d7c0d7988f00a54e74739be6477f2aac6201b8f429a7569991b7" +checksum = "2873938d487c3cfb9aed7546dc9f2711d867c9f90c46b889989a2cb84eba6b4f" dependencies = [ "futures-core", "futures-util", diff --git a/client/Cargo.toml b/client/Cargo.toml index 998113e..bbdfba2 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -15,11 +15,20 @@ console_log = "1" log = "0.4" leptos-use = "0.14.0-beta" +# leptos-use = { path = "../../leptos-use" } +# leptos-use = { git = "https://github.com/adoyle0/leptos-use.git", branch = "leptos-0.7" } codee = "0.2" lib = { workspace = true } serde_json = "1.0" -thaw = { version = "0.4.0-beta2", features = ["csr", "nightly"] } + +# thaw = { version = "0.4.0-beta", features = ["csr", "nightly"] } +# thaw = { path = "../../thaw/thaw", features = ["csr", "nightly"] } +thaw = { git = "https://github.com/adoyle0/thaw.git", features = [ + "csr", + "nightly", +] } +icondata = "0.4" [dev-dependencies] wasm-bindgen = "0.2" diff --git a/client/index.html b/client/index.html index 861a7c0..e041162 100644 --- a/client/index.html +++ b/client/index.html @@ -2,6 +2,7 @@
+ diff --git a/client/public/styles.css b/client/public/styles.css index f575f39..d5666f3 100644 --- a/client/public/styles.css +++ b/client/public/styles.css @@ -4,32 +4,11 @@ @import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"); -.inter-med { - font-family: "Inter", sans-serif; - font-optical-sizing: auto; - font-weight: 400; - font-style: normal; -} - html, body { - @apply text-neutral-200 bg-neutral-900; font-family: "Inter", sans-serif; font-optical-sizing: auto; font-weight: 400; font-style: normal; font-stretch: condensed; } - -button { - @apply bg-neutral-600 - border-b-4 - border-neutral-800 - font-bold - hover:bg-neutral-700 - hover:border-neutral-500 - px-4 - py-2 - rounded - text-white; -} diff --git a/client/src/components/auth.rs b/client/src/components/auth.rs index 3bb7f7f..b2af65d 100644 --- a/client/src/components/auth.rs +++ b/client/src/components/auth.rs @@ -1,72 +1,118 @@ use crate::components::websocket::WebSocketContext; -use leptos::{html::Input, prelude::*}; +use leptos::{ev, prelude::*}; use leptos_use::core::ConnectionReadyState; use lib::*; use serde_json::to_string; +use thaw::*; #[component] pub fn Auth() -> impl IntoView { let websocket = expect_context::- "You were already given a random name but if you'd like to change it this is the place. Identities are saved once created so if you leave or get disconnected just enter your old name here to \"log back in\". Please don't steal each other's identities (yes, you can)." -
-Username:
- -"Welcome " {move || username()}"!"
+ ++ "You were already given a random name but if you'd like to change it this is the place." +
++ "Identities are saved once created so if you leave or get disconnected just enter your old name here to \"log back in\"." +
++ "Please don't steal each other's identities (yes, you can)." +
+"Yes, the delete button works. Please don't abuse it."
+"No games to show right now.. Maybe you should create one!"
} } > -"Yes, the delete button works. Please don't abuse it."
Name | -Host | -Players | -Card Packs | -- |
---|
{game.name} | -{game.host} | -{game.players} | -{game.packs.len()} | -- - - | -
{game.name}
+{game_meta().unwrap().black.0}
Pick: {game_meta().unwrap().black.1}
{card_data.text}