mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(demos): outline advanced card section
This commit is contained in:
@@ -134,3 +134,12 @@ ion-card ion-card-content.buttons-in-components img {
|
||||
ion-card.buttons-in-components {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
ion-card.cards-list-demo ion-card-header {
|
||||
color: #387df5;
|
||||
}
|
||||
|
||||
ion-card.cards-list-demo a > icon {
|
||||
color: #444444;
|
||||
}
|
||||
|
||||
|
||||
17
demos/component-docs/cards/cards-advanced-image.html
Normal file
17
demos/component-docs/cards/cards-advanced-image.html
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
<ion-navbar *navbar class="show-navbar">
|
||||
<ion-title>Advanced: Image</ion-title>
|
||||
</ion-navbar>
|
||||
|
||||
<ion-content class="has-header components-demo">
|
||||
|
||||
<ion-card>
|
||||
|
||||
<ion-card-content>
|
||||
This is just your basic card with some text to boot. Like it? Keep scrolling...
|
||||
</ion-card-content>
|
||||
|
||||
</ion-card>
|
||||
|
||||
|
||||
</ion-content>
|
||||
21
demos/component-docs/cards/cards-advanced-map.html
Normal file
21
demos/component-docs/cards/cards-advanced-map.html
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
<ion-navbar *navbar class="show-navbar">
|
||||
<ion-title>Advanced: Map</ion-title>
|
||||
</ion-navbar>
|
||||
|
||||
<ion-content class="has-header components-demo">
|
||||
|
||||
<ion-card>
|
||||
|
||||
<ion-card-content>
|
||||
This is just your basic card with some text to boot. Like it? Keep scrolling...
|
||||
</ion-card-content>
|
||||
|
||||
</ion-card>
|
||||
|
||||
|
||||
</ion-content>
|
||||
|
||||
|
||||
|
||||
|
||||
21
demos/component-docs/cards/cards-advanced-social.html
Normal file
21
demos/component-docs/cards/cards-advanced-social.html
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
<ion-navbar *navbar class="show-navbar">
|
||||
<ion-title>Advanced: Social</ion-title>
|
||||
</ion-navbar>
|
||||
|
||||
<ion-content class="has-header components-demo">
|
||||
|
||||
<ion-card>
|
||||
|
||||
<ion-card-content>
|
||||
This is just your basic card with some text to boot. Like it? Keep scrolling...
|
||||
</ion-card-content>
|
||||
|
||||
</ion-card>
|
||||
|
||||
|
||||
</ion-content>
|
||||
|
||||
|
||||
|
||||
|
||||
21
demos/component-docs/cards/cards-background.html
Normal file
21
demos/component-docs/cards/cards-background.html
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
<ion-navbar *navbar class="show-navbar">
|
||||
<ion-title>Background Images</ion-title>
|
||||
</ion-navbar>
|
||||
|
||||
<ion-content class="has-header components-demo">
|
||||
|
||||
<ion-card>
|
||||
|
||||
<ion-card-content>
|
||||
This is just your basic card with some text to boot. Like it? Keep scrolling...
|
||||
</ion-card-content>
|
||||
|
||||
</ion-card>
|
||||
|
||||
|
||||
</ion-content>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
|
||||
<ion-content class="has-header components-demo">
|
||||
|
||||
<ion-card>
|
||||
<ion-card class="cards-list-demo">
|
||||
|
||||
<ion-card-header style="color: #387df5">
|
||||
<ion-card-header>
|
||||
Explore Nearby
|
||||
</ion-card-header>
|
||||
|
||||
|
||||
@@ -36,3 +36,39 @@ export class CardsImagePage {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Page({
|
||||
templateUrl: 'cards/cards-background.html',
|
||||
})
|
||||
export class CardsBackgroundPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Page({
|
||||
templateUrl: 'cards/cards-advanced-social.html',
|
||||
})
|
||||
export class CardsAdvancedSocialPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Page({
|
||||
templateUrl: 'cards/cards-advanced-map.html',
|
||||
})
|
||||
export class CardsAdvancedMapPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Page({
|
||||
templateUrl: 'cards/cards-advanced-image.html',
|
||||
})
|
||||
export class CardsAdvancedImagePage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,11 @@ import {ButtonsPage,
|
||||
import {CardsBasicPage,
|
||||
CardsImagePage,
|
||||
CardsHeaderPage,
|
||||
CardsListPage} from './cards/cards';
|
||||
CardsListPage,
|
||||
CardsBackgroundPage,
|
||||
CardsAdvancedMapPage,
|
||||
CardsAdvancedSocialPage,
|
||||
CardsAdvancedImagePage} from './cards/cards';
|
||||
|
||||
import {FormsPage,
|
||||
FixedInlinePage,
|
||||
@@ -71,6 +75,10 @@ export function getPageFor(hash) {
|
||||
'card-header': CardsHeaderPage,
|
||||
'card-list': CardsListPage,
|
||||
'card-image': CardsImagePage,
|
||||
'card-background-image': CardsBackgroundPage,
|
||||
'card-advanced-map': CardsAdvancedMapPage,
|
||||
'card-advanced-social': CardsAdvancedSocialPage,
|
||||
'card-advanced-image': CardsAdvancedImagePage,
|
||||
|
||||
'forms': FormsPage,
|
||||
'fixed-inline-labels': FixedInlinePage,
|
||||
|
||||
Reference in New Issue
Block a user