Skip to content

Commit

Permalink
feat: New Wallet Connector UI (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedropereiradev authored Apr 1, 2024
1 parent adf2fa0 commit d2faee0
Show file tree
Hide file tree
Showing 56 changed files with 2,448 additions and 270 deletions.
2 changes: 2 additions & 0 deletions .changeset/smart-roses-trade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
8 changes: 7 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
"useIgnoreFile": true
},
"files": {
"ignore": ["**/node_modules", "**/.turbo", "**/build", "pnpm-lock.yaml"]
"ignore": [
"**/node_modules",
"**/.turbo",
"**/build",
"**/contracts",
"pnpm-lock.yaml"
]
}
}
19 changes: 0 additions & 19 deletions examples/nodejs/package.json

This file was deleted.

37 changes: 0 additions & 37 deletions examples/nodejs/src/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions examples/nodejs/tsconfig.json

This file was deleted.

11 changes: 0 additions & 11 deletions examples/nodejs/tsup.config.js

This file was deleted.

25 changes: 15 additions & 10 deletions examples/react-app/index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Fuel Connectors</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

<head>
<link rel="icon" href="./logo.png" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Fuel enables developers to build integrations with any wallet." />
<title>Fuel Connectors</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>

</html>
7 changes: 6 additions & 1 deletion examples/react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
"build": "vite build"
},
"dependencies": {
"@radix-ui/react-toast": "1.1.5",
"clsx": "2.1.0",
"fuels": "0.79.0",
"@fuels/connectors": "workspace:*",
"@fuels/react": "0.18.0",
"@tanstack/react-query": "5.28.8",
"fuels": "0.79.0",
"react": "18.2.0",
"react-dom": "18.2.0"
},
Expand All @@ -20,6 +22,9 @@
"@types/react": "18.2.71",
"@types/react-dom": "18.2.22",
"@vitejs/plugin-react": "4.2.1",
"tailwindcss": "3.4.1",
"autoprefixer": "10.4.19",
"postcss": "8.4.38",
"typescript": "5.4.3",
"vite": "5.2.6"
}
Expand Down
6 changes: 6 additions & 0 deletions examples/react-app/postcss.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
14 changes: 14 additions & 0 deletions examples/react-app/public/Fuel_Logo_White_RGB.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions examples/react-app/public/connectors/fuel-wallet-dev.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions examples/react-app/public/connectors/fuel-wallet.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions examples/react-app/public/connectors/fuelet-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/react-app/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/react-app/public/logo_black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/react-app/public/logo_white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions examples/react-app/public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
64 changes: 0 additions & 64 deletions examples/react-app/src/App.css

This file was deleted.

Loading

0 comments on commit d2faee0

Please sign in to comment.