@trimble-oss/modus-docs-hugo-theme 1.0.0-alpha1 → 1.0.0-alpha11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/assets/{styles → css}/_article.scss +24 -11
- package/assets/css/_navbar-search.scss +54 -0
- package/assets/{styles → css}/_navbar.scss +4 -0
- package/assets/{styles → css}/_skippy.scss +2 -2
- package/assets/css/_tables.scss +34 -0
- package/assets/{styles → css}/_was-this-page-helpful.scss +3 -3
- package/assets/js/theme-toggle.js +1 -0
- package/assets/js/was-this-page-helpful.js +10 -3
- package/data/navbar_apps.yml +8 -4
- package/layouts/_default/_markup/render-link.html +3 -3
- package/layouts/_default/baseof.html +6 -3
- package/layouts/_default/redirect.html +1 -1
- package/layouts/_default/single.html +4 -4
- package/layouts/index.json +1 -1
- package/layouts/partials/analytics.html +6 -3
- package/layouts/partials/blog-brief.html +4 -4
- package/layouts/partials/blog-share.html +6 -6
- package/layouts/partials/btn-theme-toggle.html +3 -2
- package/layouts/partials/col-sidebar-menu.html +1 -1
- package/layouts/partials/col-sidebar.html +13 -10
- package/layouts/partials/header.html +2 -2
- package/layouts/partials/icons/brands/codepen.svg +1 -1
- package/layouts/partials/icons/brands/facebook-square.svg +1 -1
- package/layouts/partials/icons/brands/github-alt.svg +1 -1
- package/layouts/partials/icons/brands/github.svg +1 -1
- package/layouts/partials/icons/brands/linkedin.svg +1 -1
- package/layouts/partials/icons/brands/vimeo-square.svg +1 -1
- package/layouts/partials/icons/modus-outlined/accessibility-circle.svg +1 -1
- package/layouts/partials/icons/modus-outlined/arrow-up.svg +1 -1
- package/layouts/partials/icons/modus-outlined/bar-graph-square.svg +1 -1
- package/layouts/partials/icons/modus-outlined/code.svg +3 -0
- package/layouts/partials/icons/modus-outlined/launch.svg +1 -1
- package/layouts/partials/icons/modus-outlined/menu.svg +1 -1
- package/layouts/partials/icons/modus-outlined/more-vertical.svg +1 -1
- package/layouts/partials/icons/modus-outlined/person-account.svg +1 -1
- package/layouts/partials/icons/modus-outlined/search.svg +1 -1
- package/layouts/partials/icons/modus-outlined/sync.svg +1 -1
- package/layouts/partials/icons/modus-outlined/thumbs-down.svg +1 -1
- package/layouts/partials/icons/modus-outlined/thumbs-up.svg +1 -1
- package/layouts/partials/icons/modus-outlined/web.svg +1 -1
- package/layouts/partials/icons/modus-solid/code.svg +3 -0
- package/layouts/partials/icons/modus-solid/email.svg +1 -1
- package/layouts/partials/icons/modus-solid/menu.svg +3 -0
- package/layouts/partials/icons/modus-solid/palette.svg +1 -1
- package/layouts/partials/icons/modus-solid/thumbs-down.svg +3 -0
- package/layouts/partials/icons/modus-solid/thumbs-up.svg +3 -0
- package/layouts/partials/icons/modus-solid/trimble-logo.svg +3 -0
- package/layouts/partials/icons/modus-solid/user-guide.svg +3 -0
- package/layouts/partials/icons/transportation/truck.svg +1 -1
- package/layouts/partials/logos/trimble.svg +1 -1
- package/layouts/partials/meta.html +26 -16
- package/layouts/partials/navbar-dropdown.html +4 -2
- package/layouts/partials/navbar-search.html +3 -3
- package/layouts/partials/navbar.html +14 -10
- package/layouts/partials/skippy.html +4 -4
- package/layouts/partials/was-this-page-helpful.html +8 -4
- package/layouts/shortcodes/example.html +2 -2
- package/package.json +21 -14
- package/static/img/icons/check-circle-outlined.svg +1 -0
- package/static/img/icons/code.svg +1 -0
- package/static/img/icons/github.svg +1 -0
- package/static/img/icons/trimble.svg +1 -0
- package/static/img/icons/web-components.svg +1 -0
- package/assets/styles/_navbar-search.scss +0 -53
- package/assets/styles/_tables.scss +0 -5
- package/layouts/index.rss.xml +0 -49
- package/layouts/partials/icons/trimble-logo.svg +0 -1
- package/static/js/theme-toggle.js +0 -48
- package/assets/{styles → css}/_autocomplete.scss +11 -11
- package/assets/{styles → css}/_cards.scss +3 -3
- package/assets/{styles → css}/_codefences-dark.scss +0 -0
- package/assets/{styles → css}/_codefences.scss +0 -0
- package/assets/{styles → css}/_col-sidebar.scss +0 -0
- package/assets/{styles → css}/_font-open-sans.scss +0 -0
- package/assets/{styles → css}/_footer.scss +0 -0
- package/assets/{styles → css}/_javascript-disabled.scss +3 -3
- package/assets/{styles → css}/_list-js.scss +6 -6
- package/assets/{styles → css}/_menu-right.scss +5 -5
- package/assets/{styles → css}/_mobile.scss +2 -2
- package/assets/{styles → css}/_news.scss +1 -1
- package/assets/{styles → css}/_onetrust-cookie-banner.scss +9 -9
- package/assets/{styles → css}/_posts.scss +2 -2
- package/assets/{styles → css}/_print.scss +0 -0
- package/assets/{styles → css}/_scroll-to-top-btn.scss +5 -5
- package/assets/{styles → css}/_sidebar.scss +0 -0
- package/assets/{styles → css}/_theme-dark.scss +0 -0
- package/assets/{styles → css}/_theme-light.scss +0 -0
- package/assets/{styles → css}/_theme-toggle.scss +3 -3
- /package/assets/{styles → css}/_utilities.scss +0 -0
- /package/assets/{styles → css}/_xxl.scss +0 -0
- /package/assets/{styles/styles.scss → css/modus-docs.scss} +0 -0
package/README.md
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
# Modus Docs Hugo Theme (Experimental)
|
2
2
|
|
3
|
+
[](https://raw.githubusercontent.com/trimble-oss/modus-docs-hugo-theme/main/LICENSE)
|
4
|
+
[](https://github.com/marketplace/actions/super-linter)
|
5
|
+
[](https://www.npmjs.com/package/@trimble-oss/modus-docs-hugo-theme)
|
6
|
+
|
3
7
|
A documentation theme for Hugo.
|
4
8
|
|
5
|
-
Status: Alpha. This theme is currently under development
|
9
|
+
**Status: Alpha. This theme is currently under development.**
|
6
10
|
|
7
11
|
## Installation
|
8
12
|
|
9
13
|
1. Add this repo to your package.json as follows:
|
10
14
|
|
11
|
-
```
|
12
|
-
|
13
|
-
"dependencies": {
|
14
|
-
"modus-docs-hugo-theme": "git+github.com:trimble-oss/modus-docs-hugo-theme.git"
|
15
|
-
}
|
16
|
-
}
|
15
|
+
```bash
|
16
|
+
npm i @trimble-oss/modus-docs-hugo-theme --save-dev
|
17
17
|
```
|
18
18
|
|
19
19
|
2. Add the following mounts to your Hugo config:
|
@@ -14,6 +14,11 @@ h5:hover .header-link {
|
|
14
14
|
transition: 0.3s all;
|
15
15
|
}
|
16
16
|
|
17
|
+
.header-link:focus-visible {
|
18
|
+
opacity: 1;
|
19
|
+
pointer-events: visible;
|
20
|
+
}
|
21
|
+
|
17
22
|
// title of article shouldn't have margin-top
|
18
23
|
main article h2.h1:first-of-type {
|
19
24
|
margin-top: 0 !important;
|
@@ -28,17 +33,17 @@ header {
|
|
28
33
|
// external links have an icon
|
29
34
|
.menu-right a[href^="http"]::after,
|
30
35
|
article a:not(.stretched-link)[href^="https"]::after {
|
31
|
-
content: "";
|
32
|
-
width: 12px;
|
33
|
-
height: 12px;
|
34
|
-
margin-left: 4px;
|
35
|
-
margin-bottom: -1px;
|
36
36
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.78 19.78H4.22V4.22h6.67c.61 0 1.11-.5 1.11-1.11C12 2.5 11.5 2 10.89 2H3c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1v-7.89c0-.61-.5-1.11-1.11-1.11-.61 0-1.11.5-1.11 1.11v6.67ZM14.22 3.11c0 .61.5 1.11 1.11 1.11h2.88L8.07 14.36c-.43.43-.43 1.13 0 1.57.43.43 1.13.43 1.57 0L19.78 5.79v2.88c0 .61.5 1.11 1.11 1.11.61 0 1.11-.5 1.11-1.11V3c0-.55-.45-1-1-1h-5.67c-.61 0-1.11.5-1.11 1.11Z'/%3E%3C/svg%3E");
|
37
37
|
background-position: bottom;
|
38
38
|
background-repeat: no-repeat;
|
39
39
|
background-size: contain;
|
40
|
+
content: "";
|
40
41
|
display: inline-block;
|
42
|
+
height: 12px;
|
43
|
+
margin-bottom: -1px;
|
44
|
+
margin-left: 4px;
|
41
45
|
opacity: 0.7;
|
46
|
+
width: 12px;
|
42
47
|
}
|
43
48
|
|
44
49
|
main .sticky-offset {
|
@@ -48,20 +53,20 @@ main .sticky-offset {
|
|
48
53
|
// offsets the anchors to adjust for the fixed navbar
|
49
54
|
article h2:target::before,
|
50
55
|
article h3:target::before {
|
51
|
-
display: block;
|
52
56
|
content: " ";
|
57
|
+
display: block;
|
53
58
|
height: 80px;
|
54
59
|
margin-top: -80px;
|
55
60
|
visibility: hidden;
|
56
61
|
}
|
57
62
|
|
58
63
|
#main::before {
|
59
|
-
display: block;
|
60
64
|
content: " ";
|
65
|
+
display: block;
|
61
66
|
height: 80px;
|
62
67
|
margin-top: -80px;
|
63
|
-
visibility: hidden;
|
64
68
|
top: 80px;
|
69
|
+
visibility: hidden;
|
65
70
|
}
|
66
71
|
|
67
72
|
// anchors # for deep links within docs
|
@@ -72,15 +77,19 @@ a.header-link {
|
|
72
77
|
|
73
78
|
a.header-link::after {
|
74
79
|
content: "#";
|
75
|
-
min-width: 20px;
|
76
80
|
display: inline-block;
|
81
|
+
min-width: 20px;
|
82
|
+
}
|
83
|
+
|
84
|
+
#main {
|
85
|
+
max-width: 1090px;
|
77
86
|
}
|
78
87
|
|
79
88
|
.docs-callout {
|
80
|
-
margin-top: 1.25rem;
|
81
|
-
margin-bottom: 1.25rem;
|
82
89
|
border-left-width: 0.25rem !important;
|
83
90
|
border-radius: 0.25rem;
|
91
|
+
margin-bottom: 1.25rem;
|
92
|
+
margin-top: 1.25rem;
|
84
93
|
}
|
85
94
|
|
86
95
|
.docs-callout-danger {
|
@@ -108,3 +117,7 @@ article .nav-tabs .nav-link::after {
|
|
108
117
|
background-image: none !important;
|
109
118
|
width: 0 !important;
|
110
119
|
}
|
120
|
+
|
121
|
+
article table {
|
122
|
+
width: 100%;
|
123
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
.search-container {
|
2
|
+
left: -12px;
|
3
|
+
width: 40px;
|
4
|
+
}
|
5
|
+
|
6
|
+
.form-control-search {
|
7
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m16.38 14.92-.66.05-.41-.41c2.44-2.81 2.28-7.1-.5-9.7S7.8 2.4 5.17 4.94a6.988 6.988 0 0 0-.08 9.98c2.61 2.61 6.77 2.72 9.52.34l.41.41-.05.65 3.89 3.89a.996.996 0 1 0 1.41-1.41l-3.88-3.88Zm-2.81-1.41a5.016 5.016 0 0 1-7.08 0c-1.95-1.95-1.95-5.13 0-7.08s5.13-1.95 7.08 0 1.95 5.13 0 7.08Z'/%3E%3C/svg%3E");
|
8
|
+
background-position: 5px center;
|
9
|
+
background-repeat: no-repeat;
|
10
|
+
background-size: 20px;
|
11
|
+
border-left: 0;
|
12
|
+
border-right: 0;
|
13
|
+
left: auto;
|
14
|
+
padding: 0;
|
15
|
+
right: 5px;
|
16
|
+
top: 10px;
|
17
|
+
transition: all 0.2s;
|
18
|
+
width: 0 !important;
|
19
|
+
z-index: 1210;
|
20
|
+
}
|
21
|
+
|
22
|
+
.form-control-search:focus {
|
23
|
+
max-width: calc(100vw - 200px);
|
24
|
+
padding: 0 4px 4px 16px;
|
25
|
+
text-indent: 18px;
|
26
|
+
visibility: visible;
|
27
|
+
width: 363px !important;
|
28
|
+
}
|
29
|
+
|
30
|
+
.form-control-search:focus + .btn-search {
|
31
|
+
background-color: transparent;
|
32
|
+
pointer-events: none !important;
|
33
|
+
transition: all 1s;
|
34
|
+
}
|
35
|
+
|
36
|
+
.form-control-search:focus + .btn-search img {
|
37
|
+
opacity: 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
.btn-search {
|
41
|
+
top: 0;
|
42
|
+
}
|
43
|
+
|
44
|
+
.btn-search i {
|
45
|
+
margin-top: 18px;
|
46
|
+
}
|
47
|
+
|
48
|
+
[data-bs-theme="dark"] .form-control-search {
|
49
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 24 24'%3E%3Cpath d='m16.38 14.92-.66.05-.41-.41c2.44-2.81 2.28-7.1-.5-9.7S7.8 2.4 5.17 4.94a6.988 6.988 0 0 0-.08 9.98c2.61 2.61 6.77 2.72 9.52.34l.41.41-.05.65 3.89 3.89a.996.996 0 1 0 1.41-1.41l-3.88-3.88Zm-2.81-1.41a5.016 5.016 0 0 1-7.08 0c-1.95-1.95-1.95-5.13 0-7.08s5.13-1.95 7.08 0 1.95 5.13 0 7.08Z'/%3E%3C/svg%3E") !important;
|
50
|
+
}
|
51
|
+
|
52
|
+
[data-bs-theme="dark"] .btn-search img {
|
53
|
+
filter: invert(1);
|
54
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
main table {
|
2
|
+
border: 1px solid rgba(133, 133, 133, 0.1);
|
3
|
+
margin-bottom: 1rem;
|
4
|
+
vertical-align: top;
|
5
|
+
width: 100%;
|
6
|
+
|
7
|
+
// border-color: var(--bs-table-border-color);
|
8
|
+
}
|
9
|
+
|
10
|
+
main table thead th {
|
11
|
+
border-bottom-width: 1px;
|
12
|
+
line-height: 1.25;
|
13
|
+
vertical-align: middle;
|
14
|
+
}
|
15
|
+
|
16
|
+
main table thead tr {
|
17
|
+
background-color: rgba(133, 133, 133, 0.1);
|
18
|
+
}
|
19
|
+
|
20
|
+
main table td {
|
21
|
+
font-size: 0.875rem;
|
22
|
+
vertical-align: middle;
|
23
|
+
}
|
24
|
+
|
25
|
+
.table-bordered > :not(caption) > * > * {
|
26
|
+
border-width: 0 var(--bs-border-width);
|
27
|
+
}
|
28
|
+
|
29
|
+
table > :not(caption) > * > * {
|
30
|
+
background-color: var(--bs-table-bg);
|
31
|
+
border-bottom-width: var(--bs-border-width);
|
32
|
+
box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
|
33
|
+
padding: 0.25rem 1rem;
|
34
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
.feedback {
|
2
|
-
border-color: #90939f
|
2
|
+
border-color: #90939f;
|
3
3
|
}
|
4
4
|
|
5
5
|
.btn-feedback {
|
6
|
-
opacity: 0.7;
|
7
6
|
min-width: 32px;
|
7
|
+
opacity: 0.7;
|
8
8
|
}
|
9
9
|
|
10
10
|
.btn-feedback svg {
|
@@ -16,8 +16,8 @@
|
|
16
16
|
}
|
17
17
|
|
18
18
|
.btn-feedback[disabled] {
|
19
|
-
opacity: 0.4;
|
20
19
|
cursor: default;
|
20
|
+
opacity: 0.4;
|
21
21
|
pointer-events: none;
|
22
22
|
}
|
23
23
|
|
@@ -1,15 +1,22 @@
|
|
1
1
|
$(function () {
|
2
|
-
$('.feedback').fadeIn('slow').addClass('d-block')
|
2
|
+
$('.feedback').fadeIn('slow').addClass('d-block');
|
3
3
|
$('.btn-feedback').click(function () {
|
4
4
|
$('.btn-feedback').addClass('img-grayscale').attr('disabled', 'disabled');
|
5
5
|
$('.feedback-thanks').fadeIn('slow').addClass('d-block');
|
6
6
|
});
|
7
|
+
|
7
8
|
$('.btn-feedback-helpful').click(function () {
|
8
9
|
$('.feedback-helpful').fadeIn('slow').addClass('d-block');
|
9
|
-
$('.
|
10
|
+
$('.icon-helpful-solid').addClass('d-block');
|
11
|
+
$('.icon-helpful-solid').removeClass('d-none');
|
12
|
+
$('.icon-helpful-outlined').removeClass('d-block');
|
13
|
+
$('.icon-helpful-outlined').addClass('d-none');
|
10
14
|
});
|
11
15
|
$('.btn-feedback-not-helpful').click(function () {
|
12
16
|
$('.feedback-not-helpful').fadeIn('slow').addClass('d-block');
|
13
|
-
$('.
|
17
|
+
$('.icon-not-helpful-solid').addClass('d-block');
|
18
|
+
$('.icon-not-helpful-solid').removeClass('d-none');
|
19
|
+
$('.icon-not-helpful-solid').removeClass('d-none');
|
20
|
+
$('.icon-not-helpful-outlined').addClass('d-none');
|
14
21
|
});
|
15
22
|
});
|
package/data/navbar_apps.yml
CHANGED
@@ -1,15 +1,19 @@
|
|
1
|
+
- title: Modus Style Guide
|
2
|
+
icon: "/img/icons/trimble.svg"
|
3
|
+
url: "https://modus.trimble.com/"
|
4
|
+
|
1
5
|
- title: Modus Web Components
|
2
|
-
icon: ""
|
6
|
+
icon: "/img/icons/web-components.svg"
|
3
7
|
url: "https://modus-web-components.trimble.com/"
|
4
8
|
|
5
9
|
- title: Modus Icons
|
6
|
-
icon: ""
|
10
|
+
icon: "/img/icons/check-circle-outlined.svg"
|
7
11
|
url: "https://modus-icons.trimble.com"
|
8
12
|
|
9
13
|
- title: Modus Bootstrap
|
10
|
-
icon: ""
|
14
|
+
icon: "/img/icons/code.svg"
|
11
15
|
url: "https://modus-bootstrap.trimble.com/"
|
12
16
|
|
13
17
|
- title: Modus on GitHub
|
14
|
-
icon: ""
|
18
|
+
icon: "/img/icons/github.svg"
|
15
19
|
url: "https://github.com/trimble-oss/?q=modus&type=all&language=&sort=stargazers"
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<a href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{ . }}"
|
2
|
-
{{- end -}}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener" {{ end }}>
|
1
|
+
<a href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{- . -}}"
|
2
|
+
{{- end -}}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener" {{- end -}}>
|
3
3
|
{{- .Text | safeHTML -}}
|
4
|
-
</a>
|
4
|
+
</a>
|
@@ -1,5 +1,6 @@
|
|
1
1
|
<!doctype html>
|
2
|
-
<html lang="
|
2
|
+
<html lang="{{ with .Site.LanguageCode }}{{- . -}}{{ else }}en-US{{- end -}}"
|
3
|
+
class="h-100 no-js {{ with .Page.Params.html_class }}{{ . -}}{{- end -}}">
|
3
4
|
|
4
5
|
<head>
|
5
6
|
{{ partial "meta" . }}
|
@@ -7,6 +8,7 @@
|
|
7
8
|
|
8
9
|
<body data-url="{{ .RelPermalink }}" class="overflow-x-hidden {{ with .Page.Params.body_class -}}{{ . -}}{{- end -}}"
|
9
10
|
{{ if not .Params.disableScrollSpy }}{{- end -}}>
|
11
|
+
{{ partial "skippy" . }}
|
10
12
|
{{ if not .Params.NavbarFalse }}{{ partial "navbar" . }}{{ end }}
|
11
13
|
{{ block "body" . }}{{ block "main" . }}
|
12
14
|
{{- end -}}
|
@@ -36,6 +38,8 @@
|
|
36
38
|
const popoverTriggerList = document.querySelectorAll('[data-bs-toggle="popover"]')
|
37
39
|
const popoverList = [...popoverTriggerList].map(popoverTriggerEl => new bootstrap.Popover(popoverTriggerEl))
|
38
40
|
</script>
|
41
|
+
|
42
|
+
{{- if not .IsHome -}}
|
39
43
|
<script>
|
40
44
|
// Disable all links with #
|
41
45
|
var links = document.querySelectorAll('a[href="#"]');
|
@@ -47,7 +51,6 @@
|
|
47
51
|
});
|
48
52
|
});
|
49
53
|
</script>
|
50
|
-
{{- if not .IsHome -}}
|
51
54
|
<script>
|
52
55
|
// Change Submit buttons within docs examples to type=button
|
53
56
|
var article = document.querySelector('article');
|
@@ -62,4 +65,4 @@
|
|
62
65
|
{{- end -}}
|
63
66
|
</body>
|
64
67
|
|
65
|
-
</html>
|
68
|
+
</html>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
|
18
18
|
{{ partial "header" . }}
|
19
19
|
|
20
|
-
<main class="container mx-auto mt-5"
|
20
|
+
<main class="container mx-auto mt-5" id="main">
|
21
21
|
<div class="row">
|
22
22
|
<div class="col-12 col-xl-9">
|
23
23
|
{{ if .Params.blog }}
|
@@ -26,9 +26,9 @@
|
|
26
26
|
</h1>
|
27
27
|
<div class="d-flex">
|
28
28
|
<div class="mx-3">
|
29
|
-
<img src="/img/author/{{ .Params.author | urlize }}.jpg"
|
29
|
+
<img src="/img/author/{{- .Params.author | urlize -}}.jpg"
|
30
30
|
class="bg-light rounded-circle mx-auto text-center border" height="44" width="44"
|
31
|
-
alt="{{ .Params.author }}">
|
31
|
+
alt="{{- .Params.author -}}">
|
32
32
|
</div>
|
33
33
|
<div>
|
34
34
|
<div class="text-body fw-bold">
|
@@ -110,4 +110,4 @@
|
|
110
110
|
|
111
111
|
</div>
|
112
112
|
</div>
|
113
|
-
{{ end }}
|
113
|
+
{{ end }}
|
package/layouts/index.json
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
{{- if and $index (gt $index 0) -}},{{- end }}
|
7
7
|
{
|
8
8
|
"uri": "{{- $page.Permalink -}}",
|
9
|
-
"title": "{{- htmlEscape $page.Title
|
9
|
+
"title": "{{- htmlEscape $page.Title -}}",
|
10
10
|
"tags": [{{ range $tindex, $tag := $page.Params.tags }}{{ if $tindex }}, {{ end }}"{{ $tag| htmlEscape }}"{{ end }}],
|
11
11
|
"description": "{{- htmlEscape .Description -}}",
|
12
12
|
"content": {{- $page.Plain | jsonify -}}
|
@@ -1,9 +1,12 @@
|
|
1
1
|
{{- if not .Site.IsServer -}}
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
{{ template "_internal/google_analytics.html" . }}
|
4
|
+
|
5
|
+
{{- with .Site.Params.PlausibleAnalyticsDomain -}}
|
6
|
+
<script defer data-domain="{{- . -}}" src="https://plausible.io/js/script.outbound-links.js"></script>
|
5
7
|
<script>
|
6
8
|
window.plausible = window.plausible || function () { (window.plausible.q = window.plausible.q || []).push(arguments) }
|
7
9
|
</script>
|
8
|
-
|
10
|
+
{{- end -}}
|
11
|
+
|
9
12
|
{{- end -}}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="col-12 col-lg-6 col-xl-4 my-3">
|
3
3
|
<div class="card card-blog-brief h-100">
|
4
4
|
<div class="card-header top-rounded mb-0 pb-0 border-0"
|
5
|
-
style="background-image: url({{ .Params.Image | relURL }}); background-color: {{ .Params.headerBgColor }}">
|
5
|
+
style="background-image: url({{- .Params.Image | relURL -}}); background-color: {{- .Params.headerBgColor -}}">
|
6
6
|
</div>
|
7
7
|
<div class="card-body border-0 pb-0">
|
8
8
|
<h3 class="card-title text-body px-2 ms-n2 name" {{ if .Params.TitleNoTranslate }}translate="no" {{- end -}}>
|
@@ -19,12 +19,12 @@
|
|
19
19
|
<div class="card-footer bg-transparent border-0 py-0">
|
20
20
|
<div class="d-flex mb-1">
|
21
21
|
<div class="me-2">
|
22
|
-
<img src="/img/author/{{ .Params.author | urlize }}.jpg"
|
22
|
+
<img src="/img/author/{{- .Params.author | urlize -}}.jpg"
|
23
23
|
class="bg-light rounded-circle mx-auto text-center img-fluid ms-2" height="40" width="40"
|
24
|
-
alt="{{ .Params.author }}">
|
24
|
+
alt="{{- .Params.author -}}">
|
25
25
|
</div>
|
26
26
|
<div>
|
27
|
-
<p class="text-muted small mb-0">{{ .Params.author }}</p>
|
27
|
+
<p class="text-muted small mb-0">{{- .Params.author -}}</p>
|
28
28
|
<p class="text-muted small">{{- .Date.Format "Jan 2, 2006" }}</p>
|
29
29
|
</div>
|
30
30
|
</div>
|
@@ -4,34 +4,34 @@
|
|
4
4
|
<a href="https://twitter.com/intent/tweet?via=TrimbleCorpNews&text={{- .Title -}}&url={{- .Permalink -}}"
|
5
5
|
class="opacity-75" title="Share on X" data-bs-toggle="tooltip"
|
6
6
|
onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;">
|
7
|
-
{{ partial "icons/brands/twitter
|
8
|
-
<span class="
|
7
|
+
{{ partial "icons/brands/square-x-twitter.svg" (dict "class" "text-body" "width" "28" "height" "28") }}
|
8
|
+
<span class="visually-hidden">X</span></a>
|
9
9
|
</div> -->
|
10
10
|
<div class="d-inline-block me-2">
|
11
11
|
<a href="https://www.facebook.com/sharer.php?u={{- .Permalink -}}" class="opacity-75" title="Share on Facebook"
|
12
12
|
data-bs-toggle="tooltip" data-bs-placement="top"
|
13
13
|
onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;">
|
14
14
|
{{- partial "icons/brands/facebook-square.svg" (dict "class" "text-body" "width" "28" "height" "28") -}}
|
15
|
-
<span class="
|
15
|
+
<span class="visually-hidden">Facebook</span></a>
|
16
16
|
</div>
|
17
17
|
<div class="d-inline-block me-2">
|
18
18
|
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{- .Permalink -}}&title={{- .Title -}}&summary={{- .Summary -}}"
|
19
19
|
class="opacity-75" title="Share on LinkedIn" data-bs-toggle="tooltip" data-bs-placement="top"
|
20
20
|
onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;">
|
21
21
|
{{ partial "icons/brands/linkedin.svg" (dict "class" "text-body" "width" "28" "height" "28") }}
|
22
|
-
<span class="
|
22
|
+
<span class="visually-hidden">LinkedIn</span></a>
|
23
23
|
</div>
|
24
24
|
<!-- <div class="d-inline-block me-2">
|
25
25
|
<a href="mailto:?subject={{- .Title -}}%20-%20Modus%20Style%20Guide&body=Check out this site: {{ .Permalink }}"
|
26
26
|
class="opacity-75 bg-light" title="Share via Email" data-bs-toggle="tooltip" data-bs-placement="top"
|
27
27
|
onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;">
|
28
28
|
{{ partial "icons/modus-solid/email.svg" (dict "class" "text-body" "width" "28" "height" "28") }}
|
29
|
-
<span class="
|
29
|
+
<span class="visually-hidden">Email</span></a>
|
30
30
|
</div> -->
|
31
31
|
<div class="d-inline-block me-2">
|
32
32
|
<button class="opacity-75 border-0 bg-transparent btn-share-web-api p-0 d-none" title="Share"
|
33
33
|
data-bs-toggle="tooltip" data-bs-placement="top">
|
34
|
-
<span class="
|
34
|
+
<span class="visually-hidden">Share</span></button>
|
35
35
|
</div>
|
36
36
|
</div>
|
37
37
|
</div>
|
@@ -1,5 +1,6 @@
|
|
1
|
-
<button class="btn btn-lg btn-icon-only theme-toggle pt-0 border-0 mx-1"
|
2
|
-
aria-label="auto" aria-live="polite" type="button"
|
1
|
+
<button class="btn btn-lg btn-icon-only btn-outline-secondary bg-transparent theme-toggle pt-0 border-0 mx-1"
|
2
|
+
id="theme-toggle" title="Toggles light & dark" aria-label="auto" aria-live="polite" type="button"
|
3
|
+
data-bs-toggle="tooltip" data-bs-placement="right">
|
3
4
|
<svg class="sun-and-moon" aria-hidden="true" width="22" height="22" viewBox="0 0 24 24">
|
4
5
|
<mask class="moon" id="moon-mask">
|
5
6
|
<rect x="0" y="0" width="100%" height="100%" fill="#fff" />
|
@@ -12,7 +12,7 @@
|
|
12
12
|
}
|
13
13
|
</script>
|
14
14
|
|
15
|
-
<!-- https://github.com/twbs/bootstrap/blob/v5.3.
|
15
|
+
<!-- https://github.com/twbs/bootstrap/blob/v5.3.2/site/layouts/partials/docs-sidebar.html -->
|
16
16
|
<div class="">
|
17
17
|
{{- $url := split .Permalink "/" -}}
|
18
18
|
{{- $page_slug := index $url (sub (len $url) 2) -}}
|
@@ -2,24 +2,27 @@
|
|
2
2
|
class="list-group d-block border-0 text-center sticky-top sticky-offset d-flex flex-column align-items-start justify-content-between"
|
3
3
|
style="height: calc(100dvh - 66px)">
|
4
4
|
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
<div class="text-center mx-auto w-100">
|
6
|
+
<button class="btn btn-lg btn-outline-secondary bg-transparent list-group-item border-0 mt-1" type="button"
|
7
|
+
data-bs-target="#sidebar" data-bs-toggle="collapse" aria-label="Expand Menu"
|
8
|
+
style="width:48px; margin-left: 6px;">
|
9
|
+
<div class="text-body text-center">
|
10
|
+
{{ partial "icons/modus-solid/user-guide.svg" (dict "class" "" "width" "24" "height" "24") }}
|
11
|
+
</div>
|
12
|
+
</button>
|
13
|
+
</div>
|
13
14
|
|
14
15
|
<div>
|
15
16
|
{{- with .Site.Params.GitHubRepo -}}
|
16
|
-
<a href="{{- . -}}" class="btn btn-lg btn-icon-only border-0 mx-1"
|
17
|
-
data-bs-toggle="tooltip" title="GitHub">
|
17
|
+
<a href="{{- . -}}" class="btn btn-lg btn-outline-secondary text-body bg-transparent btn-icon-only border-0 mx-1"
|
18
|
+
target="_blank" rel="noopener" data-bs-toggle="tooltip" title="GitHub">
|
18
19
|
{{ partial "icons/brands/github.svg" (dict "class" "mt-2" "width" "22" "height" "22") }}
|
19
20
|
</a>
|
20
21
|
{{ end }}
|
21
22
|
|
23
|
+
{{- if not .Site.Params.disableThemeToggle -}}
|
22
24
|
{{ partial "btn-theme-toggle" . }}
|
25
|
+
{{ end }}
|
23
26
|
</div>
|
24
27
|
|
25
28
|
</div>
|
@@ -1,2 +1,2 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 26 26">
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 26 26">
|
2
2
|
<path fill="currentColor" d="M13 25.2c-.2 0-.5-.1-.6-.2l-11-7.3-.3-.3v-.1c-.1-.2-.2-.4-.2-.6V9.3c0-.2.1-.4.2-.6l.3-.3 11-7.3c.4-.3.9-.3 1.3 0l11 7.3.3.3c.1.2.2.4.2.6v7.4c0 .2-.1.4-.2.6v.1l-.3.3-11 7.3c-.2.1-.5.2-.7.2zm1.2-8v4.6l7.8-5.2-3.5-2.3-4.3 2.9zm-10.1-.5l7.8 5.2v-4.6l-4.3-2.9-3.5 2.3zM9.6 13l3.4 2.3 3.4-2.3-3.4-2.3L9.6 13zm10.9 0l2.3 1.6v-3.1L20.5 13zM3.1 11.4v3.1L5.5 13l-2.4-1.6zm11.1-2.7l4.3 2.9L22 9.3l-7.8-5.2v4.6zm-10.1.6l3.5 2.3 4.3-2.9V4.1L4.1 9.3z"></path></svg>
|
@@ -1,2 +1,2 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512">
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512">
|
2
2
|
<path fill="currentColor" d="M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512"><path d="M186.1 328.7c0 20.9-10.9 55.1-36.7 55.1s-36.7-34.2-36.7-55.1 10.9-55.1 36.7-55.1 36.7 34.2 36.7 55.1zM480 278.2c0 31.9-3.2 65.7-17.5 95-37.9 76.6-142.1 74.8-216.7 74.8-75.8 0-186.2 2.7-225.6-74.8-14.6-29-20.2-63.1-20.2-95 0-41.9 13.9-81.5 41.5-113.6-5.2-15.8-7.7-32.4-7.7-48.8 0-21.5 4.9-32.3 14.6-51.8 45.3 0 74.3 9 108.8 36 29-6.9 58.8-10 88.7-10 27 0 54.2 2.9 80.4 9.2 34-26.7 63-35.2 107.8-35.2 9.8 19.5 14.6 30.3 14.6 51.8 0 16.4-2.6 32.7-7.7 48.2 27.5 32.4 39 72.3 39 114.2zm-64.3 50.5c0-43.9-26.7-82.6-73.5-82.6-18.9 0-37 3.4-56 6-14.9 2.3-29.8 3.2-45.1 3.2-15.2 0-30.1-.9-45.1-3.2-18.7-2.6-37-6-56-6-46.8 0-73.5 38.7-73.5 82.6 0 87.8 80.4 101.3 150.4 101.3h48.2c70.3 0 150.6-13.4 150.6-101.3zm-82.6-55.1c-25.8 0-36.7 34.2-36.7 55.1s10.9 55.1 36.7 55.1 36.7-34.2 36.7-55.1-10.9-55.1-36.7-55.1z"/></svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512"><path d="M186.1 328.7c0 20.9-10.9 55.1-36.7 55.1s-36.7-34.2-36.7-55.1 10.9-55.1 36.7-55.1 36.7 34.2 36.7 55.1zM480 278.2c0 31.9-3.2 65.7-17.5 95-37.9 76.6-142.1 74.8-216.7 74.8-75.8 0-186.2 2.7-225.6-74.8-14.6-29-20.2-63.1-20.2-95 0-41.9 13.9-81.5 41.5-113.6-5.2-15.8-7.7-32.4-7.7-48.8 0-21.5 4.9-32.3 14.6-51.8 45.3 0 74.3 9 108.8 36 29-6.9 58.8-10 88.7-10 27 0 54.2 2.9 80.4 9.2 34-26.7 63-35.2 107.8-35.2 9.8 19.5 14.6 30.3 14.6 51.8 0 16.4-2.6 32.7-7.7 48.2 27.5 32.4 39 72.3 39 114.2zm-64.3 50.5c0-43.9-26.7-82.6-73.5-82.6-18.9 0-37 3.4-56 6-14.9 2.3-29.8 3.2-45.1 3.2-15.2 0-30.1-.9-45.1-3.2-18.7-2.6-37-6-56-6-46.8 0-73.5 38.7-73.5 82.6 0 87.8 80.4 101.3 150.4 101.3h48.2c70.3 0 150.6-13.4 150.6-101.3zm-82.6-55.1c-25.8 0-36.7 34.2-36.7 55.1s10.9 55.1 36.7 55.1 36.7-34.2 36.7-55.1-10.9-55.1-36.7-55.1z"/></svg>
|
@@ -1,2 +1,2 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512">
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512">
|
2
2
|
<path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512"><path fill="currentColor" d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"/></svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512"><path fill="currentColor" d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"/></svg>
|
@@ -1,2 +1,2 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512">
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512">
|
2
2
|
<path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-16.2 149.6c-1.4 31.1-23.2 73.8-65.3 127.9-43.5 56.5-80.3 84.8-110.4 84.8-18.7 0-34.4-17.2-47.3-51.6-25.2-92.3-35.9-146.4-56.7-146.4-2.4 0-10.8 5-25.1 15.1L64 192c36.9-32.4 72.1-68.4 94.1-70.4 24.9-2.4 40.2 14.6 46 51.1 20.5 129.6 29.6 149.2 66.8 90.5 13.4-21.2 20.6-37.2 21.5-48.3 3.4-32.8-25.6-30.6-45.2-22.2 15.7-51.5 45.8-76.5 90.1-75.1 32.9 1 48.4 22.4 46.5 64z"/></svg>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
|
2
2
|
<path d="M12 8.25c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5Zm4.75.75h-9.5c-.41 0-.75.34-.75.75s.34.75.75.75H10V18c0 .41.34.75.75.75s.75-.34.75-.75v-3.75h1V18c0 .41.34.75.75.75s.75-.34.75-.75v-7.5h2.75c.41 0 .75-.34.75-.75S17.16 9 16.75 9ZM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.53 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"/>
|
3
3
|
</svg>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
|
2
2
|
<path d="m13.06 3.65 6.79 6.79A1.497 1.497 0 0 1 18.79 13H16v6.5c0 .83-.67 1.5-1.5 1.5h-5c-.83 0-1.5-.67-1.5-1.5V13H5.21c-.61 0-1.15-.36-1.39-.93s-.11-1.2.33-1.63l6.79-6.79c.29-.29.68-.44 1.06-.44s.77.15 1.06.44ZM10 11v8h4v-8h3.59L12 5.41 6.41 11H10Z"/>
|
3
3
|
</svg>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
|
2
2
|
<path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14Zm-3-1c.55 0 1-.45 1-1v-6.25c0-.55-.45-1-1-1s-1 .45-1 1V17c0 .55.45 1 1 1Zm-4 0c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1s-1 .45-1 1v10c0 .55.45 1 1 1Zm-4 0c.55 0 1-.45 1-1v-3.25c0-.55-.45-1-1-1s-1 .45-1 1V17c0 .55.45 1 1 1Z"/>
|
3
3
|
</svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
|
2
|
+
<path d="M17.12 8.12a.996.996 0 0 1 1.41 0l3.18 3.18c.39.39.39 1.02 0 1.41l-3.18 3.18c-.38.38-1.02.38-1.41-.01a.996.996 0 0 1 0-1.41S19.59 12 19.59 12l-2.47-2.47a.996.996 0 0 1 0-1.41Zm-10.24 0a.996.996 0 0 0-1.41 0L2.29 11.3a.996.996 0 0 0 0 1.41s3.18 3.18 3.18 3.18c.38.38 1.02.38 1.41-.01a.996.996 0 0 0 0-1.41S4.41 12 4.41 12l2.47-2.47a.996.996 0 0 0 0-1.41Zm3.07 10.64 5.92-12.69c.23-.5.02-1.1-.48-1.33-.5-.23-1.1-.02-1.33.48L8.14 17.91c-.23.5-.02 1.1.48 1.33.14.06.28.09.42.09.38 0 .74-.21.91-.58Z"/>
|
3
|
+
</svg>
|