aboutsummaryrefslogtreecommitdiffstats
path: root/library/font_awesome/src/test/all.html
blob: 076d19698d06fbdc4209caeffbda7cb0765cbb88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
relative_path: ../../
---

<!DOCTYPE html>
<html>
  <head>
    <link rel="stylesheet" href="{{ page.relative_path }}assets/css/site.css">
    <link rel="stylesheet" href="{{ page.relative_path }}assets/font-awesome/css/font-awesome.css">
    <script src="https://use.fonticons.com/ffe176a3.js"></script>
  </head>

  <body>
    <div class="container">
      <div>
        <h1>All</h1>
        <div>
          {% for icon in icons %}
          <i class="fa fa-{{ icon.id }}"></i>{% endfor %}
        </div>
      </div>


      <div>
        <h1>All (Unicode)</h1>
        {% for icon in icons %}
        <i class="fa">&#x{{ icon.unicode }}</i>
        {% endfor %}
      </div>

      <div>
        <h1>Non-Brand (Unicode)</h1>

        {% for icon in icons %}
          {% unless icon.categories contains "Brand Icons" %}
            <i class="fa">&#x{{ icon.unicode }}</i>
          {% endunless %}
        {% endfor %}
      </div>

      <div>
        <h1>Brand (Unicode)</h1>

        {% for icon in icons %}
          {% if icon.categories contains "Brand Icons" %}
          <i class="fa">&#x{{ icon.unicode }}</i>
          {% endif %}
        {% endfor %}
      </div>


    </div>
  </body>

</html>