Skip to content

Commit 2fb6dce

Browse files
committed
another fix
1 parent fd17d0a commit 2fb6dce

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

crates/web/src/pages/home/home_view.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,16 @@ impl View for Home {
3636
Rc::new(move || world.msg(Msg::ResetConfig))
3737
});
3838

39+
let main_heading = "Fluid SImulation";
40+
let sub_heading = "Navier Stokes Equations";
41+
let cta_link = "See on Github";
42+
3943
html! {
4044
<div class=css["wrapper"]>
4145
<div class=css["intro"]>
42-
<h1>{"Fluid SImulation"}</h1>
43-
<h2>With the <a href="https://en.wikipedia.org/wiki/Navier%E2%80%93Stokes_equations" target="_blank">{"Navier Stokes Equations"}</a></h2>
44-
<a href="https://github.com/AkinAguda/fluid-simulation-rust" target="_blank">{"See on Github"}</a>
46+
<h1>{main_heading}</h1>
47+
<h2>With the <a href="https://en.wikipedia.org/wiki/Navier%E2%80%93Stokes_equations" target="_blank">{sub_heading}</a></h2>
48+
<a href="https://github.com/AkinAguda/fluid-simulation-rust" target="_blank">{cta_link}</a>
4549
</div>
4650
<Menu data={
4751
MenuData {

0 commit comments

Comments
 (0)