Browse Source

testnet meta tags

readme
Mayank 5 years ago
parent
commit
1fe8a5e52e
  1. 41
      public/index-testnet.html
  2. 3
      public/index.html
  3. BIN
      public/testnet-meta-image.png
  4. 8
      vue.config.js

41
public/index-testnet.html

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Umbrel Testnet</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="robots" content="noindex, nofollow" />
<meta name="title" content="Umbrel Testnet">
<meta name="description" content="Try out the Umbrel Bitcoin and Lightning full-node on testnet!">
<meta name="keywords" content="umbrel, bitcoin node, lightning node, full node" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://testnet.getumbrel.com/">
<meta property="og:title" content="Umbrel Testnet">
<meta property="og:description" content="Try out the Umbrel Bitcoin and Lightning full-node on testnet!">
<meta property="og:image" content="https://testnet.getumbrel.com/testnet-meta-image.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://testnet.getumbrel.com/">
<meta property="twitter:title" content="Umbrel Testnet">
<meta property="twitter:description" content="Try out the Umbrel Bitcoin and Lightning full-node on testnet!">
<meta property="twitter:image" content="https://testnet.getumbrel.com/testnet-meta-image.png">
<link rel="icon" href="<%= BASE_URL %>favicon.png">
</head>
<body>
<noscript>
<strong>We're sorry but Umbrel
doesn't work properly without JavaScript enabled. Please enable it to
continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

3
public/index.html

@ -2,12 +2,13 @@
<html lang="en">
<head>
<title>Umbrel</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="robots" content="noindex, nofollow" />
<link rel="icon" href="<%= BASE_URL %>favicon.png">
<title>Umbrel</title>
<meta name="description" content="Welcome back">
</head>
<body>

BIN
public/testnet-meta-image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

8
vue.config.js

@ -11,4 +11,12 @@ module.exports = {
// devServer: {
// proxy: 'http://umbrel.local/',
// }
chainWebpack: config => {
config
.plugin('html')
.tap(args => {
args[0].template = process.env.VUE_APP_NETWORK === "testnet" ? './public/index-testnet.html' : './public/index.html'
return args
})
}
};

Loading…
Cancel
Save