commit e02a63a8a76a2f20459eec3b654e8cd5c5a02686 Author: WubzyGD Date: Fri Jul 19 13:05:17 2024 -0600 nuxt 3; main page diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..af77b3e --- /dev/null +++ b/.gitignore @@ -0,0 +1,27 @@ +# Nuxt dev/build outputs +.output +.data +.nuxt +.nitro +.cache +dist + +# Node dependencies +node_modules +package-lock.json + +# Logs +logs +*.log + +# Misc +.DS_Store +.fleet +.idea +/README.md.old + +# Local env files +.env +.env.* +!.env.example + diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..cf04042 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +shamefully-hoist=true +strict-peer-dependencies=false diff --git a/app.config.ts b/app.config.ts new file mode 100644 index 0000000..db57dd8 --- /dev/null +++ b/app.config.ts @@ -0,0 +1,6 @@ +export default defineAppConfig({ + ui: { + primary: 'purple', + gray: 'slate', + } +}) \ No newline at end of file diff --git a/app.vue b/app.vue new file mode 100644 index 0000000..b096d32 --- /dev/null +++ b/app.vue @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/assets/css/styles.css b/assets/css/styles.css new file mode 100644 index 0000000..0dafdb3 --- /dev/null +++ b/assets/css/styles.css @@ -0,0 +1,74 @@ +:root { + --theme-purple: #a172a6; + --theme-black: #171717; + --theme-blue: #b0f6ff; + --theme-purple-invis: #a172a69a; + --theme-black-invis: #1717179a; + --theme-blue-invis: #b0f6ff9a; +} + +@keyframes shine { + to { + background-position: 200% center; + } +} + +@keyframes dropdown-title { + from {transform: translateY(-100vh);} + to {transform: translateY(0);} +} + +.shiny { + background: linear-gradient(to right, var(--theme-purple) 20%, var(--theme-black) 35%, var(--theme-black) 35%, var(--theme-purple) 50%, var(--theme-purple) 50%, var(--theme-blue) 75%, var(--theme-purple) 90%); + background-size: 200% auto; + animation: /*dropdown-title 1.5s ease-in-out, */shine 2.5s linear infinite; + @apply overflow-hidden bg-clip-text max-w-min text-transparent; +} + +.title { + @apply md:text-7xl lg:text-8xl text-6xl h-fit max-h-fit mx-auto m-0 p-0 text-center; +} + +#avatar-border { + --angle: 0deg; + animation: rotate 5s cubic-bezier(.13,.82,.87,.18) infinite; + background-image: linear-gradient(var(--angle), #a172a6 20%, #d0faeb 60%, #a172a6 100%); + +} +#bg-gradient { + background: linear-gradient(to bottom, #00000000 0%, #00000000 5%, #171717cc 35%, #171717ea 55%, #171717ff 85%); +} + + + +.arrow { + box-sizing: border-box; + height: 100%; + width: 100%; + border-style: solid; + border-color: white; + border-width: 0px 1px 1px 0px; + transform: rotate(45deg); + transition: border-width 150ms ease-in-out; +} + +.arrow:hover { + border-bottom-width: 4px; + border-right-width: 4px; +} + +.blurred { + filter: blur(10px); +} + + +@keyframes rotate { + to { + --angle: 360deg; + } +} +@property --angle { + syntax: ''; + initial-value: 0deg; + inherits: false; +} \ No newline at end of file diff --git a/assets/images/background.jpg b/assets/images/background.jpg new file mode 100644 index 0000000..47503d7 Binary files /dev/null and b/assets/images/background.jpg differ diff --git a/assets/images/katsu.gif b/assets/images/katsu.gif new file mode 100644 index 0000000..cd8009e Binary files /dev/null and b/assets/images/katsu.gif differ diff --git a/nuxt.config.ts b/nuxt.config.ts new file mode 100644 index 0000000..64c63dd --- /dev/null +++ b/nuxt.config.ts @@ -0,0 +1,23 @@ +// https://nuxt.com/docs/api/configuration/nuxt-config +export default defineNuxtConfig({ + devtools: { enabled: true }, + modules: ["@nuxt/ui", '@formkit/auto-animate', '@nuxt/image'], + + app: { + head: { + htmlAttrs: { + lang: 'en' + }, + meta: [ + {charset: 'utf-8'}, + {name: 'viewport', content: 'width=device-width, initial-scale=1'} + ], + link: [ + {rel: 'icon', type: 'image/x-icon', href: 'https://cdn.wubzy.xyz/katsu-icon.gif'}, + {rel: 'stylesheet', href: "https://fonts.googleapis.com/css2?family=Montserrat:wght@200..700&display=swap"}, + {rel: 'stylesheet', href: "https://fonts.googleapis.com/css2?family=Nunito:wght@200..700&display=swap"}, + {rel: 'stylesheet', href: '_nuxt/assets/css/styles.css'} + ] + } + } +}); \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..3b6088d --- /dev/null +++ b/package.json @@ -0,0 +1,19 @@ +{ + "name": "nuxt-app", + "private": true, + "type": "module", + "scripts": { + "build": "nuxt build", + "dev": "nuxt dev", + "generate": "nuxt generate", + "preview": "nuxt preview", + "postinstall": "nuxt prepare" + }, + "devDependencies": { + "@formkit/auto-animate": "^0.8.2", + "@nuxt/devtools": "latest", + "@nuxt/image": "^1.5.0", + "@nuxt/ui": "^2.13.0", + "nuxt": "^3.10.1" + } +} diff --git a/pages/index.vue b/pages/index.vue new file mode 100644 index 0000000..b700cd5 --- /dev/null +++ b/pages/index.vue @@ -0,0 +1,104 @@ + + + + + + + \ No newline at end of file diff --git a/pages/util/theme.vue b/pages/util/theme.vue new file mode 100644 index 0000000..b9b4da4 --- /dev/null +++ b/pages/util/theme.vue @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..18993ad Binary files /dev/null and b/public/favicon.ico differ diff --git a/server/tsconfig.json b/server/tsconfig.json new file mode 100644 index 0000000..b9ed69c --- /dev/null +++ b/server/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "../.nuxt/tsconfig.server.json" +} diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..79b24d2 --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,21 @@ +/** @type {import('tailwindcss').Config} */ +export default { + corePlugins: { + //preflight: false + }, + content: [], + theme: { + extend: { + fontFamily: { + mont: 'Montserrat, sans-serif', + nun: 'Nunito, sans-serif' + }, + colors: { + 'w-blue': '#b0f6ff', + 'w-purple': '#a172a6', + 'w-pink': '#f3b5d3' + } + }, + }, + plugins: [], +} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..a746f2a --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,4 @@ +{ + // https://nuxt.com/docs/guide/concepts/typescript + "extends": "./.nuxt/tsconfig.json" +}