Skip to content

Commit

Permalink
feat(upgrade): create upgrade page
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Aug 11, 2018
1 parent 9e9d362 commit dbcccea
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 7 deletions.
7 changes: 2 additions & 5 deletions src/components/core/Drawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@
/>
</v-list-tile>
<v-list-tile
active-class="secondary"
class="v-list__tile--buy"
@click="() => {}"
to="/upgrade"
>
<v-list-tile-action>
<v-icon>mdi-package-up</v-icon>
Expand Down Expand Up @@ -139,10 +140,6 @@ export default {
&--buy {
margin-top: auto;
.v-list__tile {
background: #4caf50;
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions src/router/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,10 @@ export default [
{
path: '/notifications',
view: 'Notifications'
},
{
path: '/upgrade',
name: 'Upgrade to PRO',
view: 'Upgrade'
}
]
4 changes: 2 additions & 2 deletions src/views/TableList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class="pa-3"
>
<div class="title font-weight-light mb-2">Simple Table</div>
<div class="subheading font-weight-thin grey--text text--lighten-2">Here is a subtitle for this table</div>
<div class="subheading font-weight-thin grey--text text--lighten-3">Here is a subtitle for this table</div>
</div>

<v-data-table
Expand Down Expand Up @@ -64,7 +64,7 @@
>
<div class="pa-3">
<div class="title font-weight-light mb-2">Table on Plain Background</div>
<div class="subheading font-weight-thin grey--text text--lighten-2">Here is a subtitle for this table</div>
<div class="subheading font-weight-thin grey--text text--lighten-3">Here is a subtitle for this table</div>
</div>
</v-card>

Expand Down
90 changes: 90 additions & 0 deletions src/views/Upgrade.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<template>
<v-container>
<v-layout justify-center>
<v-flex
xs12
sm10
md8
>
<material-card color="primary">
<div
slot="header"
class="pa-3"
>
<div class="title font-weight-light mb-2">Vue Material Dashboard PRO</div>
<div class="subheading font-weight-thin grey--text text--lighten-3">Are you looking for more components? Please check our Premium Version of Vue Material Dashboard.</div>
</div>

<table class="v-table">
<thead>
<tr>
<th/>
<th class="subheading font-weight-light">Free</th>
<th class="subheading font-weight-light">PRO</th>
</tr>
</thead>
<tbody class="text-xs-center">
<tr>
<th class="text-xs-left font-weight-light subheading">Components</th>
<td>60</td>
<td>200</td>
</tr>
<tr>
<th class="text-xs-left font-weight-light subheading">Plugins</th>
<td>2</td>
<td>15</td>
</tr>
<tr>
<th class="text-xs-left font-weight-light subheading">Example Pages</th>
<td>3</td>
<td>27</td>
</tr>
<tr>
<th class="text-xs-left font-weight-light subheading">Login, Register, Pricing, Lock Pages</th>
<td>
<v-icon color="error">mdi-close</v-icon>
</td>
<td>
<v-icon color="success">mdi-check</v-icon>
</td>
</tr>
<tr>
<th class="text-xs-left font-weight-light subheading">Premium Support</th>
<td>
<v-icon color="error">mdi-close</v-icon>
</td>
<td>
<v-icon color="success">mdi-check</v-icon>
</td>
</tr>
<tr>
<th/>
<td>Free</td>
<td>Just $59</td>
</tr>
<tr>
<th/>
<td>
<v-btn
class="subheading white--text font-weight-light"
round
large
color="grey"
>Current Version</v-btn>
</td>
<td>
<v-btn
class="subheading white--text font-weight-light"
round
large
color="cyan"
>Upgrade to Pro</v-btn>
</td>
</tr>
</tbody>
</table>
</material-card>
</v-flex>
</v-layout>
</v-container>
</template>

0 comments on commit dbcccea

Please sign in to comment.