Skip to content

Commit

Permalink
Beta
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed Aug 28, 2024
1 parent 733e68b commit a01b0b5
Show file tree
Hide file tree
Showing 9 changed files with 6,006 additions and 3,226 deletions.
9 changes: 5 additions & 4 deletions apps/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@
</script>

<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bridge stablecoin and native tokens on HelixBridge</title>
<title>Bridge Stablecoins and Native Tokens on HelixBridge</title>
<meta name="description" content="Secure, fast, and low-cost cross-chain crypto transfers" />
<link rel="manifest" href="manifest.json" />
<link rel="apple-touch-icon" sizes="192x192" href="apple-touch-icon.png">
<meta name="theme-color" content="#00141D">
<script defer data-domain="helixbridge.app" src="https://plausible.io/js/script.hash.outbound-links.tagged-events.js"></script>
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
</head>
<body style="background-color: #00141d; color: white; line-height: 1.5rem; font-size: 1rem; font-weight: 400">
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script type="module" src="src/main.tsx"></script>
</body>
</html>
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"tailwindcss": "^3.4.3",
"typescript": "^5.2.2",
"vite": "^5.2.0",
"vite-plugin-pwa": "^0.20.1",
"vitest": "^1.6.0"
},
"packageManager": "pnpm@9.4.0"
Expand Down
Binary file added apps/web/public/apple-touch-icon.png
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 apps/web/public/manifest.json

This file was deleted.

Binary file added apps/web/public/pwa-192x192.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 apps/web/public/pwa-512x512.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 apps/web/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: *
Allow: /
28 changes: 27 additions & 1 deletion apps/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,35 @@

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import { VitePWA } from "vite-plugin-pwa";

// https://vitejs.dev/config/
export default defineConfig({
base: "",
plugins: [react()],
plugins: [
react(),
VitePWA({
registerType: "autoUpdate",
manifestFilename: "manifest.json",
includeAssets: ["favicon.ico", "apple-touch-icon.png"],
manifest: {
name: "Bridge Stablecoins and Native Tokens on HelixBridge",
short_name: "HelixBridge Interface",
description: "Secure, fast, and low-cost cross-chain crypto transfers",
theme_color: "#00141D",
icons: [
{
src: "pwa-192x192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "pwa-512x512.png",
sizes: "512x512",
type: "image/png",
},
],
},
}),
],
});
Loading

0 comments on commit a01b0b5

Please sign in to comment.