diff --git a/nuxt.config.ts b/nuxt.config.ts index fbd94e8..320fb28 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -75,7 +75,6 @@ export default defineNuxtConfig({ runtimeConfig: { public: { dev: process.env.NODE_ENV === "production" ? false : true, - reasonsFlag: false, }, }, }) diff --git a/pages/experiments.vue b/pages/experiments.vue index 7e2a097..b8a99de 100644 --- a/pages/experiments.vue +++ b/pages/experiments.vue @@ -35,6 +35,15 @@ Why not Essential? +

+ Current Selection: {{ whyNot }} +

+ Set to {{ !whyNot }} @@ -45,6 +54,8 @@ useSeoMeta({ title: "Experiments", }) +const whyNot = useCookie("whyNotEssential", { default: false }) + const { locale, locales, setLocale } = useI18n() const availableLocales = computed(() => { diff --git a/pages/index.vue b/pages/index.vue index 13ec0e1..6e2e209 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -20,22 +20,22 @@ - + - + In case it wasn't clear, don't harrass any people affiliated with Essential. We simply find that the flaws with Essential make it undesirable in most modded Minecraft circumstances. We do not have any conflicts with anybody at Essential. - with from all at the NotEssential team @@ -49,7 +49,7 @@ if (Math.floor(Math.random() * 10000) === 0) { minecraftText.value = "MINCERAFT" } -const runtimeConfig = useRuntimeConfig() +const whyNot = useCookie("whyNotEssential", { default: false }) const reasonsWhy = [ {