diff --git a/package-lock.json b/package-lock.json index a43cf46..4bf7a47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2912,6 +2912,7 @@ "version": "20.14.1", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.1.tgz", "integrity": "sha512-T2MzSGEu+ysB/FkWfqmhV3PLyQlowdptmmgD20C6QxsS8Fmv5SjpZ1ayXaEC0S21/h5UJ9iA6W/5vSNU5l00OA==", + "dev": true, "dependencies": { "undici-types": "~5.26.4" } @@ -2920,13 +2921,13 @@ "version": "15.7.12", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==", - "devOptional": true + "dev": true }, "node_modules/@types/react": { "version": "18.3.3", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", - "devOptional": true, + "dev": true, "dependencies": { "@types/prop-types": "*", "csstype": "^3.0.2" @@ -8646,6 +8647,7 @@ "version": "5.4.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -8672,7 +8674,8 @@ "node_modules/undici-types": { "version": "5.26.5", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", diff --git a/public/svgs/cast.svg b/public/svgs/cast.svg new file mode 100644 index 0000000..627b637 --- /dev/null +++ b/public/svgs/cast.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/svgs/chat.svg b/public/svgs/chat.svg new file mode 100644 index 0000000..b1b3232 --- /dev/null +++ b/public/svgs/chat.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/svgs/currency.svg b/public/svgs/currency.svg new file mode 100644 index 0000000..7739135 --- /dev/null +++ b/public/svgs/currency.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/svgs/eth.svg b/public/svgs/eth.svg new file mode 100644 index 0000000..03f6f11 --- /dev/null +++ b/public/svgs/eth.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/svgs/history.svg b/public/svgs/history.svg new file mode 100644 index 0000000..5d26595 --- /dev/null +++ b/public/svgs/history.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/svgs/index.ts b/public/svgs/index.ts index 430202e..0ad5850 100644 --- a/public/svgs/index.ts +++ b/public/svgs/index.ts @@ -1,5 +1,14 @@ // basic util svg -export { default as copy } from "./copy.svg"; -export { default as control } from "./control.svg"; export { default as arrowLeft } from "./arrowLeft.svg"; +export { default as cast } from "./cast.svg"; +export { default as chat } from "./chat.svg"; +export { default as control } from "./control.svg"; +export { default as copy } from "./copy.svg"; +export { default as currency } from "./currency.svg"; +export { default as eth } from "./eth.svg"; +export { default as history } from "./history.svg"; +export { default as loader } from "./loader.svg"; +export { default as nvir } from "./nvir.svg"; export { default as outLink } from "./outLink.svg"; +export { default as star } from "./star.svg"; +export { default as wallet } from "./wallet.svg"; diff --git a/public/svgs/loader.svg b/public/svgs/loader.svg new file mode 100644 index 0000000..a34cbfc --- /dev/null +++ b/public/svgs/loader.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/nvir.svg b/public/svgs/nvir.svg new file mode 100644 index 0000000..cbdc395 --- /dev/null +++ b/public/svgs/nvir.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/star.svg b/public/svgs/star.svg new file mode 100644 index 0000000..38aab5f --- /dev/null +++ b/public/svgs/star.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/public/svgs/wallet.svg b/public/svgs/wallet.svg new file mode 100644 index 0000000..77d8bbb --- /dev/null +++ b/public/svgs/wallet.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/app/RootStyleRegistry.tsx b/src/app/RootStyleRegistry.tsx index 258f10f..418437e 100644 --- a/src/app/RootStyleRegistry.tsx +++ b/src/app/RootStyleRegistry.tsx @@ -1,19 +1,15 @@ "use client"; -import { useState, type PropsWithChildren } from "react"; -import { useServerInsertedHTML } from "next/navigation"; import { createCache, extractStyle, StyleProvider } from "@ant-design/cssinjs"; +import { useServerInsertedHTML } from "next/navigation"; +import { useState, type PropsWithChildren } from "react"; export const RootStyleRegistry = ({ children }: PropsWithChildren) => { const [cache] = useState(() => createCache()); useServerInsertedHTML(() => { - return ( -