glacier-web-cli 0.5.0

Command-line tool for creating and running Glacier applications.
1
2
3
4
5
6
7
8
{# items: (question, answer), shown in an Accordion; `contact` is the line under the heading. #}
{% props items: Vec<(String, String)>, title: String = "Frequently asked questions", contact: Slot = Slot::default(), name: String = "", open: Vec<usize> = vec![0] %}
<section class="ui-section">
  <div class="ui-faq">
    <div class="ui-faq-head"><h2>{{ title }}</h2><p>{{ contact }}</p></div>
    <.accordion items={items.clone()} name={name.clone()} open={open.clone()} />
  </div>
</section>