Skip to content

Commit

Permalink
Update meta tags for site previews (#887)
Browse files Browse the repository at this point in the history
Make the title and description consistent with other sites we have. Add
preview image for social media sharing.
  • Loading branch information
r-czajkowski authored Nov 21, 2024
2 parents e1acba8 + 01d854a commit a0812ff
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 10 deletions.
40 changes: 30 additions & 10 deletions dapp/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,33 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/acre.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ACRE</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>

<head>
<title>Acre App</title>
<meta name="title" content="Acre App" />
<meta name="description" content="Bitcoin Rewards Done Right" />

<link rel="icon" type="image/svg+xml" href="/acre.svg" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://bitcoin.acre.fi/" />
<meta property="og:title" content="Acre App" />
<meta property="og:description" content="Bitcoin Rewards Done Right" />
<meta property="og:image" content="/meta-image.png" />

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://bitcoin.acre.fi/" />
<meta property="twitter:title" content="Acre App" />
<meta property="twitter:description" content="Bitcoin Rewards Done Right" />
<meta property="twitter:image" content="/meta-image.png" />
</head>

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

</html>
Binary file added dapp/public/meta-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a0812ff

Please sign in to comment.