diff --git a/assets/.DS_Store b/assets/.DS_Store index c7db539..98f3246 100644 Binary files a/assets/.DS_Store and b/assets/.DS_Store differ diff --git a/assets/img/Investor Pitchdeck Q1 2025.pdf b/assets/img/Investor Pitchdeck Q1 2025.pdf new file mode 100644 index 0000000..01d39d8 Binary files /dev/null and b/assets/img/Investor Pitchdeck Q1 2025.pdf differ diff --git a/package.json b/package.json index 1a6c933..5b01434 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "tailwindcss": "^3.4.3", "typescript": "^5.4.5", "vite": "^5.2.10", + "vite-svg-loader": "^5.1.0", "vue": "^3.4.26", "vue-router": "^4.3.2" }, diff --git a/pages/teerdays.vue b/pages/teerdays.vue index 370a7a5..19be082 100644 --- a/pages/teerdays.vue +++ b/pages/teerdays.vue @@ -1,131 +1,686 @@ @@ -139,7 +694,6 @@ import { import { ApiPromise, WsProvider } from "@polkadot/api"; import { onMounted, ref, watch } from "vue"; import { useAccount } from "@/store/teerAccount.ts"; -import BN from "bn.js"; import { useInterval } from "@vueuse/core"; const accountStore = useAccount(); @@ -403,35 +957,93 @@ class PendingUnlock { return this.due < new Date(); } } + +const stats = [ + { id: 1, name: "TEERday holder", value: "400" }, + { id: 2, name: "Total TEER bonded​", value: "1000" }, + { id: 4, name: "Total TEERdays ​active​", value: "100 000" }, +]; + +import { ref } from "vue"; +const leaderboard = [ + { + rank: "1", + teerdays: "12345", + wallet: "x0sdkgfskdfhskjdflshdfkjsdkf", + teerbonded: "12345", + }, + { + rank: "2", + teerdays: "12345", + wallet: "x0sdkgfskdfhskjdflshdfkjsdkf", + teerbonded: "12345", + }, + { + rank: "3", + teerdays: "12345", + wallet: "x0sdkgfskdfhskjdflshdfkjsdkf", + teerbonded: "12345", + }, + { + rank: "4", + teerdays: "12345", + wallet: "x0sdkgfskdfhskjdflshdfkjsdkf", + teerbonded: "12345", + }, + { + rank: "5", + teerdays: "12345", + wallet: "x0sdkgfskdfhskjdflshdfkjsdkf", + teerbonded: "12345", + }, + { + rank: "6", + teerdays: "12345", + wallet: "x0sdkgfskdfhskjdflshdfkjsdkf", + teerbonded: "12345", + }, + { + rank: "7", + teerdays: "12345", + wallet: "x0sdkgfskdfhskjdflshdfkjsdkf", + teerbonded: "12345", + }, + { + rank: "8", + teerdays: "12345", + wallet: "x0sdkgfskdfhskjdflshdfkjsdkf", + teerbonded: "12345", + }, + // More people... +]; + +import { XMarkIcon } from "@heroicons/vue/20/solid"; +import { Menu, MenuButton, MenuItem, MenuItems } from "@headlessui/vue"; +import { ChevronDownIcon } from "@heroicons/vue/20/solid"; diff --git a/plugins/qrcode-reader.ts b/plugins/qrcode-reader.ts index 59a087a..3d939eb 100644 --- a/plugins/qrcode-reader.ts +++ b/plugins/qrcode-reader.ts @@ -1,4 +1,6 @@ -import Vue from "vue"; +import { defineNuxtPlugin } from "#app"; import { QrcodeStream } from "vue-qrcode-reader"; -Vue.component("qrcode-stream", QrcodeStream); +export default defineNuxtPlugin((nuxtApp) => { + nuxtApp.vueApp.component("qrcode-stream", QrcodeStream); +}); diff --git a/public/img/.DS_Store b/public/img/.DS_Store index 5b6b4ce..7ca4984 100644 Binary files a/public/img/.DS_Store and b/public/img/.DS_Store differ diff --git a/public/img/index/TEERdays-icon-black.svg b/public/img/index/TEERdays-icon-black.svg new file mode 100644 index 0000000..b75797b --- /dev/null +++ b/public/img/index/TEERdays-icon-black.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/public/img/index/TEERdays-icon-gradient.svg b/public/img/index/TEERdays-icon-gradient.svg new file mode 100644 index 0000000..a14cc9f --- /dev/null +++ b/public/img/index/TEERdays-icon-gradient.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/img/index/TEERdays-icon-white.svg b/public/img/index/TEERdays-icon-white.svg new file mode 100644 index 0000000..28f078c --- /dev/null +++ b/public/img/index/TEERdays-icon-white.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/img/index/nova-wallet-logo.svg b/public/img/index/nova-wallet-logo.svg new file mode 100644 index 0000000..3607732 --- /dev/null +++ b/public/img/index/nova-wallet-logo.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/img/index/polkadotjs-logo.svg b/public/img/index/polkadotjs-logo.svg new file mode 100644 index 0000000..74a97d4 --- /dev/null +++ b/public/img/index/polkadotjs-logo.svg @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/img/index/sub-wallet-logo.svg b/public/img/index/sub-wallet-logo.svg new file mode 100644 index 0000000..d54784e --- /dev/null +++ b/public/img/index/sub-wallet-logo.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/img/index/talisman-logo.svg b/public/img/index/talisman-logo.svg new file mode 100644 index 0000000..712c639 --- /dev/null +++ b/public/img/index/talisman-logo.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tailwind.config.js b/tailwind.config.js index dcfadae..e869bc3 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,6 +1,12 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - content: [], + content: [ + "./components/**/*.{vue,js}", + "./layouts/**/*.{vue,js}", + "./pages/**/*.{vue,js}", + "./plugins/**/*.{js,ts}", + "./nuxt.config.{js,ts}", + ], theme: { extend: { backgroundColor: { diff --git a/yarn.lock b/yarn.lock index 3d7b4a5..8d39064 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10386,6 +10386,7 @@ __metadata: tailwindcss: "npm:^3.4.3" typescript: "npm:^5.4.5" vite: "npm:^5.2.10" + vite-svg-loader: "npm:^5.1.0" vue: "npm:^3.4.26" vue-qrcode: "npm:^2.2.2" vue-qrcode-reader: "npm:^5.5.4" @@ -14043,6 +14044,17 @@ __metadata: languageName: node linkType: hard +"vite-svg-loader@npm:^5.1.0": + version: 5.1.0 + resolution: "vite-svg-loader@npm:5.1.0" + dependencies: + svgo: "npm:^3.0.2" + peerDependencies: + vue: ">=3.2.13" + checksum: 10c0/39f218db6384aec56ec6fb9517723eaee49701225688e1d5f5132f0730605a9e59201464911b19cbfdc647caebacf4c8737dffe2472cd815ebb6645c2292993c + languageName: node + linkType: hard + "vite@npm:^5.0.0, vite@npm:^5.2.10, vite@npm:^5.2.8": version: 5.2.12 resolution: "vite@npm:5.2.12"