File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
crates/web/src/pages/home Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,16 @@ impl View for Home {
36
36
Rc :: new ( move || world. msg ( Msg :: ResetConfig ) )
37
37
} ) ;
38
38
39
+ let main_heading = "Fluid SImulation" ;
40
+ let sub_heading = "Navier Stokes Equations" ;
41
+ let cta_link = "See on Github" ;
42
+
39
43
html ! {
40
44
<div class=css[ "wrapper" ] >
41
45
<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>
45
49
</div>
46
50
<Menu data={
47
51
MenuData {
You can’t perform that action at this time.
0 commit comments