Skip to content

Commit

Permalink
added seo
Browse files Browse the repository at this point in the history
  • Loading branch information
leonacostaok committed Nov 8, 2023
1 parent 34b54af commit ad0a4cf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 38 deletions.
1 change: 1 addition & 0 deletions packages/frontend/.gitignore → example/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.next
out
5 changes: 1 addition & 4 deletions example/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { AppProps } from "next/app";
import React, { useEffect } from "react";

import { hooks as metaMaskHooks, metaMask } from "../connectors/metaMask";
import ModalConnectProvider from "../providers/ModalConnectProvider";

const connectors: [MetaMask, Web3ReactHooks][] = [[metaMask, metaMaskHooks]];

Expand Down Expand Up @@ -32,9 +31,7 @@ export default function App({ Component, pageProps }: AppProps) {
}, []);
return (
<Web3ReactProvider connectors={connectors}>
<ModalConnectProvider>
<Component {...pageProps} />
</ModalConnectProvider>
<Component {...pageProps} />
</Web3ReactProvider>
);
}
8 changes: 8 additions & 0 deletions example/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ export default function Home() {
const [activeTab, setActiveTab] = useState(TabOptions.ENCRYPT);
return (
<>
<head>
<title>MetaMask Encrypt/Decrypt</title>
<meta name="description" content="MetaMask Encrypt and decrypt tools" />
<meta property="og:title" content="MetaMask Encrypt/Decrypt" />
<meta property="og:description" content="MetaMask Encrypt and decrypt tools" />
<meta property="og:url" content="https://metamask-encrypt-decrypt.dandelionlabs.io/" />
<meta property="og:type" content="website" />
</head>
{account ? (
<Tabs>
<p>Connected with account: {account}</p>
Expand Down
34 changes: 0 additions & 34 deletions example/providers/ModalConnectProvider.tsx

This file was deleted.

0 comments on commit ad0a4cf

Please sign in to comment.