diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 6a36f4a..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - // TailwindCSS - "files.associations": { - "*.css": "tailwindcss" - }, - "editor.quickSuggestions": { - "strings": true - }, - "tailwindCSS.experimental.configFile": "tailwind.config.ts", - "tailwindCSS.experimental.classRegex": [ - ["ui:\\s*{([^)]*)\\s*}", "[\"'`]([^\"'`]*).*?[\"'`]"], - ["/\\*ui\\*/\\s*{([^;]*)}", ":\\s*[\"'`]([^\"'`]*).*?[\"'`]"] - ], - "tailwindCSS.classAttributes": [ - "class", - "ui" - ], - - // Enable the ESlint flat config support - "eslint.experimental.useFlatConfig": true, - - // Disable the default formatter, use eslint instead - "prettier.enable": false, - "editor.formatOnSave": false, - - // Auto fix - "editor.codeActionsOnSave": { - "source.fixAll.eslint": "explicit", - "source.organizeImports": "never" - }, - - // Silent the stylistic rules in you IDE, but still auto fix them - "eslint.rules.customizations": [ - { "rule": "style/*", "severity": "off" }, - { "rule": "*-indent", "severity": "off" }, - { "rule": "*-spacing", "severity": "off" }, - { "rule": "*-spaces", "severity": "off" }, - { "rule": "*-order", "severity": "off" }, - { "rule": "*-dangle", "severity": "off" }, - { "rule": "*-newline", "severity": "off" }, - { "rule": "*quotes", "severity": "off" }, - { "rule": "*semi", "severity": "off" } - ], - - // Enable eslint for all supported languages - "eslint.validate": [ - "javascript", - "javascriptreact", - "typescript", - "typescriptreact", - "vue", - "html", - "markdown", - "json", - "jsonc", - "yaml" - ], - - // Grammarly - "grammarly.files.include": ["**/*.txt", "**/*.md"] -} diff --git a/src/app.config.ts b/app.config.ts similarity index 100% rename from src/app.config.ts rename to app.config.ts diff --git a/src/app/router.options.ts b/app/router.options.ts similarity index 100% rename from src/app/router.options.ts rename to app/router.options.ts diff --git a/src/assets/css/main.scss b/assets/css/main.scss similarity index 100% rename from src/assets/css/main.scss rename to assets/css/main.scss diff --git a/src/assets/css/tailwind.css b/assets/css/tailwind.css similarity index 100% rename from src/assets/css/tailwind.css rename to assets/css/tailwind.css diff --git a/src/auth.d.ts b/auth.d.ts similarity index 100% rename from src/auth.d.ts rename to auth.d.ts diff --git a/src/components/Announcement.vue b/components/Announcement.vue similarity index 84% rename from src/components/Announcement.vue rename to components/Announcement.vue index dc19783..0aae754 100644 --- a/src/components/Announcement.vue +++ b/components/Announcement.vue @@ -12,7 +12,7 @@ function getColor() {

- +

diff --git a/src/components/Background.vue b/components/Background.vue similarity index 87% rename from src/components/Background.vue rename to components/Background.vue index 4d49813..a9baf8a 100644 --- a/src/components/Background.vue +++ b/components/Background.vue @@ -7,7 +7,7 @@ function jumpVal(val: number) { return Math.random() > 0.5 ? val + (Math.random() - 0.5) / 2 : Math.random() } -let timeout: any +let timeout: NodeJS.Timeout function jumpPoints() { for (let i = 0; i < points.value.length; i++) points.value[i] = [jumpVal(points.value[i][0]), jumpVal(points.value[i][1])] @@ -21,7 +21,10 @@ onUnmounted(() => clearTimeout(timeout))