style(corp/rih): integrate initial new frontend styles

Change-Id: Ie36fb58efab9a1c2d563dc3d891301b152de1c52
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8918
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2023-07-02 18:58:18 +03:00 committed by clbot
parent c767460440
commit d6de113778
20 changed files with 11922 additions and 225 deletions

View file

@ -4,7 +4,6 @@ use gloo::console;
use gloo::history::{BrowserHistory, History};
use gloo::net::http;
use gloo::storage::{LocalStorage, Storage};
use gloo::utils::format::JsValueSerdeExt;
use rand::seq::IteratorRandom;
use rand::thread_rng;
use serde::{Deserialize, Serialize};
@ -345,7 +344,7 @@ async fn submit_data(captcha_token: &str, record: &Record) -> bool {
}
/// Handle the submit event, if all data was successfully collected.
fn handle_submit(app: &App, link: Scope<App>) -> Msg {
fn handle_submit(app: &App, _link: Scope<App>) -> Msg {
let token = app.captcha_token.as_ref().unwrap().clone();
let record = app.record.clone();