diff --git a/package-lock.json b/package-lock.json index 708799b..26509f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,16 +8,17 @@ "name": "pretty-metamask", "version": "0.0.0", "dependencies": { - "@abimate/openzeppelin": "^0.0.5", "@abimate/solmate": "^0.0.9", "@fortawesome/vue-fontawesome": "^3.0.8", "@headlessui/vue": "^1.7.22", + "@openzeppelin/contracts": "^5.0.2", "@scure/bip32": "^1.4.0", "@scure/bip39": "^1.3.0", "axios": "^1.7.2", "crypto-ts": "^1.0.2", "viem": "^2.14.2", - "vue": "^3.4.21" + "vue": "^3.4.21", + "vuex": "^4.1.0" }, "devDependencies": { "@rushstack/eslint-patch": "^1.8.0", @@ -28,6 +29,7 @@ "@vue/eslint-config-typescript": "^13.0.0", "@vue/tsconfig": "^0.5.1", "autoprefixer": "^10.4.19", + "daisyui": "^4.12.10", "eslint": "^8.57.0", "eslint-plugin-vue": "^9.23.0", "npm-run-all2": "^6.1.2", @@ -39,14 +41,6 @@ "vue-tsc": "^2.0.11" } }, - "node_modules/@abimate/openzeppelin": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/@abimate/openzeppelin/-/openzeppelin-0.0.5.tgz", - "integrity": "sha512-ta5KPl4osHmVr81lcNUzIzzc915DDvDNRxMiyRUHag1QAKJW3yqWAttpZa6H8iGBlFuzAfVw6ftYenV9HL4zCw==", - "peerDependencies": { - "tslib": "^2.3.0" - } - }, "node_modules/@abimate/solmate": { "version": "0.0.9", "resolved": "https://registry.npmjs.org/@abimate/solmate/-/solmate-0.0.9.tgz", @@ -442,6 +436,12 @@ "node": ">= 8" } }, + "node_modules/@openzeppelin/contracts": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-5.0.2.tgz", + "integrity": "sha512-ytPc6eLGcHHnapAZ9S+5qsdomhjo6QBHTDRRBFfTxXIpsicMhVPouPgmUPebZZZGX7vt9USA+Z+0M0dSVtSUEA==", + "license": "MIT" + }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", @@ -904,6 +904,12 @@ "@vue/shared": "3.4.33" } }, + "node_modules/@vue/devtools-api": { + "version": "6.6.3", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.3.tgz", + "integrity": "sha512-0MiMsFma/HqA6g3KLKn+AGpL1kgKhFWszC9U29NfpWK5LE7bjeXxySWJrOJ77hBz+TBrBQ7o4QJqbPbqbs8rJw==", + "license": "MIT" + }, "node_modules/@vue/eslint-config-prettier": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/@vue/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz", @@ -1496,6 +1502,17 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "license": "0BSD" }, + "node_modules/css-selector-tokenizer": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.8.0.tgz", + "integrity": "sha512-Jd6Ig3/pe62/qe5SBPTN8h8LeUg/pT4lLgtavPf7updwwHpvFzxvOQBHYj2LZDMjUnBzgvIUSjRcf6oT5HzHFg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "fastparse": "^1.1.2" + } + }, "node_modules/cssesc": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", @@ -1515,6 +1532,36 @@ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", "license": "MIT" }, + "node_modules/culori": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/culori/-/culori-3.3.0.tgz", + "integrity": "sha512-pHJg+jbuFsCjz9iclQBqyL3B2HLCBF71BwVNujUYEvCeQMvV97R59MNK3R2+jgJ3a1fcZgI9B3vYgz8lzr/BFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/daisyui": { + "version": "4.12.10", + "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-4.12.10.tgz", + "integrity": "sha512-jp1RAuzbHhGdXmn957Z2XsTZStXGHzFfF0FgIOZj3Wv9sH7OZgLfXTRZNfKVYxltGUOBsG1kbWAdF5SrqjebvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "css-selector-tokenizer": "^0.8", + "culori": "^3", + "picocolors": "^1", + "postcss-js": "^4" + }, + "engines": { + "node": ">=16.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/daisyui" + } + }, "node_modules/de-indent": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz", @@ -1972,6 +2019,13 @@ "dev": true, "license": "MIT" }, + "node_modules/fastparse": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz", + "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==", + "dev": true, + "license": "MIT" + }, "node_modules/fastq": { "version": "1.17.1", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", @@ -4128,6 +4182,18 @@ "typescript": ">=5.0.0" } }, + "node_modules/vuex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/vuex/-/vuex-4.1.0.tgz", + "integrity": "sha512-hmV6UerDrPcgbSy9ORAtNXDr9M4wlNP4pEFKye4ujJF8oqgFFuxDCdOLS3eNoRTtq5O3hoBDh9Doj1bQMYHRbQ==", + "license": "MIT", + "dependencies": { + "@vue/devtools-api": "^6.0.0-beta.11" + }, + "peerDependencies": { + "vue": "^3.2.0" + } + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/package.json b/package.json index eb113d9..554bf46 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "axios": "^1.7.2", "crypto-ts": "^1.0.2", "viem": "^2.14.2", - "vue": "^3.4.21" + "vue": "^3.4.21", + "vuex": "^4.1.0" }, "devDependencies": { "@rushstack/eslint-patch": "^1.8.0", @@ -33,6 +34,7 @@ "@vue/eslint-config-typescript": "^13.0.0", "@vue/tsconfig": "^0.5.1", "autoprefixer": "^10.4.19", + "daisyui": "^4.12.10", "eslint": "^8.57.0", "eslint-plugin-vue": "^9.23.0", "npm-run-all2": "^6.1.2", diff --git a/src/components/main/ERC/NFT/NFT.vue b/src/components/main/ERC/NFT/NFT.vue index 7059b02..1b092e6 100644 --- a/src/components/main/ERC/NFT/NFT.vue +++ b/src/components/main/ERC/NFT/NFT.vue @@ -1,27 +1,34 @@ + + \ No newline at end of file +#container { + padding-inline: 42px; + padding-block: 32px; + display: flex; + height: 11vh; + flex-direction: row; + justify-content: space-between; + align-items: center; +} +#name { + color: white; +} +#address { + display: flex; + flex-direction: row; +} +h1 { + font-size: 27px; +} +p { + color: #808080; + font-size: 13px; + margin-right: 11px; +} +img { + height: 18px; + width: 18px; +} +img:hover { + cursor: pointer; +} +#bottomLine { + width: 100%; + height: 1px; + background-color: #4E4E4E; +} + diff --git a/src/components/transaction/transaction.vue b/src/components/transaction/transaction.vue index 40f21e7..a0c0628 100644 --- a/src/components/transaction/transaction.vue +++ b/src/components/transaction/transaction.vue @@ -1,174 +1,176 @@ -