2023-07-18 19:35:29 +03:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
2023-09-08 20:53:22 +03:00
exports[`should inject metadata for collections 1`] = `
2023-07-18 19:35:29 +03:00
"<!DOCTYPE html>
<html translate="no">
<head>
<meta charset="utf-8" />
<title>Uniswap Interface</title>
<!--
2023-08-08 03:18:14 +03:00
will be replaced with the URL of the \`public\` folder during build.
2023-07-18 19:35:29 +03:00
Only files inside the \`public\` folder can be referenced from the HTML.
-->
2023-08-08 03:18:14 +03:00
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
<link rel="apple-touch-icon" sizes="192x192" href="/images/192x192_App_Icon.png" />
<link rel="apple-touch-icon" sizes="512x512" href="/images/512x512_App_Icon.png" />
2023-07-18 19:35:29 +03:00
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
2023-09-20 22:44:25 +03:00
<meta name="theme-color" content="#fff" />
2023-07-18 19:35:29 +03:00
<meta
http-equiv="Content-Security-Policy"
2023-07-25 22:12:13 +03:00
content="script-src 'self' 'unsafe-inline'"
2023-07-18 19:35:29 +03:00
/>
<!--
Apple Smart App Banner for Safari on iOS
https://developer.apple.com/documentation/webkit/promoting_apps_with_smart_app_banners
-->
<meta name="apple-itunes-app" content="app-id=6443944476">
<!--
manifest.json provides metadata used when the app is installed as a PWA.
See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
2023-08-08 03:18:14 +03:00
<link rel="manifest" href="/manifest.json" />
2023-07-18 19:35:29 +03:00
2023-09-21 22:03:10 +03:00
<link rel="preconnect" href="https://api.uniswap.org/" crossorigin/>
<link rel="preconnect" href="https://mainnet.infura.io/" crossorigin/>
2023-09-14 20:27:58 +03:00
2023-08-25 06:14:24 +03:00
<link rel="preload" href="/fonts/Basel-Book.woff" as="font" type="font/woff" crossorigin />
2023-11-03 00:05:13 +03:00
<link rel="preload" href="/fonts/Basel-Book.woff2" as="font" type="font/woff2" crossorigin />
2023-08-25 06:14:24 +03:00
<link rel="preload" href="/fonts/Basel-Medium.woff" as="font" type="font/woff" crossorigin />
2023-11-03 00:05:13 +03:00
<link rel="preload" href="/fonts/Basel-Medium.woff2" as="font" type="font/woff2" crossorigin />
2023-08-25 06:14:24 +03:00
2023-07-18 19:35:29 +03:00
<style>
* {
2023-08-25 06:14:24 +03:00
font-family: 'Basel', sans-serif;
2023-07-18 19:35:29 +03:00
box-sizing: border-box;
}
/**
2023-08-25 06:14:24 +03:00
Explicitly load Basel var from public/ so it does not block LCP's critical path.
2023-07-18 19:35:29 +03:00
*/
@font-face {
2023-08-25 06:14:24 +03:00
font-family: 'Basel';
font-weight: 535;
2023-07-18 19:35:29 +03:00
font-style: normal;
font-display: block;
2023-08-25 06:14:24 +03:00
src:
2023-11-03 00:05:13 +03:00
url('/fonts/Basel-Medium.woff2') format('woff2'),
url('/fonts/Basel-Medium.woff') format('woff');
2023-08-25 06:14:24 +03:00
}
@font-face {
font-family: 'Basel';
font-weight: 485;
font-style: normal;
font-display: block;
src:
2023-11-03 00:05:13 +03:00
url('/fonts/Basel-Book.woff') format('woff2'),
url('/fonts/Basel-Book.woff') format('woff');
2023-07-18 19:35:29 +03:00
}
@supports (font-variation-settings: normal) {
* {
2023-08-25 06:14:24 +03:00
font-family: 'Basel', sans-serif;
2023-07-18 19:35:29 +03:00
}
}
html,
body {
margin: 0;
padding: 0;
}
button {
user-select: none;
}
html {
font-size: 16px;
2023-08-25 06:14:24 +03:00
font-weight: 485;
2023-07-18 19:35:29 +03:00
font-variant: none;
font-smooth: always;
2023-08-25 06:14:24 +03:00
text-rendering: optimizeLegibility !important;
-webkit-font-smoothing: antialiased !important;
2023-07-18 19:35:29 +03:00
-moz-osx-font-smoothing: grayscale;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* Use this to apply network-specific gradient backgrounds, in RadialGradientByChainUpdater.ts */
#background-radial-gradient {
position: fixed;
top: 0;
left: 0;
right: 0;
pointer-events: none;
width: 200vw;
height: 200vh;
transform: translate(-50vw, -100vh);
z-index: -1;
}
html,
body,
#root {
min-height: 100%;
}
@media (prefers-color-scheme: dark) {
html {
2023-09-08 20:53:22 +03:00
background: linear-gradient(rgb(19, 19, 19) 0%, rgb(19, 19, 19) 100%);
2023-07-18 19:35:29 +03:00
}
}
@media (prefers-color-scheme: light) {
html {
2023-09-08 20:53:22 +03:00
background: radial-gradient(100% 100% at 50% 0%, rgba(255, 184, 226, 0) 0%, rgba(255, 255, 255, 0) 100%), rgb(255, 255, 255);
2023-07-18 19:35:29 +03:00
}
}
</style>
2023-08-10 22:29:37 +03:00
<script defer src="/static/js/bundle.js"></script><meta property="og:title" content="Azuki on Uniswap"/><meta property="og:image" content="http://127.0.0.1:3000/api/image/nfts/collection/0xed5af388653567af2f388e6224dc7c4b3241c544"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:image:alt" content="Azuki on Uniswap"/><meta property="og:type" content="website"/><meta property="og:url" content="http://127.0.0.1:3000/nfts/collection/0xed5af388653567af2f388e6224dc7c4b3241c544"/><meta property="twitter:card" content="summary_large_image"/><meta property="twitter:title" content="Azuki on Uniswap"/><meta property="twitter:image" content="http://127.0.0.1:3000/api/image/nfts/collection/0xed5af388653567af2f388e6224dc7c4b3241c544"/><meta property="twitter:image:alt" content="Azuki on Uniswap"/></head>
2023-07-18 19:35:29 +03:00
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root">
<!-- Triggers the font to load immediately and then is replaced by the app -->
<div> </div>
</div>
<div id="background-radial-gradient"></div>
</body>
</html>
"
`;
2023-09-08 20:53:22 +03:00
exports[`should inject metadata for collections 2`] = `
2023-07-18 19:35:29 +03:00
"<!DOCTYPE html>
<html translate="no">
<head>
<meta charset="utf-8" />
<title>Uniswap Interface</title>
<!--
2023-08-08 03:18:14 +03:00
will be replaced with the URL of the \`public\` folder during build.
2023-07-18 19:35:29 +03:00
Only files inside the \`public\` folder can be referenced from the HTML.
-->
2023-08-08 03:18:14 +03:00
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
<link rel="apple-touch-icon" sizes="192x192" href="/images/192x192_App_Icon.png" />
<link rel="apple-touch-icon" sizes="512x512" href="/images/512x512_App_Icon.png" />
2023-07-18 19:35:29 +03:00
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
2023-09-20 22:44:25 +03:00
<meta name="theme-color" content="#fff" />
2023-07-18 19:35:29 +03:00
<meta
http-equiv="Content-Security-Policy"
2023-07-25 22:12:13 +03:00
content="script-src 'self' 'unsafe-inline'"
2023-07-18 19:35:29 +03:00
/>
<!--
Apple Smart App Banner for Safari on iOS
https://developer.apple.com/documentation/webkit/promoting_apps_with_smart_app_banners
-->
<meta name="apple-itunes-app" content="app-id=6443944476">
<!--
manifest.json provides metadata used when the app is installed as a PWA.
See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
2023-08-08 03:18:14 +03:00
<link rel="manifest" href="/manifest.json" />
2023-07-18 19:35:29 +03:00
2023-09-21 22:03:10 +03:00
<link rel="preconnect" href="https://api.uniswap.org/" crossorigin/>
<link rel="preconnect" href="https://mainnet.infura.io/" crossorigin/>
2023-09-14 20:27:58 +03:00
2023-08-25 06:14:24 +03:00
<link rel="preload" href="/fonts/Basel-Book.woff" as="font" type="font/woff" crossorigin />
2023-11-03 00:05:13 +03:00
<link rel="preload" href="/fonts/Basel-Book.woff2" as="font" type="font/woff2" crossorigin />
2023-08-25 06:14:24 +03:00
<link rel="preload" href="/fonts/Basel-Medium.woff" as="font" type="font/woff" crossorigin />
2023-11-03 00:05:13 +03:00
<link rel="preload" href="/fonts/Basel-Medium.woff2" as="font" type="font/woff2" crossorigin />
2023-08-25 06:14:24 +03:00
2023-07-18 19:35:29 +03:00
<style>
* {
2023-08-25 06:14:24 +03:00
font-family: 'Basel', sans-serif;
2023-07-18 19:35:29 +03:00
box-sizing: border-box;
}
/**
2023-08-25 06:14:24 +03:00
Explicitly load Basel var from public/ so it does not block LCP's critical path.
2023-07-18 19:35:29 +03:00
*/
@font-face {
2023-08-25 06:14:24 +03:00
font-family: 'Basel';
font-weight: 535;
2023-07-18 19:35:29 +03:00
font-style: normal;
font-display: block;
2023-08-25 06:14:24 +03:00
src:
2023-11-03 00:05:13 +03:00
url('/fonts/Basel-Medium.woff2') format('woff2'),
url('/fonts/Basel-Medium.woff') format('woff');
2023-08-25 06:14:24 +03:00
}
@font-face {
font-family: 'Basel';
font-weight: 485;
font-style: normal;
font-display: block;
src:
2023-11-03 00:05:13 +03:00
url('/fonts/Basel-Book.woff') format('woff2'),
url('/fonts/Basel-Book.woff') format('woff');
2023-07-18 19:35:29 +03:00
}
@supports (font-variation-settings: normal) {
* {
2023-08-25 06:14:24 +03:00
font-family: 'Basel', sans-serif;
2023-07-18 19:35:29 +03:00
}
}
html,
body {
margin: 0;
padding: 0;
}
button {
user-select: none;
}
html {
font-size: 16px;
2023-08-25 06:14:24 +03:00
font-weight: 485;
2023-07-18 19:35:29 +03:00
font-variant: none;
font-smooth: always;
2023-08-25 06:14:24 +03:00
text-rendering: optimizeLegibility !important;
-webkit-font-smoothing: antialiased !important;
2023-07-18 19:35:29 +03:00
-moz-osx-font-smoothing: grayscale;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* Use this to apply network-specific gradient backgrounds, in RadialGradientByChainUpdater.ts */
#background-radial-gradient {
position: fixed;
top: 0;
left: 0;
right: 0;
pointer-events: none;
width: 200vw;
height: 200vh;
transform: translate(-50vw, -100vh);
z-index: -1;
}
html,
body,
#root {
min-height: 100%;
}
@media (prefers-color-scheme: dark) {
html {
2023-09-08 20:53:22 +03:00
background: linear-gradient(rgb(19, 19, 19) 0%, rgb(19, 19, 19) 100%);
2023-07-18 19:35:29 +03:00
}
}
@media (prefers-color-scheme: light) {
html {
2023-09-08 20:53:22 +03:00
background: radial-gradient(100% 100% at 50% 0%, rgba(255, 184, 226, 0) 0%, rgba(255, 255, 255, 0) 100%), rgb(255, 255, 255);
2023-07-18 19:35:29 +03:00
}
}
</style>
2023-08-10 22:29:37 +03:00
<script defer src="/static/js/bundle.js"></script><meta property="og:title" content="Bored Ape Yacht Club on Uniswap"/><meta property="og:image" content="http://127.0.0.1:3000/api/image/nfts/collection/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:image:alt" content="Bored Ape Yacht Club on Uniswap"/><meta property="og:type" content="website"/><meta property="og:url" content="http://127.0.0.1:3000/nfts/collection/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"/><meta property="twitter:card" content="summary_large_image"/><meta property="twitter:title" content="Bored Ape Yacht Club on Uniswap"/><meta property="twitter:image" content="http://127.0.0.1:3000/api/image/nfts/collection/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"/><meta property="twitter:image:alt" content="Bored Ape Yacht Club on Uniswap"/></head>
2023-07-18 19:35:29 +03:00
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root">
<!-- Triggers the font to load immediately and then is replaced by the app -->
<div> </div>
</div>
<div id="background-radial-gradient"></div>
</body>
</html>
"
`;
2023-09-08 20:53:22 +03:00
exports[`should inject metadata for collections 3`] = `
2023-07-18 19:35:29 +03:00
"<!DOCTYPE html>
<html translate="no">
<head>
<meta charset="utf-8" />
<title>Uniswap Interface</title>
<!--
2023-08-08 03:18:14 +03:00
will be replaced with the URL of the \`public\` folder during build.
2023-07-18 19:35:29 +03:00
Only files inside the \`public\` folder can be referenced from the HTML.
-->
2023-08-08 03:18:14 +03:00
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
<link rel="apple-touch-icon" sizes="192x192" href="/images/192x192_App_Icon.png" />
<link rel="apple-touch-icon" sizes="512x512" href="/images/512x512_App_Icon.png" />
2023-07-18 19:35:29 +03:00
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
2023-09-20 22:44:25 +03:00
<meta name="theme-color" content="#fff" />
2023-07-18 19:35:29 +03:00
<meta
http-equiv="Content-Security-Policy"
2023-07-25 22:12:13 +03:00
content="script-src 'self' 'unsafe-inline'"
2023-07-18 19:35:29 +03:00
/>
<!--
Apple Smart App Banner for Safari on iOS
https://developer.apple.com/documentation/webkit/promoting_apps_with_smart_app_banners
-->
<meta name="apple-itunes-app" content="app-id=6443944476">
<!--
manifest.json provides metadata used when the app is installed as a PWA.
See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
2023-08-08 03:18:14 +03:00
<link rel="manifest" href="/manifest.json" />
2023-07-18 19:35:29 +03:00
2023-09-21 22:03:10 +03:00
<link rel="preconnect" href="https://api.uniswap.org/" crossorigin/>
<link rel="preconnect" href="https://mainnet.infura.io/" crossorigin/>
2023-09-14 20:27:58 +03:00
2023-08-25 06:14:24 +03:00
<link rel="preload" href="/fonts/Basel-Book.woff" as="font" type="font/woff" crossorigin />
2023-11-03 00:05:13 +03:00
<link rel="preload" href="/fonts/Basel-Book.woff2" as="font" type="font/woff2" crossorigin />
2023-08-25 06:14:24 +03:00
<link rel="preload" href="/fonts/Basel-Medium.woff" as="font" type="font/woff" crossorigin />
2023-11-03 00:05:13 +03:00
<link rel="preload" href="/fonts/Basel-Medium.woff2" as="font" type="font/woff2" crossorigin />
2023-08-25 06:14:24 +03:00
2023-07-18 19:35:29 +03:00
<style>
* {
2023-08-25 06:14:24 +03:00
font-family: 'Basel', sans-serif;
2023-07-18 19:35:29 +03:00
box-sizing: border-box;
}
/**
2023-08-25 06:14:24 +03:00
Explicitly load Basel var from public/ so it does not block LCP's critical path.
2023-07-18 19:35:29 +03:00
*/
@font-face {
2023-08-25 06:14:24 +03:00
font-family: 'Basel';
font-weight: 535;
font-style: normal;
font-display: block;
src:
2023-11-03 00:05:13 +03:00
url('/fonts/Basel-Medium.woff2') format('woff2'),
url('/fonts/Basel-Medium.woff') format('woff');
2023-08-25 06:14:24 +03:00
}
@font-face {
font-family: 'Basel';
font-weight: 485;
2023-07-18 19:35:29 +03:00
font-style: normal;
font-display: block;
2023-08-25 06:14:24 +03:00
src:
2023-11-03 00:05:13 +03:00
url('/fonts/Basel-Book.woff') format('woff2'),
url('/fonts/Basel-Book.woff') format('woff');
2023-07-18 19:35:29 +03:00
}
@supports (font-variation-settings: normal) {
* {
2023-08-25 06:14:24 +03:00
font-family: 'Basel', sans-serif;
2023-07-18 19:35:29 +03:00
}
}
html,
body {
margin: 0;
padding: 0;
}
button {
user-select: none;
}
html {
font-size: 16px;
2023-08-25 06:14:24 +03:00
font-weight: 485;
2023-07-18 19:35:29 +03:00
font-variant: none;
font-smooth: always;
2023-08-25 06:14:24 +03:00
text-rendering: optimizeLegibility !important;
-webkit-font-smoothing: antialiased !important;
2023-07-18 19:35:29 +03:00
-moz-osx-font-smoothing: grayscale;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* Use this to apply network-specific gradient backgrounds, in RadialGradientByChainUpdater.ts */
#background-radial-gradient {
position: fixed;
top: 0;
left: 0;
right: 0;
pointer-events: none;
width: 200vw;
height: 200vh;
transform: translate(-50vw, -100vh);
z-index: -1;
}
html,
body,
#root {
min-height: 100%;
}
@media (prefers-color-scheme: dark) {
html {
2023-09-08 20:53:22 +03:00
background: linear-gradient(rgb(19, 19, 19) 0%, rgb(19, 19, 19) 100%);
2023-07-18 19:35:29 +03:00
}
}
@media (prefers-color-scheme: light) {
html {
2023-09-08 20:53:22 +03:00
background: radial-gradient(100% 100% at 50% 0%, rgba(255, 184, 226, 0) 0%, rgba(255, 255, 255, 0) 100%), rgb(255, 255, 255);
2023-07-18 19:35:29 +03:00
}
}
</style>
2023-08-10 22:29:37 +03:00
<script defer src="/static/js/bundle.js"></script><meta property="og:title" content="CLONE X - X TAKASHI MURAKAMI on Uniswap"/><meta property="og:image" content="http://127.0.0.1:3000/api/image/nfts/collection/0x49cf6f5d44e70224e2e23fdcdd2c053f30ada28b"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:image:alt" content="CLONE X - X TAKASHI MURAKAMI on Uniswap"/><meta property="og:type" content="website"/><meta property="og:url" content="http://127.0.0.1:3000/nfts/collection/0x49cf6f5d44e70224e2e23fdcdd2c053f30ada28b"/><meta property="twitter:card" content="summary_large_image"/><meta property="twitter:title" content="CLONE X - X TAKASHI MURAKAMI on Uniswap"/><meta property="twitter:image" content="http://127.0.0.1:3000/api/image/nfts/collection/0x49cf6f5d44e70224e2e23fdcdd2c053f30ada28b"/><meta property="twitter:image:alt" content="CLONE X - X TAKASHI MURAKAMI on Uniswap"/></head>
2023-07-18 19:35:29 +03:00
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root">
<!-- Triggers the font to load immediately and then is replaced by the app -->
<div> </div>
</div>
<div id="background-radial-gradient"></div>
</body>
</html>
"
`;