From f1135f19a47429d9a117eda0c611a32ff6a32f41 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Wed, 5 Apr 2023 17:26:28 -0400 Subject: [PATCH 1/3] docs(layout): update structure docs to use new playground examples resolves #594 --- docs/layout/structure.md | 209 ++++----------------------------------- 1 file changed, 20 insertions(+), 189 deletions(-) diff --git a/docs/layout/structure.md b/docs/layout/structure.md index 9444db48480..e8650e2a930 100644 --- a/docs/layout/structure.md +++ b/docs/layout/structure.md @@ -20,217 +20,48 @@ Ionic Framework provides several different layouts that can be used to structure ### Header - - The most simple layout available consists of a [header](../api/header.md) and [content](../api/content.md). Most pages in an app generally have both of these, but a header is not required in order to use content. -```html - - - - Header - - +import Header from '@site/static/usage/v7/header/basic/index.md'; - -

Main Content

-
-
-``` +
### Footer - - -As you can see, a toolbar in a header appears above the content. Sometimes an app needs to have a toolbar below the content, which is when a footer is used. - -```html - - -

Main Content

-
+While a toolbar in a header appears above the content, a footer appears below the content. A header and a footer can also be used together on the same page. - - - Footer - - -
-``` +import Footer from '@site/static/usage/v7/footer/basic/index.md'; -### Header and Footer +