mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
refactor: 🔥 Remove old code
This commit is contained in:
parent
82a7b66abe
commit
4d086dce80
6
app.vue
6
app.vue
|
|
@ -14,7 +14,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import "~/styles/theme.css";
|
|
||||||
import "~/styles/index.css";
|
import "~/styles/index.css";
|
||||||
import { convert } from "html-to-text";
|
import { convert } from "html-to-text";
|
||||||
import ConfirmationModal from "./components/modals/confirm.vue";
|
import ConfirmationModal from "./components/modals/confirm.vue";
|
||||||
|
|
@ -71,11 +70,6 @@ useHead({
|
||||||
htmlAttrs: {
|
htmlAttrs: {
|
||||||
lang: "en",
|
lang: "en",
|
||||||
},
|
},
|
||||||
noscript: [
|
|
||||||
{
|
|
||||||
innerHTML: `<div class="grid min-h-screen place-items-center px-6 py-24 sm:py-32 lg:px-8 fixed inset-0 z-[1000000] bg-dark-900" data-v-inspector="components/errors/noscript.vue:2:5"><svg class="absolute inset-0 h-full w-full stroke-white/10 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)]" aria-hidden="true" data-v-inspector="components/graphics/square-pattern.vue:2:5"><defs data-v-inspector="components/graphics/square-pattern.vue:4:9"><pattern id="983e3e4c-de6d-4c3f-8d64-b9761d1534cc" width="200" height="200" x="50%" y="-1" patternUnits="userSpaceOnUse" data-v-inspector="components/graphics/square-pattern.vue:5:13"><path d="M.5 200V.5H200" fill="none" data-v-inspector="components/graphics/square-pattern.vue:7:17"></path></pattern></defs><svg x="50%" y="-1" class="overflow-visible fill-gray-800/20" data-v-inspector="components/graphics/square-pattern.vue:9:16"><path d="M-200 0h201v201h-201Z M600 0h201v201h-201Z M-400 600h201v201h-201Z M200 800h201v201h-201Z" stroke-width="0" data-v-inspector="components/graphics/square-pattern.vue:10:13"></path></svg><rect width="100%" height="100%" stroke-width="0" fill="url(#983e3e4c-de6d-4c3f-8d64-b9761d1534cc)" data-v-inspector="components/graphics/square-pattern.vue:13:9"></rect></svg><div class="prose prose-invert max-w-lg" data-v-inspector="components/errors/noscript.vue:4:9"><h1 class="mt-4 text-3xl font-bold tracking-tight text-gray-100 sm:text-5xl" data-v-inspector="components/errors/noscript.vue:5:13">JavaScript is disabled </h1><p class="mt-6 text-base leading-7 text-gray-400" data-v-inspector="components/errors/noscript.vue:7:13"> This website requires JavaScript to function properly. Please enable JavaScript in your browser settings. </p><p class="mt-6 text-base leading-7 text-gray-400" data-v-inspector="components/errors/noscript.vue:11:13"> If you are using a browser that does not support JavaScript, please consider using a modern browser like <a href="https://www.mozilla.org/firefox/new/" class="underline" data-v-inspector="components/errors/noscript.vue:13:22">Firefox</a> or <a href="https://www.google.com/chrome/" class="underline" data-v-inspector="components/errors/noscript.vue:13:102">Chrome</a>. </p><p class="mt-6 text-base leading-7 text-gray-400" data-v-inspector="components/errors/noscript.vue:16:13"> This application does not track you, collect user data, use cookies of any kind or send requests to servers outside of your account's instance. </p></div></div>`,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (code && appData.value && route.path !== "/oauth/code") {
|
if (code && appData.value && route.path !== "/oauth/code") {
|
||||||
|
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
:root {
|
|
||||||
--theme-dark-50: #4a4a4a;
|
|
||||||
--theme-dark-100: #3c3c3c;
|
|
||||||
--theme-dark-200: #323232;
|
|
||||||
--theme-dark-300: #2d2d2d;
|
|
||||||
--theme-dark-400: #222222;
|
|
||||||
--theme-dark-500: #1f1f1f;
|
|
||||||
--theme-dark-600: #1c1c1e;
|
|
||||||
--theme-dark-700: #1b1b1b;
|
|
||||||
--theme-dark-800: #181818;
|
|
||||||
--theme-dark-900: #0f0f0f;
|
|
||||||
--theme-dark-950: #080808;
|
|
||||||
|
|
||||||
--theme-primary-50: #fdf2f8;
|
|
||||||
--theme-primary-100: #fce7f3;
|
|
||||||
--theme-primary-200: #fbcfe8;
|
|
||||||
--theme-primary-300: #f9a8d4;
|
|
||||||
--theme-primary-400: #f472b6;
|
|
||||||
--theme-primary-500: #ec4899;
|
|
||||||
--theme-primary-600: #db2777;
|
|
||||||
--theme-primary-700: #be185d;
|
|
||||||
--theme-primary-800: #9d174d;
|
|
||||||
--theme-primary-900: #831843;
|
|
||||||
--theme-primary-950: #500724;
|
|
||||||
}
|
|
||||||
|
|
@ -30,8 +30,6 @@ export default (<Config>{
|
||||||
},
|
},
|
||||||
extend: {
|
extend: {
|
||||||
colors: {
|
colors: {
|
||||||
dark: themeVariables("dark"),
|
|
||||||
primary2: themeVariables("primary"),
|
|
||||||
border: "hsl(var(--border))",
|
border: "hsl(var(--border))",
|
||||||
input: "hsl(var(--input))",
|
input: "hsl(var(--input))",
|
||||||
ring: "hsl(var(--ring))",
|
ring: "hsl(var(--ring))",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue