Simplify into a page template thanks to aleksrutins/cheetah#1

This commit is contained in:
Aleks Rutins 2024-06-04 21:26:12 +00:00
parent 27390b6e77
commit e063e315ed
9 changed files with 28 additions and 42 deletions

View file

@ -1,6 +1,4 @@
<extends template="layouts/base.html" title="Activators"></extends>
<nav-links back="/repressors.html" next="/hill-functions.html"></nav-links>
<extends template="layouts/page.html" back="/repressors.html" next="/hill-functions.html" title="Activators"></extends>
# Activators
@ -31,8 +29,6 @@ As you can see, an activator has exactly the opposite effect as a repressor.
That was a short section. Onward!
<nav-links back="/repressors.html" next="/hill-functions.html"></nav-links>
<script>
plot('#binding-curve', (kd, beta0) => [`${beta0}/(1 + x/(${kd}))`, `${beta0} * ((x/${kd})/(1 + (x/${kd})))`], ['#kd', '#beta0'], [[0, 10], [0, 10]])