-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(demo): un-clutter and restyle demo as per discussion
- Loading branch information
Showing
11 changed files
with
60 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
<template> | ||
<div class="mdc-demo"> | ||
<mdc-card> | ||
<mdc-card-media height=100 :src="card" size="cover" position="center"> | ||
<mdc-card-header title="Vue.js" subtitle="is awesome" class="mdc-theme--dark"></mdc-card-header> | ||
<mdc-card-media height=150 :src="card" size="cover" position="center"> | ||
</mdc-card-media> | ||
<mdc-card-horizontal> | ||
<mdc-card-text> | ||
Vue (pronounced /vjuː/, like <strong>view</strong>) is a <strong>progressive framework</strong> for building user interfaces. Unlike other monolithic frameworks, Vue is designed from the ground up to be incrementally adoptable. The core library is focused on the view layer only, and is easy to pick up and integrate with other libraries or existing projects. On the other hand, Vue is also perfectly capable of powering sophisticated Single-Page Applications when used in combination with <a href="single-file-components.html">modern tooling</a> and <a href="https://github.com/vuejs/awesome-vue#components--libraries" target="_blank" rel="external">supporting libraries</a>. | ||
</mdc-card-text> | ||
<mdc-card-img :src="tile" mult=1.5 ></mdc-card-img> | ||
</mdc-card-horizontal> | ||
<mdc-card-header title="Title goes here" subtitle="subtitle here" ></mdc-card-header> | ||
<mdc-card-actions> | ||
<mdc-card-action-button href="https://vuejs.org/v2/guide/" >Documentation</mdc-card-action-button> | ||
<mdc-card-action-button href="https://github.com/vuejs" >Github</mdc-card-action-button> | ||
<mdc-card-action-button>ACTION 1</mdc-card-action-button> | ||
<mdc-card-action-button>ACTION 2</mdc-card-action-button> | ||
</mdc-card-actions> | ||
</mdc-card> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import card from 'demo/assets/vue-banner.png' | ||
import tile from 'demo/assets/vue-awesome.png' | ||
import card from 'demo/assets/card-16-9.jpg' | ||
export default { | ||
data () { | ||
return { | ||
tile, card | ||
card | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
|
||
<style> | ||
.mdc-demo .mdc-card { | ||
background-color: white; | ||
width: 320px; | ||
margin: 32px auto; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters