Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Commit 2038250

Browse files
committed
fix(website): remove doc
1 parent 01d690c commit 2038250

File tree

5 files changed

+2
-46
lines changed

5 files changed

+2
-46
lines changed

src/App.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ const theme = computed(() => {
9191
switch (notFoundMode.value) {
9292
case "troll-despair":
9393
return "troll-despair";
94-
case "doctor-wtf":
95-
return "doctor-wtf";
9694
case "pot-friend":
9795
return "pot-friend";
9896
default:

src/assets/scss/themes.scss

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,6 @@ $themes: (
4444
navBackgroundColor: black,
4545
footerBackgroundColor: black,
4646
),
47-
doctor-wtf: (
48-
color: white,
49-
extreme: black,
50-
primary: rgb(155, 50, 250),
51-
accent: black,
52-
warning: black,
53-
backgroundColor: #120458,
54-
navBackgroundColor: rgb(27, 76, 211),
55-
footerBackgroundColor: black,
56-
),
5747
pot-friend: (
5848
color: white,
5949
extreme: rgb(105, 105, 105),

src/components/base/DoctorWTF.vue

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/store/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ export const useStore = defineStore("main", {
113113
});
114114

115115
export type Theme = "light" | "dark";
116-
export type NotFoundMode = "troll-despair" | "doctor-wtf" | "pot-friend";
116+
export type NotFoundMode = "troll-despair" | "pot-friend";

src/views/404.vue

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
<h1>{{ t("notFound.troll_despair") }}</h1>
77
</span>
88
</div>
9-
<div v-else-if="mode === 'doctor-wtf'">
10-
<DoctorWTF class="doctor-wtf" />
11-
<span>
12-
<h1>{{ t("notFound.doctor_wtf") }}</h1>
13-
</span>
14-
</div>
159
<div v-else-if="mode === 'pot-friend'">
1610
<PotFriend class="pot-friend" />
1711
<span>
@@ -28,14 +22,13 @@ import { onBeforeUnmount } from "vue";
2822
import { useI18n } from "vue-i18n";
2923
import { useHead } from "@vueuse/head";
3024
import { NotFoundMode, useStore } from "@store/main";
31-
import DoctorWTF from "@/components/base/DoctorWTF.vue";
3225
import PotFriend from "@/components/base/PotFriend.vue";
3326
import Button from "@/components/utility/Button.vue";
3427
import TrollDespair from "@base/TrollDespair.vue";
3528
3629
const { t } = useI18n();
3730
const store = useStore();
38-
const modes = ["doctor-wtf", "troll-despair", "pot-friend"] as NotFoundMode[];
31+
const modes = ["troll-despair", "pot-friend"] as NotFoundMode[];
3932
const mode = modes[Math.floor(Math.random() * modes.length)];
4033
4134
store.setNotFoundMode(mode);

0 commit comments

Comments
 (0)