Skip to content

Commit fc9d375

Browse files
committed
Add style to about page and bump version
Last update broke updates, should fix this
1 parent c728db0 commit fc9d375

File tree

3 files changed

+58
-7
lines changed

3 files changed

+58
-7
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "open-gamers-library",
3-
"version": "0.1.1",
3+
"productName": "OGL",
4+
"version": "0.1.2",
45
"private": true,
56
"description": "Open Gamers' Library - Hoard, play and rate your games!",
67
"author": {
@@ -58,6 +59,5 @@
5859
"vue-cli-service lint",
5960
"git add"
6061
]
61-
},
62-
"productName": "OGL"
62+
}
6363
}

src/assets/logo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/views/About.vue

Lines changed: 55 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,52 @@
11
<template>
22
<div class="profile">
3-
<h1>About</h1>
4-
<p>Made with <v-icon>mdi-heart</v-icon></p>
5-
<p>OGL Version {{ version }}</p>
3+
<v-container fluid>
4+
<v-row align="center" justify="center">
5+
<v-col cols="10">
6+
<v-card>
7+
<v-card-title>
8+
<h1>About</h1>
9+
</v-card-title>
10+
<v-card-subtitle>
11+
Made with <v-icon>mdi-heart</v-icon>
12+
</v-card-subtitle>
13+
<v-card-text>
14+
<v-row>
15+
<v-col cols="12" md="6">
16+
<p>OGL Version {{ version }}</p>
17+
<span>Scheme</span>
18+
<v-switch v-model="$vuetify.theme.dark" primary label="Dark" />
19+
</v-col>
20+
<v-col cols="12" md="6">
21+
<span>Drawer</span>
22+
<v-radio-group v-model="primaryDrawer.type" column>
23+
<v-radio
24+
v-for="drawer in drawers"
25+
:key="drawer"
26+
:label="drawer"
27+
:value="drawer.toLowerCase()"
28+
primary
29+
/>
30+
</v-radio-group>
31+
<v-switch v-model="primaryDrawer.clipped" label="Clipped" primary />
32+
<v-switch v-model="primaryDrawer.floating" label="Floating" primary />
33+
<v-switch v-model="primaryDrawer.mini" label="Mini" primary />
34+
</v-col>
35+
<v-col cols="12" md="6">
36+
<span>Footer</span>
37+
<v-switch label="Inset" primary />
38+
</v-col>
39+
</v-row>
40+
</v-card-text>
41+
<v-card-actions>
42+
<v-spacer />
43+
<v-btn text>Cancel</v-btn>
44+
<v-btn text color="primary">Submit</v-btn>
45+
</v-card-actions>
46+
</v-card>
47+
</v-col>
48+
</v-row>
49+
</v-container>
650
</div>
751
</template>
852

@@ -15,6 +59,14 @@ export default {
1559
// Header
1660
},
1761
data: () => ({
62+
drawers: ['Default (no property)', 'Permanent', 'Temporary'],
63+
primaryDrawer: {
64+
model: null,
65+
type: 'default (no property)',
66+
clipped: false,
67+
floating: false,
68+
mini: false
69+
},
1870
version: remote.app.getVersion()
1971
})
2072
}

0 commit comments

Comments
 (0)