1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,97 @@ |
1 |
+--- |
|
2 |
+layout: base |
|
3 |
+title: Font Awesome Icons |
|
4 |
+navbar_active: icons |
|
5 |
+relative_path: ../ |
|
6 |
+--- |
|
7 |
+{% capture jumbotron_h1 %}<i class="fa fa-flag" aria-hidden="true"></i> The Icons{% endcapture %} |
|
8 |
+{% capture jumbotron_p %}The complete set of {{ icons | size }} icons in Font Awesome {{ site.fontawesome.version }}{% endcapture %} |
|
9 |
+ |
|
10 |
+{% include jumbotron.html %} |
|
11 |
+ |
|
12 |
+<div class="container" data-view="search"> |
|
13 |
+ {% capture stripe_ad_content %} |
|
14 |
+ <p class="lead"> |
|
15 |
+ You asked, Font Awesome delivers with {{ icons | version:site.fontawesome.minor_version | size }} shiny new icons in version {{ site.fontawesome.minor_version }}. |
|
16 |
+ Want to request new icons? <a href="{{ page.relative_path }}community/#requesting-new-icons">Here's how</a>. |
|
17 |
+ <!--The ever-expanding list of Font Awesome {{ site.fontawesome.version }} icons.--> |
|
18 |
+ Need vectors or want to use on the desktop? Check the <a href="{{ page.relative_path }}cheatsheet/">cheatsheet</a>. |
|
19 |
+ </p> |
|
20 |
+ {% endcapture %} |
|
21 |
+ {% include stripe-ad.html %} |
|
22 |
+ |
|
23 |
+ <div class="row"> |
|
24 |
+ <div class="col-sm-10"> |
|
25 |
+ <section id="search"> |
|
26 |
+ <label for="search-input"><i class="fa fa-search" aria-hidden="true"></i><span class="sr-only">Search icons</span></label> |
|
27 |
+ <input id="search-input" class="form-control input-lg" placeholder="Search icons" autocomplete="off" spellcheck="false" autocorrect="off" tabindex="1"> |
|
28 |
+ <a id="search-clear" href="#" class="fa fa-times-circle hide" aria-hidden="true"><span class="sr-only">Clear search</span></a> |
|
29 |
+ </section> |
|
30 |
+ </div> |
|
31 |
+ <div class="col-sm-2 padding-left-none hidden-xs"> |
|
32 |
+ <div class="algolia text-center"> |
|
33 |
+ <a href="https://algolia.com"><i class="fas fas-algolia-new fas-4x" aria-hidden="true"></i><div>by Algolia</div></a> |
|
34 |
+ </div> |
|
35 |
+ </div> |
|
36 |
+ </div> |
|
37 |
+ |
|
38 |
+ <div id="search-results" class="hide"></div> |
|
39 |
+ <div id="icons"> |
|
40 |
+ {% include icons/new.html %} |
|
41 |
+ {% include icons/web-application.html %} |
|
42 |
+ {% include icons/accessibility.html %} |
|
43 |
+ {% include icons/hand.html %} |
|
44 |
+ {% include icons/transportation.html %} |
|
45 |
+ {% include icons/gender.html %} |
|
46 |
+ {% include icons/file-type.html %} |
|
47 |
+ {% include icons/spinner.html %} |
|
48 |
+ {% include icons/form-control.html %} |
|
49 |
+ {% include icons/payment.html %} |
|
50 |
+ {% include icons/chart.html %} |
|
51 |
+ {% include icons/currency.html %} |
|
52 |
+ {% include icons/text-editor.html %} |
|
53 |
+ {% include icons/directional.html %} |
|
54 |
+ {% include icons/video-player.html %} |
|
55 |
+ {% include icons/brand.html %} |
|
56 |
+ {% include icons/medical.html %} |
|
57 |
+ </div> |
|
58 |
+ <script type="text/template" id="results-template"> |
|
59 |
+ <h2 class="page-header">Search for '<span class="text-color-default"><%- content.query %></span>'</h2> |
|
60 |
+ <% if (content.nbHits > 0) { %> |
|
61 |
+ <div class="row fontawesome-icon-list"> |
|
62 |
+ <%= results %> |
|
63 |
+ </div> |
|
64 |
+ <% } else { %> |
|
65 |
+ <div class="alert alert-danger text-lg" role="alert"> |
|
66 |
+ <h3 class="margin-top margin-bottom-lg"><i class="fa fa-meh-o" aria-hidden="true"></i> Oops! No icons matched your query.</h3> |
|
67 |
+ A few things that might help: |
|
68 |
+ <ol> |
|
69 |
+ <li> |
|
70 |
+ Use <a class="alert-link" href="https://fortawesome.com">Fort Awesome</a> (our latest project) to add your |
|
71 |
+ own icons and take your icon game to the next level! |
|
72 |
+ </li> |
|
73 |
+ <li> |
|
74 |
+ Really, really want to see an icon in Font Awesome? |
|
75 |
+ <a class="alert-link" href="mailto:dave@fortawesome.com">Drop me an email</a> to commission the icons you need! |
|
76 |
+ </li> |
|
77 |
+ <li> |
|
78 |
+ Are we missing something in our search results? |
|
79 |
+ <a class="alert-link" href="https://github.com/FortAwesome/Font-Awesome/issues/new">Open an issue on GitHub!</a> |
|
80 |
+ (Make sure to <a class="alert-link" href="https://github.com/FortAwesome/Font-Awesome/issues">search existing |
|
81 |
+ issues first</a>.) |
|
82 |
+ </li> |
|
83 |
+ </ol> |
|
84 |
+ </div> |
|
85 |
+ <% } %> |
|
86 |
+ </script> |
|
87 |
+ <script type="text/template" id="result-template"> |
|
88 |
+ <div class="fa-hover col-md-3 col-sm-4"> |
|
89 |
+ <a href="{{ page.relative_path }}icon/<%= result.name %>"> |
|
90 |
+ <i class="fa <%= result.css_class %>" aria-hidden="true"></i> <%= result._highlightResult.name.value %> |
|
91 |
+ <% if (matches.length > 0) { %> |
|
92 |
+ <span class="text-muted">(<%= matches.join(", ") %>)</span> |
|
93 |
+ <% } %> |
|
94 |
+ </a> |
|
95 |
+ </div> |
|
96 |
+ </script> |
|
97 |
+</div> |