From d03d2e9928329989a22b52e95c649d6c984eed89 Mon Sep 17 00:00:00 2001 From: Thorn Walli Date: Mon, 23 Sep 2024 18:08:19 +0200 Subject: [PATCH] docs(content): update --- docs/src/components/content-container.md | 6 +++--- docs/src/composables/use-content-container.md | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/src/components/content-container.md b/docs/src/components/content-container.md index e261129..7513b65 100644 --- a/docs/src/components/content-container.md +++ b/docs/src/components/content-container.md @@ -6,11 +6,11 @@ Optionally, the composable [`useContentContainer`](../composables/use-content-container) can also be used as a wrapper. ::: -The `ContentContainer` is used to map the depth of the page structure. +The `ContentContainer` is used to map the depth of the element structure. -With each nested `ContentContainer` the page structure becomes one level deeper (`level`). +With each nested `ContentContainer` the element structure becomes one level deeper (`level`). -The appropriate HTML element for the page structure is determined based on the `level`. +The appropriate HTML element for the page structure is determined based on the `level`. (e.g. `main`, `section`, `article`) ## Properties diff --git a/docs/src/composables/use-content-container.md b/docs/src/composables/use-content-container.md index c7da7dc..059ece0 100644 --- a/docs/src/composables/use-content-container.md +++ b/docs/src/composables/use-content-container.md @@ -6,14 +6,12 @@ Optionally, the component [``](../components/content-container) can also be used as a wrapper. ::: -The composable `useContentContainer` is used to map the depth of the page structure. +The composable `useContentContainer()` is used to map the depth of the page structure. -With each call of `useContentContainer()` in nested components, the level of the page structure is increased by one level (`level`). +With each call of `useContentContainer()` in nested components, the `level` of the element structure is increased by one `level`. The appropriate HTML element for the page structure is determined based on the `level`. (e.g. `main`, `section`, `article`) -Translated with DeepL.com (free version) - ```vue