Upload index.html
Browse files- index.html +18 -53
index.html
CHANGED
|
@@ -3,81 +3,46 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
| 6 |
-
<link rel="preload" href="/assets/IMG_5610-ZCjg0wqf.webp" as="image" />
|
| 7 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 8 |
<title>Demai Financial Hub</title>
|
| 9 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 10 |
<script src="https://cdn.plaid.com/link/v2/stable/link-initialize.js"></script>
|
| 11 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" />
|
| 12 |
-
<!-- Load Base Account SDK via CDN for production-grade authentication and payments -->
|
| 13 |
-
<script src="https://unpkg.com/@base-org/account/dist/base-account.min.js"></script>
|
| 14 |
-
<script>
|
| 15 |
-
// Polyfill Buffer for environments that expect it (like various crypto libraries)
|
| 16 |
-
if (typeof window !== 'undefined' && typeof window.Buffer === 'undefined') {
|
| 17 |
-
window.Buffer = {
|
| 18 |
-
isBuffer: () => false,
|
| 19 |
-
from: (data) => new Uint8Array(data),
|
| 20 |
-
};
|
| 21 |
-
}
|
| 22 |
-
if (typeof window !== 'undefined' && typeof window.global === 'undefined') {
|
| 23 |
-
window.global = window;
|
| 24 |
-
}
|
| 25 |
-
</script>
|
| 26 |
|
| 27 |
<link rel="stylesheet" href="/index.css">
|
| 28 |
<script type="importmap">
|
| 29 |
{
|
| 30 |
"imports": {
|
| 31 |
-
"react": "https://esm.sh/react@19.
|
| 32 |
-
"react-dom": "https://esm.sh/react-dom@19.
|
| 33 |
-
"react-dom/client": "https://esm.sh/react-dom@19.
|
| 34 |
-
"react/jsx-runtime": "https://esm.sh/react@19.
|
| 35 |
"recharts": "https://esm.sh/recharts@3.7.0",
|
| 36 |
"@google/genai": "https://esm.sh/@google/genai@1.19.0",
|
| 37 |
-
"@reown/appkit/react": "https://aistudiocdn.com/@reown/appkit@1.
|
| 38 |
-
"@reown/appkit/networks": "https://aistudiocdn.com/@reown/appkit@1.
|
| 39 |
-
"@reown/appkit-adapter-wagmi": "https://aistudiocdn.com/@reown/appkit-adapter-wagmi@1.
|
| 40 |
-
"@reown/appkit-core": "https://aistudiocdn.com/@reown/appkit-core@1.
|
| 41 |
-
"@reown/appkit-ui": "https://aistudiocdn.com/@reown/appkit-ui@1.
|
| 42 |
-
"@coinbase/wallet-sdk": "https://aistudiocdn.com/@coinbase/wallet-sdk@4.
|
| 43 |
-
"wagmi": "https://esm.sh/wagmi@2.
|
| 44 |
-
"viem": "https://esm.sh/viem@2.
|
| 45 |
"@tanstack/react-query": "https://esm.sh/@tanstack/react-query@5.56.2",
|
| 46 |
-
"
|
| 47 |
-
"react/": "https://esm.sh/react@19.
|
|
|
|
| 48 |
"recharts/": "https://esm.sh/recharts@3.7.0/",
|
| 49 |
"vite": "https://esm.sh/vite@^7.3.1",
|
| 50 |
"@vitejs/plugin-react": "https://esm.sh/@vitejs/plugin-react@^5.1.2",
|
| 51 |
"@originjs/vite-plugin-federation": "https://esm.sh/@originjs/vite-plugin-federation@^1.4.1",
|
| 52 |
-
"
|
| 53 |
-
"@types/node": "https://esm.sh/@types/node@25.0.10",
|
| 54 |
-
"url": "https://esm.sh/url@^0.11.4",
|
| 55 |
-
"viem/": "https://esm.sh/viem@^2.45.0/",
|
| 56 |
-
"@reown/appkit": "https://aistudiocdn.com/@reown/appkit@1.1.8",
|
| 57 |
-
"path": "https://esm.sh/path@^0.12.7",
|
| 58 |
-
"@reown/appkit/": "https://esm.sh/@reown/appkit@^1.8.17/",
|
| 59 |
-
"@tanstack/query-core": "https://esm.sh/@tanstack/query-core@^5.90.20"
|
| 60 |
}
|
| 61 |
}
|
| 62 |
</script>
|
| 63 |
-
<script type="module" crossorigin src="/assets/index-
|
| 64 |
</head>
|
| 65 |
<body class="bg-gray-900">
|
| 66 |
<div id="root"></div>
|
| 67 |
-
<script>
|
| 68 |
-
// Global initialization of Base SDK for cross-component access
|
| 69 |
-
window.addEventListener('DOMContentLoaded', () => {
|
| 70 |
-
if (window.createBaseAccountSDK) {
|
| 71 |
-
window.demaiBaseSDK = window.createBaseAccountSDK({
|
| 72 |
-
appName: "Demai Sovereign Hub",
|
| 73 |
-
appLogoUrl: "https://avatars.githubusercontent.com/u/221693154?s=48&v=4",
|
| 74 |
-
});
|
| 75 |
-
}
|
| 76 |
-
});
|
| 77 |
-
</script>
|
| 78 |
-
<iframe
|
| 79 |
-
src="https://twilight-lake-483d.dev-citibankdemobusiness-app.workers.dev/"
|
| 80 |
-
class="w-full h-screen border-0"
|
| 81 |
-
/>
|
| 82 |
</body>
|
| 83 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
| 6 |
+
<link rel="preload" href="/Demo-/assets/IMG_5610-ZCjg0wqf.webp" as="image" />
|
| 7 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 8 |
<title>Demai Financial Hub</title>
|
| 9 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 10 |
<script src="https://cdn.plaid.com/link/v2/stable/link-initialize.js"></script>
|
| 11 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
<link rel="stylesheet" href="/index.css">
|
| 14 |
<script type="importmap">
|
| 15 |
{
|
| 16 |
"imports": {
|
| 17 |
+
"react": "https://esm.sh/react@19.0.0",
|
| 18 |
+
"react-dom": "https://esm.sh/react-dom@19.0.0",
|
| 19 |
+
"react-dom/client": "https://esm.sh/react-dom@19.0.0/client",
|
| 20 |
+
"react/jsx-runtime": "https://esm.sh/react@19.0.0/jsx-runtime",
|
| 21 |
"recharts": "https://esm.sh/recharts@3.7.0",
|
| 22 |
"@google/genai": "https://esm.sh/@google/genai@1.19.0",
|
| 23 |
+
"@reown/appkit/react": "https://aistudiocdn.com/@reown/appkit@1.6.0/react",
|
| 24 |
+
"@reown/appkit/networks": "https://aistudiocdn.com/@reown/appkit@1.6.0/networks",
|
| 25 |
+
"@reown/appkit-adapter-wagmi": "https://aistudiocdn.com/@reown/appkit-adapter-wagmi@1.6.0",
|
| 26 |
+
"@reown/appkit-core": "https://aistudiocdn.com/@reown/appkit-core@1.6.0",
|
| 27 |
+
"@reown/appkit-ui": "https://aistudiocdn.com/@reown/appkit-ui@1.6.0",
|
| 28 |
+
"@coinbase/wallet-sdk": "https://aistudiocdn.com/@coinbase/wallet-sdk@4.0.3",
|
| 29 |
+
"wagmi": "https://esm.sh/wagmi@2.12.7",
|
| 30 |
+
"viem": "https://esm.sh/viem@2.21.1",
|
| 31 |
"@tanstack/react-query": "https://esm.sh/@tanstack/react-query@5.56.2",
|
| 32 |
+
"path": "https://esm.sh/path-browserify@1.0.1",
|
| 33 |
+
"react-dom/": "https://esm.sh/react-dom@19.0.0/",
|
| 34 |
+
"react/": "https://esm.sh/react@19.0.0/",
|
| 35 |
"recharts/": "https://esm.sh/recharts@3.7.0/",
|
| 36 |
"vite": "https://esm.sh/vite@^7.3.1",
|
| 37 |
"@vitejs/plugin-react": "https://esm.sh/@vitejs/plugin-react@^5.1.2",
|
| 38 |
"@originjs/vite-plugin-federation": "https://esm.sh/@originjs/vite-plugin-federation@^1.4.1",
|
| 39 |
+
"@reown/appkit/": "https://esm.sh/@reown/appkit@^1.8.17/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
}
|
| 41 |
}
|
| 42 |
</script>
|
| 43 |
+
<script type="module" crossorigin src="/Demo-/assets/index-C-6muS97.js"></script>
|
| 44 |
</head>
|
| 45 |
<body class="bg-gray-900">
|
| 46 |
<div id="root"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
</body>
|
| 48 |
</html>
|