Skip to content

Commit

Permalink
add index html shell
Browse files Browse the repository at this point in the history
  • Loading branch information
futurepaul authored and TonyGiorgio committed Nov 2, 2023
1 parent 8e19533 commit 9186986
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 22 deletions.
2 changes: 1 addition & 1 deletion android/app/capacitor.build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ dependencies {
implementation project(':capacitor-browser')
implementation project(':capacitor-clipboard')
implementation project(':capacitor-filesystem')
implementation project(':capacitor-share')
implementation project(':capacitor-haptics')
implementation project(':capacitor-share')
implementation project(':capacitor-toast')
implementation project(':mutinywallet-barcode-scanner')

Expand Down
6 changes: 3 additions & 3 deletions android/capacitor.settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ project(':capacitor-clipboard').projectDir = new File('../node_modules/.pnpm/@ca
include ':capacitor-filesystem'
project(':capacitor-filesystem').projectDir = new File('../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@capacitor/filesystem/android')

include ':capacitor-share'
project(':capacitor-share').projectDir = new File('../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@capacitor/share/android')

include ':capacitor-haptics'
project(':capacitor-haptics').projectDir = new File('../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@capacitor/haptics/android')

include ':capacitor-share'
project(':capacitor-share').projectDir = new File('../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@capacitor/share/android')

include ':capacitor-toast'
project(':capacitor-toast').projectDir = new File('../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@capacitor/toast/android')

Expand Down
51 changes: 51 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!doctype html>
<html>
<head>
<title>Mutiny Wallet</title>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0 height=device-height viewport-fit=cover user-scalable=no"
/>
<link rel="manifest" href="/manifest.webmanifest" />
<meta name="theme-color" content="#171717" />
<meta
name="description"
content="Mutiny is a self-custodial lightning wallet that runs in the browser."
/>
<link rel="icon" href="/favicon.ico" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Mutiny Wallet" />
<meta
name="twitter:description"
content="Mutiny is a self-custodial lightning wallet that runs in the browser."
/>
<meta name="twitter:site" content="https://app.mutinywallet.com/" />
<meta
name="twitter:image"
content="https://app.mutinywallet.com/images/twitter_card_image.png"
/>
<meta property="og:type" content="website" />
<meta property="og:title" content="Mutiny Wallet" />
<meta
property="og:description"
content="Mutiny is a self-custodial lightning wallet that runs in the browser."
/>
<meta property="og:url" content="https://app.mutinywallet.com/" />
<meta
property="og:image"
content="https://app.mutinywallet.com/images/twitter_card_image.png"
/>
<link rel="apple-touch-icon" href="/images/icon.png" sizes="512x512" />
<link rel="mask-icon" href="/mutiny_logo_mask.svg" color="#000" />
<style>
html, body {
background-color: #171717;
}
</style>
</head>
<body>
<!---->
<script type="module" async src="./src/entry-client.tsx"></script>
</body>
</html>
17 changes: 0 additions & 17 deletions insertHead.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "solid-start dev",
"host": "solid-start dev --host",
"build": "solid-start build && node insertHead.js",
"build": "solid-start build",
"start": "solid-start start",
"check-types": "tsc --noemit",
"eslint": "eslint src",
Expand Down

0 comments on commit 9186986

Please sign in to comment.