diff --git a/.dumi/theme/locales/en-US.json b/.dumi/theme/locales/en-US.json index b9d2875..d68c082 100644 --- a/.dumi/theme/locales/en-US.json +++ b/.dumi/theme/locales/en-US.json @@ -8,19 +8,12 @@ "app.docs.components.icon.category.token": "Token Icons", "app.docs.components.icon.category.tool": "Tool Icons", "app.docs.components.icon.category.other": "Other Icons", - "app.docs.site.index.banner.button-text": "Start", - - "app.docs.site.features.0.title": "Ant Design Friendly", - "app.docs.site.features.0.description": "Ant Design Web3 is Specifically designed to seamlessly integrate with Ant Design, making it easy for developers.", "app.docs.site.features.1.title": "Out-of-the-Box Experience", "app.docs.site.features.1.description": "You can quickly set up their projects and leverage the pre-built components to create your DApps.", "app.docs.site.features.2.title": "Compatibility with Different Chains", - "app.docs.site.features.2.description": "Ant Design Web3 is designed with good extensibility, allowing you to adapt to different chains through adapters.", - "app.docs.site.theme.title": "Customize the theme as you like", "app.docs.site.theme.description": "Open more style algorithms to make it easier to customize your theme", - "app.docs.site.case.title": "Rich components, easy to choose", "app.docs.site.case.description": "A large number of practical components to meet your needs, flexible customization and expansion" } diff --git a/.dumirc.ts b/.dumirc.ts index 9847c54..167c4ba 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -86,7 +86,6 @@ export default defineConfig({ jsMinifierOptions: { target: ['chrome80', 'es2020'], }, - copy: ['CNAME'], define: { YOUR_ZAN_API_KEY: 'd0eeefc2a4da4a8ba707889259b437d6', YOUR_INFURA_API_KEY: '287294cbc30b44efab9455664b69b130', diff --git a/CNAME b/CNAME deleted file mode 100644 index 1db81cd..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -web3.ant.design diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 2deeb28..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2023 Ant Design Team - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/packages/icons/src/__tests__/__snapshots__/index.test.tsx.snap b/packages/icons/src/__tests__/__snapshots__/index.test.tsx.snap deleted file mode 100644 index cbf46bc..0000000 --- a/packages/icons/src/__tests__/__snapshots__/index.test.tsx.snap +++ /dev/null @@ -1,2587 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`Test Icons > should render all icons 1`] = ` - - - -`; - -exports[`Test Icons > should render all icons 2`] = ` - - - -`; - -exports[`Test Icons > should render all icons 3`] = ` - - - -`; - -exports[`Test Icons > should render all icons 4`] = ` - - - -`; - -exports[`Test Icons > should render all icons 5`] = ` - - - -`; - -exports[`Test Icons > should render all icons 6`] = ` - - - -`; - -exports[`Test Icons > should render all icons 7`] = ` - - - -`; - -exports[`Test Icons > should render all icons 8`] = ` - - - -`; - -exports[`Test Icons > should render all icons 9`] = ` - - - -`; - -exports[`Test Icons > should render all icons 10`] = ` - - - -`; - -exports[`Test Icons > should render all icons 11`] = ` - - - -`; - -exports[`Test Icons > should render all icons 12`] = ` - - - -`; - -exports[`Test Icons > should render all icons 13`] = ` - - - -`; - -exports[`Test Icons > should render all icons 14`] = ` - - - -`; - -exports[`Test Icons > should render all icons 15`] = ` - - - -`; - -exports[`Test Icons > should render all icons 16`] = ` - - - -`; - -exports[`Test Icons > should render all icons 17`] = ` - - - -`; - -exports[`Test Icons > should render all icons 18`] = ` - - - -`; - -exports[`Test Icons > should render all icons 19`] = ` - - - -`; - -exports[`Test Icons > should render all icons 20`] = ` - - - -`; - -exports[`Test Icons > should render all icons 21`] = ` - - - -`; - -exports[`Test Icons > should render all icons 22`] = ` - - - -`; - -exports[`Test Icons > should render all icons 23`] = ` - - - -`; - -exports[`Test Icons > should render all icons 24`] = ` - - - -`; - -exports[`Test Icons > should render all icons 25`] = ` - - - -`; - -exports[`Test Icons > should render all icons 26`] = ` - - - -`; - -exports[`Test Icons > should render all icons 27`] = ` - - - -`; - -exports[`Test Icons > should render all icons 28`] = ` - - - -`; - -exports[`Test Icons > should render all icons 29`] = ` - - - -`; - -exports[`Test Icons > should render all icons 30`] = ` - - - -`; - -exports[`Test Icons > should render all icons 31`] = ` - - - -`; - -exports[`Test Icons > should render all icons 32`] = ` - - - -`; - -exports[`Test Icons > should render all icons 33`] = ` - - - -`; - -exports[`Test Icons > should render all icons 34`] = ` - - - -`; - -exports[`Test Icons > should render all icons 35`] = ` - - - -`; - -exports[`Test Icons > should render all icons 36`] = ` - - - -`; - -exports[`Test Icons > should render all icons 37`] = ` - - - -`; - -exports[`Test Icons > should render all icons 38`] = ` - - - -`; - -exports[`Test Icons > should render all icons 39`] = ` - - - -`; - -exports[`Test Icons > should render all icons 40`] = ` - - - -`; - -exports[`Test Icons > should render all icons 41`] = ` - - - -`; - -exports[`Test Icons > should render all icons 42`] = ` - - - -`; - -exports[`Test Icons > should render all icons 43`] = ` - - - -`; - -exports[`Test Icons > should render all icons 44`] = ` - - - -`; - -exports[`Test Icons > should render all icons 45`] = ` - - - -`; - -exports[`Test Icons > should render all icons 46`] = ` - - - -`; - -exports[`Test Icons > should render all icons 47`] = ` - - - -`; - -exports[`Test Icons > should render all icons 48`] = ` - - - -`; - -exports[`Test Icons > should render all icons 49`] = ` - - - -`; - -exports[`Test Icons > should render all icons 50`] = ` - - - -`; - -exports[`Test Icons > should render all icons 51`] = ` - - - -`; - -exports[`Test Icons > should render all icons 52`] = ` - - - -`; - -exports[`Test Icons > should render all icons 53`] = ` - - - -`; diff --git a/scripts/generate-icon-config.js b/scripts/generate-icon-config.js index 94d106b..634c11a 100755 --- a/scripts/generate-icon-config.js +++ b/scripts/generate-icon-config.js @@ -26,6 +26,6 @@ log(config); fs.writeFileSync( './.dumi/theme/builtins/IconSearch/icon-config.json', - JSON.stringify(config, null, 2), + JSON.stringify(config, null, 2) + '\n', 'utf-8', );