Skip to content

Commit

Permalink
Merge pull request #75 from novasamatech/feat/change-icons
Browse files Browse the repository at this point in the history
Feat: change icons
  • Loading branch information
ERussel authored Feb 14, 2024
2 parents 3b32f91 + 91de5cb commit 2dc6c2a
Show file tree
Hide file tree
Showing 54 changed files with 1,406 additions and 150 deletions.
5 changes: 2 additions & 3 deletions globals.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ declare module '*.mp4' {
}

declare module '*.svg' {
import React = require('react');
export const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>;
const content: string;
import React from 'react';
const content: React.FC<React.SVGProps<SVGSVGElement>>;
export default content;
}

Expand Down
8 changes: 8 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,12 @@ const nextConfig = {
},
};

nextConfig.webpack = (config, context) => {
config.module.rules.push({
test: /\.svg$/,
use: '@svgr/webpack',
});
return config;
};

module.exports = nextConfig;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
},
"devDependencies": {
"@next/eslint-plugin-next": "^14.0.4",
"@svgr/webpack": "^8.1.0",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.1.2",
"@twa-dev/types": "^6.9.0",
Expand Down
2 changes: 1 addition & 1 deletion public/images/assets/DOT.svg → public/assets/DOT.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/images/assets/KSM.svg → public/assets/KSM.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/images/assets/WND.svg → public/assets/WND.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions public/images/Buy.svg

This file was deleted.

Binary file removed public/images/Modal.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions public/images/Send.svg → src/common/assets/svg/Send.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/images/User.svg → src/common/assets/svg/User.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
16 changes: 16 additions & 0 deletions src/common/assets/svg/assets/DOT.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/common/assets/svg/assets/KSM.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/common/assets/svg/assets/WND.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/images/gift.svg → src/common/assets/svg/gift.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2dc6c2a

Please sign in to comment.