LoneWolf prompt page
This commit is contained in:
parent
96ce57f9f3
commit
3e086d11d9
|
|
@ -207,6 +207,12 @@ impl RolePage for ActionPrompt {
|
||||||
<VindicatorPage1 />
|
<VindicatorPage1 />
|
||||||
</>
|
</>
|
||||||
}]),
|
}]),
|
||||||
|
ActionPrompt::LoneWolfKill { character_id, .. } => Rc::new([html! {
|
||||||
|
<>
|
||||||
|
{ident(character_id)}
|
||||||
|
<LoneWolfPage1 />
|
||||||
|
</>
|
||||||
|
}]),
|
||||||
_ => Rc::new([]),
|
_ => Rc::new([]),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
use yew::prelude::*;
|
||||||
|
|
||||||
|
#[function_component]
|
||||||
|
pub fn LoneWolfPage1() -> Html {
|
||||||
|
html! {
|
||||||
|
<div class="role-page">
|
||||||
|
<h1 class="wolves">{"LONE WOLF"}</h1>
|
||||||
|
<div class="information wolves faint">
|
||||||
|
<h2>
|
||||||
|
{"YOU MUST KILL TONIGHT IN ANGER OVER A FELLOW "}
|
||||||
|
{"WOLF HAVING BEEN SLAIN"}
|
||||||
|
</h2>
|
||||||
|
<h3 class="yellow">
|
||||||
|
{"POINT AT YOUR TARGET "}
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue