Skip to content

Commit 25d163b

Browse files
committed
Change document title
1 parent 86882a6 commit 25d163b

File tree

10 files changed

+27
-10
lines changed

10 files changed

+27
-10
lines changed

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default {
4848
data() {
4949
return {
5050
loginText: "Login",
51-
supporters: "Ronan.N, Rohan.P, Liam.J, Merideth.O"
51+
supporters: "Jack, Rohan, Liam, Merideth"
5252
};
5353
},
5454
created() {

src/assets/editor.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
@import "./tooltips.scss";
33
.page.editor {
44
min-height: 100vh;
5+
.collaberatorsContainer {
6+
margin-top: 5%;
7+
margin-bottom: 5%;
8+
}
59
#editor,
610
.ql-editor {
711
min-height: 100vh;
@@ -76,7 +80,6 @@
7680
white-space: nowrap;
7781
text-overflow: ellipsis;
7882
}
79-
.share-button {}
8083
.last-edited {
8184
margin-bottom: 0;
8285
font-weight: 100;
@@ -96,4 +99,5 @@
9699
-webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
97100
-moz-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
98101
}
102+
99103
}

src/assets/tooltips.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.tooltip {
22
display: block !important;
3-
z-index: 10000;
3+
z-index: 100000;
44
.tooltip-inner {
55
background: black;
66
color: white;

src/components/documents.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export default {
6767
shareOffers: false
6868
}),
6969
created() {
70+
document.title = `Graphite Writer | Documents`
7071
firebase.auth().onAuthStateChanged(user => {
7172
if (user) {
7273
this.uid = user.uid;

src/components/editor.vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@
3535
<h3>Shareable Link (view only)</h3>
3636
<a>https://beta.graphitewriter.com/#/s/{{shareUrl}}</a>
3737

38-
<h3>Collaberators</h3>
39-
<div>
40-
<i class="user" v-for="user in users" :key="user.uid" v-tooltip="user.name">
41-
<img :src="user.profile_picture" :alt="user.name" class="round-profile big" @click="removeUser(user)" >
38+
39+
<div class="collaberatorsContainer">
40+
<h3>Collaberators</h3>
41+
<i class="user" v-for="user in users" :key="user.uid" >
42+
<img :src="user.profile_picture" :alt="user.name" class="round-profile big" @click="removeUser(user)" v-tooltip="{content: user.name, placement: 'bottom-center'}" >
4243
&nbsp;
4344
</i>
4445
</div>
@@ -346,6 +347,7 @@ export default {
346347
this.docMeta = snapshot.val();
347348
let date = new Date();
348349
date = date.toString();
350+
document.title = `Graphite Writer | ${this.docMeta.title}`
349351
firebase
350352
.database()
351353
.ref(`/users/${this.uid}/docs/${this.docId}/`)

src/components/fourOhFour.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
<script>
1010
import "@/assets/fourOhFour.scss";
1111
export default {
12-
name: "fourOhFour"
12+
name: "fourOhFour",
13+
created() {
14+
document.title = "Graphite Writer | 404"
15+
}
1316
};
1417
</script>
1518

src/components/home.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
import "../assets/home.scss";
4444
export default {
4545
name: "home",
46-
data: () => ({})
46+
data: () => ({}),
47+
created() {
48+
document.title = "Graphite Writer BETA v0.4.0 | Create Text Documents Online For Free"
49+
}
4750
};
4851
</script>

src/components/login.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const gitHub = new firebase.auth.GithubAuthProvider();
2020
export default {
2121
name: "login",
2222
created() {
23+
document.title = `Graphite Writer | Login`
2324
console.log(localStorage.getItem("redirect") + " params");
2425
firebase
2526
.auth()

src/components/update.vue

Whitespace-only changes.

src/components/v2.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
import "../assets/v2.scss";
88
export default {
99
name: "v2",
10-
data: () => ({})
10+
data: () => ({}),
11+
created() {
12+
document.title = "Graphite Writer | Whats New"
13+
}
1114
};
1215
</script>

0 commit comments

Comments
 (0)