mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
docs(demos): outline new card sections
This commit is contained in:
18
demos/component-docs/cards/cards-basic.html
Normal file
18
demos/component-docs/cards/cards-basic.html
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
<ion-navbar *navbar class="show-navbar">
|
||||||
|
<ion-title>Basic Cards</ion-title>
|
||||||
|
</ion-navbar>
|
||||||
|
|
||||||
|
<ion-content class="has-header components-demo">
|
||||||
|
|
||||||
|
TODO
|
||||||
|
<ion-card>
|
||||||
|
|
||||||
|
</ion-card>
|
||||||
|
|
||||||
|
|
||||||
|
</ion-content>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
17
demos/component-docs/cards/cards-header.html
Normal file
17
demos/component-docs/cards/cards-header.html
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
<ion-navbar *navbar class="show-navbar">
|
||||||
|
<ion-title>Card Headers</ion-title>
|
||||||
|
</ion-navbar>
|
||||||
|
|
||||||
|
<ion-content class="has-header components-demo">
|
||||||
|
|
||||||
|
TODO
|
||||||
|
<ion-card>
|
||||||
|
|
||||||
|
</ion-card>
|
||||||
|
|
||||||
|
</ion-content>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
<ion-navbar *navbar class="show-navbar">
|
<ion-navbar *navbar class="show-navbar">
|
||||||
<ion-title>Cards</ion-title>
|
<ion-title>Card Images</ion-title>
|
||||||
</ion-navbar>
|
</ion-navbar>
|
||||||
|
|
||||||
<ion-content class="has-header components-demo">
|
<ion-content class="has-header components-demo">
|
18
demos/component-docs/cards/cards-list.html
Normal file
18
demos/component-docs/cards/cards-list.html
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
<ion-navbar *navbar class="show-navbar">
|
||||||
|
<ion-title>Card Lists</ion-title>
|
||||||
|
</ion-navbar>
|
||||||
|
|
||||||
|
<ion-content class="has-header components-demo">
|
||||||
|
|
||||||
|
TODO
|
||||||
|
<ion-card>
|
||||||
|
|
||||||
|
</ion-card>
|
||||||
|
|
||||||
|
|
||||||
|
</ion-content>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,9 +1,37 @@
|
|||||||
import {Page} from 'ionic/ionic';
|
import {Page} from 'ionic/ionic';
|
||||||
|
|
||||||
@Page({
|
@Page({
|
||||||
templateUrl: 'cards/cards.html',
|
templateUrl: 'cards/cards-basic.html',
|
||||||
})
|
})
|
||||||
export class CardsPage {
|
export class CardsBasicPage {
|
||||||
|
constructor() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Page({
|
||||||
|
templateUrl: 'cards/cards-header.html',
|
||||||
|
})
|
||||||
|
export class CardsHeaderPage {
|
||||||
|
constructor() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Page({
|
||||||
|
templateUrl: 'cards/cards-list.html',
|
||||||
|
})
|
||||||
|
export class CardsListPage {
|
||||||
|
constructor() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Page({
|
||||||
|
templateUrl: 'cards/cards-image.html',
|
||||||
|
})
|
||||||
|
export class CardsImagePage {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,10 @@ import {ButtonsPage,
|
|||||||
IconButtonsPage,
|
IconButtonsPage,
|
||||||
ButtonsInComponentsPage} from './buttons/buttons';
|
ButtonsInComponentsPage} from './buttons/buttons';
|
||||||
|
|
||||||
import {CardsPage} from './cards/cards';
|
import {CardsBasicPage,
|
||||||
|
CardsImagePage,
|
||||||
|
CardsHeaderPage,
|
||||||
|
CardsListPage} from './cards/cards';
|
||||||
|
|
||||||
import {FormsPage,
|
import {FormsPage,
|
||||||
FixedInlinePage,
|
FixedInlinePage,
|
||||||
@ -63,7 +66,11 @@ export function getPageFor(hash) {
|
|||||||
'buttons-in-components': ButtonsInComponentsPage,
|
'buttons-in-components': ButtonsInComponentsPage,
|
||||||
'button-sizes': ButtonSizesPage,
|
'button-sizes': ButtonSizesPage,
|
||||||
'icon-buttons': IconButtonsPage,
|
'icon-buttons': IconButtonsPage,
|
||||||
'cards': CardsPage,
|
|
||||||
|
'cards': CardsBasicPage,
|
||||||
|
'card-header': CardsHeaderPage,
|
||||||
|
'card-list': CardsListPage,
|
||||||
|
'card-image': CardsImagePage,
|
||||||
|
|
||||||
'forms': FormsPage,
|
'forms': FormsPage,
|
||||||
'fixed-inline-labels': FixedInlinePage,
|
'fixed-inline-labels': FixedInlinePage,
|
||||||
|
Reference in New Issue
Block a user