diff --git a/docs/_assets/demos/dog.png b/docs/_assets/demos/dog.png new file mode 100644 index 00000000..07743e51 Binary files /dev/null and b/docs/_assets/demos/dog.png differ diff --git a/docs/_assets/demos/image_card.jpg b/docs/_assets/demos/image_card.jpg new file mode 100644 index 00000000..23a5822f Binary files /dev/null and b/docs/_assets/demos/image_card.jpg differ diff --git a/docs/_assets/demos/welcome_card.jpg b/docs/_assets/demos/welcome_card.jpg new file mode 100644 index 00000000..af7f15f3 Binary files /dev/null and b/docs/_assets/demos/welcome_card.jpg differ diff --git a/docs/_pages/components.md b/docs/_pages/components.md index 29825c72..53ea7798 100644 --- a/docs/_pages/components.md +++ b/docs/_pages/components.md @@ -61,6 +61,18 @@ categories: components: - name: card class: mdl-card + snippets: + - snippet_group: + - caption: Wide + file: wide.html + - snippet_group: + - caption: Square + file: square.html + - snippet_group: + - caption: Image + file: image.html + - caption: Event + file: event.html - name: layout title: Layout description: Building blocks for constructing a page layout. diff --git a/src/card/demo.css b/src/card/demo.css deleted file mode 100644 index 1bcef4bb..00000000 --- a/src/card/demo.css +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright 2015 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -.demo-page--card .mdl-card { - margin: 20px; -} - -.demo-card--wide { - width: 600px; -} diff --git a/src/card/demo.html b/src/card/demo.html deleted file mode 100644 index 3a47dad8..00000000 --- a/src/card/demo.html +++ /dev/null @@ -1,68 +0,0 @@ -