-
-
Notifications
You must be signed in to change notification settings - Fork 261
/
fontawesome.pug
28 lines (23 loc) · 1.05 KB
/
fontawesome.pug
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
extends layout.pug
block content
h2.second-heading.mb-5 Font Awesome
div
-var name = 'fontawesomecss';
-var current = config.files['@fortawesome/fontawesome-free'].find(file => file.current);
-var file = current.stylesheet;
-var sri = current.stylesheetSri;
-var formId = `${name}_form`;
.d-flex.flex-column.content-card-block
.content-card-subtitle Font Awesome CSS
.content-card-input
input.d-flex.flex-grow-1(id=formId, type='text', readonly, value=file)
button.btn.p-0.d-flex.align-items-center.justify-content-center.dropdown-toggle(type='button',
data-toggle='collapse',
data-target=`#${name}`,
aria-label='Toggle Dropdown',
aria-expanded='false',
aria-controls=name)
include /assets/img/arrow_down_white.svg
span.mt-2.copy-btn Click to copy
include _partials/csscode.pug
//- vim: ft=pug sw=4 sts=4 et: