Skip to content

Commit 27853d3

Browse files
authored
Merge branch 'umbraco:main' into main
2 parents 1f6f136 + 54f5399 commit 27853d3

File tree

6 files changed

+42
-41
lines changed

6 files changed

+42
-41
lines changed

.lycheeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
^https://nginx\.org/.*/#.*
2222
^https://azure\.microsoft\.com/en-gb/services/media-services/.*
2323
^https://www\.tiny\.cloud/docs/.*
24+
^https://api\.cloud\.umbraco\.com/?$
2425

2526
# TinyMCE anchors
2627
^https://github\.com/tinymce/tinymce/issues/.*#.*
Lines changed: 23 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,64 @@
11
---
2-
description: Learn how to append and use Icons.
2+
description: Create custom icon sets for use across the Umbraco backoffice.
33
---
44

55
# Icons
66

7-
This article describes how to add and use more icons in your UI.
8-
9-
{% hint style="warning" %}
10-
This page is a work in progress and may undergo further revisions, updates, or amendments. The information contained herein is subject to change without notice.
11-
{% endhint %}
7+
Umbraco extension authors can create custom icon sets for use across the Umbraco backoffice using an extension type called `icons`.
128

139
## Register a new set of icons
1410

15-
New icons can be added via an extension type called `icons`.
16-
17-
You must add a new manifest to the Extension API to register icons. The manifest can be added through the `umbraco-package.json` file as shown in the snippet below.
11+
Icons must be registered in a manifest using the Extension API. The manifest can be added through the `umbraco-package.json` file, as shown below.
1812

1913
{% code title="umbraco-package.json" %}
20-
2114
```json
2215
{
23-
"name": "MyPackage",
24-
"extensions": [
25-
{
26-
"type": "icons",
27-
"alias": "MyPackage.Icons.Unicorn",
28-
"name": "MyPackage Unicorn Icons",
29-
"js": "/App_Plugins/MyPackage/Icons/icons.js"
30-
}
31-
]
16+
"$schema": "../../umbraco-package-schema.json",
17+
"name": "My Package",
18+
"version": "0.1.0",
19+
"extensions": [
20+
{
21+
"type": "icons",
22+
"alias": "My.Icons.Unicorn",
23+
"name": "My Unicorn Icons",
24+
"js": "/App_Plugins/MyPackage/Icons/icons.js"
25+
}
26+
]
3227
}
3328
```
34-
3529
{% endcode %}
3630

37-
The file set in the `js` field holds the details about your Icons. The file should resemble the following:
31+
The file set in the `js` field contains the details of your icons. These definitions should resemble the following:
3832

3933
{% code title="icons.js" %}
40-
41-
```typescript
34+
```javascript
4235
export default [
4336
{
44-
name: "myPackage-unicorn",
37+
name: "my-unicorn",
4538
path: () => import("./icon-unicorn.js"),
4639
},
4740
{
48-
name: "myPackage-giraffe",
41+
name: "my-giraffe",
4942
path: () => import("./icon-giraffe.js"),
5043
}
5144
]
5245
```
53-
5446
{% endcode %}
5547

56-
The icon name needs to be prefixed to avoid collision with other icons.
48+
Prefix each icon name to avoid collisions with other icons.
5749

58-
Each icon must define a path, either as a string or a dynamic import as shown above. This file must be a JavaScript file containing a default export of an SVG string. See an example of this in the code snippet below.
50+
Each icon must define a path, either as a string or a dynamic import as shown above. This file must be a JavaScript file containing a default export of an SVG string. See an example below:
5951

6052
{% code title="icon-unicorn.js" %}
61-
62-
```typescript
53+
```javascript
6354
export default `<svg ...></svg>`;
6455
```
65-
6656
{% endcode %}
6757

6858
### Using Icons in your UI
6959

70-
The `umb-icon` element is automatically able to consume any registered icon.
71-
72-
The following example shows how to make a button using the above-registered icon.
60+
The `umb-icon` element can automatically consume any registered icon.
7361

7462
```html
75-
<uui-button compact label="Make the unicorn dance">
76-
<umb-icon name="myPackage-unicorn"></umb-icon>
77-
</uui-button>
63+
<umb-icon name="my-unicorn"></umb-icon>
7864
```

16/umbraco-engage/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Umbraco Engage is a marketing suite that helps marketers and developers create p
1010

1111
Explore the top features and learn more about Umbraco Engage on [Umbraco.com](https://umbraco.com/products/add-ons/engage/).
1212

13-
<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Install Umbraco Engage</strong></td><td>Ready to dive in? Check the installation guide to get started.</td><td><a href=".gitbook/assets/Documentations Icons_Umbraco_CMS_Install.png">Documentations Icons_Umbraco_CMS_Install.png</a></td><td><a href="installation/installation.md">installation.md</a></td></tr><tr><td><strong>Getting Started</strong></td><td>Get an overview and learn how to set up Umbraco Engage.</td><td><a href=".gitbook/assets/Documentations Icons_Umbraco_Cloud_Getting_Started.png">Documentations Icons_Umbraco_Cloud_Getting_Started.png</a></td><td><a href="getting-started/">getting-started</a></td></tr><tr><td><strong>Tutorials</strong></td><td>Find detailed step-by-step guides for personalization, analytics, A/B testing, and more.</td><td><a href=".gitbook/assets/Documentations Icons_Umbraco_CMS_Tutorials.png">Documentations Icons_Umbraco_CMS_Tutorials.png</a></td><td><a href="broken-reference/">broken-reference</a></td></tr></tbody></table>
13+
<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Install Umbraco Engage</strong></td><td>Ready to dive in? Check the installation guide to get started.</td><td><a href=".gitbook/assets/Documentations Icons_Umbraco_CMS_Install.png">Documentations Icons_Umbraco_CMS_Install.png</a></td><td><a href="installation/installation.md">installation.md</a></td></tr><tr><td><strong>Getting Started</strong></td><td>Get an overview and learn how to set up Umbraco Engage.</td><td><a href=".gitbook/assets/Documentations Icons_Umbraco_Cloud_Getting_Started.png">Documentations Icons_Umbraco_Cloud_Getting_Started.png</a></td><td><a href="getting-started/">getting-started</a></td></tr><tr><td><strong>Tutorials</strong></td><td>Find detailed step-by-step guides for personalization, analytics, A/B testing, and more.</td><td><a href=".gitbook/assets/Documentations Icons_Umbraco_CMS_Tutorials.png">Documentations Icons_Umbraco_CMS_Tutorials.png</a></td><td><a href="tutorials/">tutorials/README.md</a></td></tr></tbody></table>
1414

1515
## Quick Links
1616

16/umbraco-engage/tutorials/README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,22 @@ description: >-
88

99
Use the tutorials in this section to learn how Umbraco Engage works and set up specific scenarios on your website.
1010

11-
<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><a href="how-to-get-started-with-personalization.md">How to Get Started with Personalization</a></td><td><a href="how-to-get-started-with-personalization.md">how-to-get-started-with-personalization.md</a></td></tr><tr><td><a href="how-to-create-a-persona.md">How To Create Personas</a></td><td><a href="how-to-create-a-persona.md">how-to-create-a-persona.md</a></td></tr><tr><td><a href="create-a-personalized-popup-in-5-minutes.md">Create a Personalized Pop-up in 5 minutes</a></td><td><a href="create-a-personalized-popup-in-5-minutes.md">create-a-personalized-popup-in-5-minutes.md</a></td></tr></tbody></table>
11+
## [How to Get Started with Personalization](how-to-get-started-with-personalization.md)
12+
13+
Learn the foundational steps to personalize your website content by defining your target audience, scoring content, building segments, collecting data, and creating personalized experiences.
14+
15+
## [How To Create a Persona](how-to-create-a-persona.md)
16+
17+
Discover how to define and set up personas in Umbraco Engage to tailor your content to specific audience segments.
18+
19+
## [Create a Personalized Pop-up in 5 minutes](create-a-personalized-popup-in-5-minutes.md)
20+
21+
Quickly set up a targeted popup for your website visitors using Umbraco Engage's segmentation and personalization features.
1222

1323
## [How to set up an A/B Test](set-up-your-first-ab-test.md)
1424

25+
Learn the steps to plan, create, configure, and launch an A/B test on your Umbraco website to optimize performance.
26+
1527
## [Marketing Resources](marketing-resources/)
28+
29+
Access ready-to-use templates for topbars, popups, and exit-intent popups to enhance your website's marketing efforts without developer assistance.

16/umbraco-engage/tutorials/how-to-create-a-persona.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: On this page, you can learn how you can set up the Personas in Umbr
66

77
## Introduction
88

9-
Before setting up a Persona, we recommend you read the [Personas article](../marketers-and-editors/personalization/implicit-and-explicit-personalization/setting-up-personas.md) in the **Implicit and Explicit Personalization** section.
9+
Before setting up a Persona, it is recommended to read the [Personas article](../marketers-and-editors/personalization/implicit-and-explicit-personalization/setting-up-personas.md) in the **Implicit and Explicit Personalization** section.
1010

1111
Below you can find some resources on how to define a persona:
1212

umbraco-cloud/build-and-customize-your-solution/handle-deployments-and-environments/umbraco-cicd/umbracocloudapi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ curl -s -X GET https://api.cloud.umbraco.com/v2/projects/$projectId/deployments
8989
Artifacts are tied to a project. The uploaded artifact will be available to use in any deployment to an environment on that project.\
9090
The artifact needs to be a zip file with the source code needed to build your website.
9191

92-
[Read about artifact Best Practices](../../../set-up/project-settings/umbraco-cicd/ArtifactBestPractice.md).
92+
[Read about artifact Best Practices](samplecicdpipeline/artifact-best-practice.md).
9393

9494
```http
9595
@projectId = Get this value from the portal

0 commit comments

Comments
 (0)