Skip to content

Commit 77f989d

Browse files
committed
docs: move Image Directive guide link to the Feature Preview section
This commit updates the location of the Image Directive guide link in the left navigation menu. Now the link is located under the Feature Preview section. Also, this commit updates the Image Directive guides to add a highlighted message that the directive is in the developer preview mode.
1 parent 4eff4d3 commit 77f989d

4 files changed

Lines changed: 22 additions & 10 deletions

File tree

aio/content/guide/image-directive-setup.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Setting up `NgOptimizedImage`
22

3+
<div class="alert is-important">
4+
5+
The `NgOptimizedImage` directive is available for [developer preview](https://angular.io/guide/releases#developer-preview).
6+
It's ready for you to try, but it might change before it is stable.
7+
8+
</div>
9+
310
This tutorial explains how to set up the `NgOptimizedImage`. For information on using `NgOptimizedImage`, see [Getting Started with NgOptimizedImage](/guide/image-directive).
411

512
## Import `NgOptimizedImage`

aio/content/guide/image-directive.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Getting started with NgOptimizedImage
22

3-
Note: the `NgOptimizedImage` directive is currently in the ["Developer Preview" mode](https://angular.io/guide/releases#developer-preview). The Angular team will stabilize the APIs based on the feedback and will make an announcement once the APIs are fully stable.
3+
<div class="alert is-important">
4+
5+
The `NgOptimizedImage` directive is available for [developer preview](https://angular.io/guide/releases#developer-preview).
6+
It's ready for you to try, but it might change before it is stable.
7+
8+
</div>
49

510
The `NgOptimizedImage` directive makes it easy to adopt performance best practices for loading images.
611

aio/content/guide/standalone-components.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Getting started with standalone components
22

3-
In v14 and higher, **standalone components** provide a simplified way to build Angular applications. Standalone components, directives, and pipes aim to streamline the authoring experience by reducing the need for `NgModule`s. Existing applications can optionally and incrementally adopt the new standalone style without any breaking changes.
4-
53
<div class="alert is-important">
64

7-
The standalone component feature is available for developer preview.
8-
It's ready for you to try; but it might change before it is stable.
5+
The standalone component feature is available for [developer preview](https://angular.io/guide/releases#developer-preview).
6+
It's ready for you to try, but it might change before it is stable.
97

108
</div>
119

10+
In v14 and higher, **standalone components** provide a simplified way to build Angular applications. Standalone components, directives, and pipes aim to streamline the authoring experience by reducing the need for `NgModule`s. Existing applications can optionally and incrementally adopt the new standalone style without any breaking changes.
11+
1212
## Creating standalone components
1313

1414
### The `standalone` flag and component `imports`

aio/content/navigation.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -637,11 +637,6 @@
637637
"url": "guide/prerendering",
638638
"title": "Prerendering",
639639
"tooltip": "Prerender HTML server-side with Angular Universal."
640-
},
641-
{
642-
"url": "guide/image-directive",
643-
"title": "Image Directive",
644-
"tooltip": "Performant images with the Angular image directive."
645640
}
646641
]
647642
},
@@ -861,6 +856,11 @@
861856
"url": "guide/standalone-components",
862857
"title": "Standalone components",
863858
"tooltip": "Standalone components, directives and pipes"
859+
},
860+
{
861+
"url": "guide/image-directive",
862+
"title": "Image Directive",
863+
"tooltip": "Performant images with the Angular image directive."
864864
}
865865
]
866866
},

0 commit comments

Comments
 (0)