diff --git a/src/components/app/app-demo.ts b/src/components/app/app-demo.ts
index 3538b67..354cd8a 100644
--- a/src/components/app/app-demo.ts
+++ b/src/components/app/app-demo.ts
@@ -30,16 +30,15 @@ export default class AppDemo
app.showRating = true
app.$alert(
- 'This demo analyzes an offline snapshot of my data from Jun 6, 2020,
' +
+ 'This demo analyzes an offline snapshot of my data from Jun 6, 2020, ' +
'which displays my academic results from Junior year.
' +
'
' +
- 'Online features like submitting reviews obviously won\'t work,
' +
- 'Besides from that, feel free to click around! ๐
' +
+ 'Feel free to click around! ๐
' +
'
' +
'-- The Veracross Analyzer Team (YGui)
' +
'-- Made with ๐งก in SJP',
'๐ฅณ Welcome to VeracrossAnalyzer Demo!',
- {dangerouslyUseHTMLString: true, confirmButtonText: 'OK', customClass: 'comic'});
+ {dangerouslyUseHTMLString: true, confirmButtonText: 'OK'});
})
})
}
diff --git a/src/components/app/app.scss b/src/components/app/app.scss
index 7d438ae..f64eb42 100644
--- a/src/components/app/app.scss
+++ b/src/components/app/app.scss
@@ -1,6 +1,12 @@
+div
+{
+ font-family: -apple-system, Nunito Sans, Avenir, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
+ Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue,
+ Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, Helvetica, Arial, sans-serif;
+}
+
#app
{
- font-family: var(--font);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
@@ -23,11 +29,6 @@
--assignment-type-2: #3f991e;
--assignment-type-3: #ff9900;
--assignment-type-4: #b02b02;
-
- //--font: 'Avenir', Helvetica, Arial, sans-serif;
- --font: -apple-system, Nunito Sans, Avenir, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
- Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue,
- Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, Helvetica, Arial, sans-serif;
}
.dark
@@ -149,3 +150,11 @@ div.el-card.course-card > div.el-card__body
{
font-family: "Comic Sans MS", Nunito Sans, Helvetica Neue, Microsoft YaHei, "ๅพฎ่ฝฏ้
้ป", Arial, sans-serif;
}
+
+#demo-not-available
+{
+ padding-top: 40vh;
+ font-size: 2em;
+ color: #bbbbbb;
+ margin: 0 50px;
+}
diff --git a/src/components/app/app.ts b/src/components/app/app.ts
index 996db98..f1046b6 100644
--- a/src/components/app/app.ts
+++ b/src/components/app/app.ts
@@ -54,7 +54,7 @@ export default class App extends Vue
showRating: boolean = this.$cookies.get('show-rating') == 'set=yes';
// Demo mode
- demoMode: boolean = window.location.hostname == 'demo.vera.hydev.org'
+ demoMode: boolean = window.location.hostname == 'demo.vera.hydev.org' || this.$cookies.isKey('demo-mode')
// Is the login panel shown
showLogin: boolean = !this.demoMode
diff --git a/src/components/app/app.vue b/src/components/app/app.vue
index ddf6512..3855da6 100644
--- a/src/components/app/app.vue
+++ b/src/components/app/app.vue
@@ -10,7 +10,10 @@