forked from 0xPolygonHermez/zkevm-bridge-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Stellarthoughts/favicon_2
- Loading branch information
Showing
9 changed files
with
125 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Helmet } from "react-helmet"; | ||
import { useEnvContext } from "../contexts/env.context"; | ||
|
||
export const AppHead = () => { | ||
const env = useEnvContext(); | ||
|
||
return ( | ||
<Helmet> | ||
<meta charSet="UTF-8" /> | ||
<meta content="width=device-width, initial-scale=1.0" name="viewport" /> | ||
<meta | ||
content="Simple user interface to bridge ETH and your favorite ERC-20 tokens from Ethereum to the Polygon zkEVM and back" | ||
name="description" | ||
/> | ||
{env?.faviconPath ? ( | ||
<link href={env.faviconPath} rel="icon" type="image/svg+xml" /> | ||
) : ( | ||
<link href="/favicon.ico" rel="icon" type="image/svg+xml" /> | ||
)} | ||
<link href="/logo192.png" rel="apple-touch-icon" /> | ||
<link href="/manifest.json" rel="manifest" /> | ||
<title>Polygon zkEVM Bridge</title> | ||
</Helmet> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters