Skip to content

Commit

Permalink
Follow up amends for uses page and sanity upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
danielvanc committed Mar 19, 2019
1 parent b0f7b8c commit 1fe3c60
Show file tree
Hide file tree
Showing 7 changed files with 147 additions and 135 deletions.
8 changes: 5 additions & 3 deletions src/pages/uses.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ const LeftContent = styled(HTMLContent)`
float: right;
max-height: 460px;
shape-outside: polygon(214px 26px, 97.37% 2.4%, 100.48% 0.32%, 419px 3px, 418px 571px, 102.01% 102.49%, 66.01% 86.08%, 7.92% 58%, 3.3% 55.14%, 3.53% 49.99%, 7.23% 46.33%, 79px 161px);
margin-right: -1.5em;
margin-right: -2em;
padding: 1.313em 0 0.313em 1.313em;
@media screen and (min-width: 75em) {
height: 80%;
shape-outside: polygon(251px 71px, 91.51% 2.4%, 96.29% 0.53%, 419px 3px, 418px 571px, 100.75% 102.08%, 66.01% 86.08%, 7.92% 58%, 3.3% 55.14%, 3.53% 49.99%, 7.23% 46.33%, 92px 237px);
margin-left:-1.5em;
shape-outside: polygon(248px 51px, 100.12% 1.6%, 100.06% 99.8%, 66.01% 86.08%, 6.17% 59.53%, -0.87% 54.68%, -0.76% 49.95%, 2.84% 46.03%, 97px 213px);
max-height: 630px;
}
}
Expand All @@ -64,13 +65,14 @@ const RightContent = styled(HTMLContent)`
justify-self: center;
float: left;
shape-outside: polygon(-1px 7px, 4.21% 1.85%, 8.28% 4.47%, 53px 51px, 62.19% 29.71%, 89.29% 41.48%, 97.54% 46.9%, 96.89% 50.72%, 94.87% 55.14%, 8.14% 100.08%, 4px 678px);
margin-left: -1.5em;
margin-left: -2em;
padding: 1.313em 1.5em 0.313em 0;
shape-margin:0 10px 0 0;
max-height: 460px;
@media screen and (min-width: 75em) {
shape-outside: polygon(0px 9px, 4.21% 1.85%, 9.1% 3.24%, 66px 51px, 65.90% 29.50%, 90.94% 41.89%, 98.78% 46.9%, 98.95% 50.72%, 97.34% 55.14%, 11.44% 99.26%, 4px 678px);
height: 80%;
margin-left: -1.5em;
max-height: 630px;
}
}
Expand Down
4 changes: 2 additions & 2 deletions studio/dist/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html><head><meta charSet="utf-8"/><title>danielvanc.com – Sanity</title><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/><link rel="stylesheet" href="/static/css/main.css?1ee917871817b2293bf9"/><link rel="subresource" href="/static/js/vendor.bundle.js?209f635feaa915fbe2dd"/><link rel="subresource" href="/static/js/app.bundle.js?1ee917871817b2293bf9"/><link rel="icon" href="/static/favicon.ico"/></head><body id="sanityBody"><div id="sanity"><div class="sanity-app-loading-screen__root"><style type="text/css">
<!doctype html><html><head><meta charSet="utf-8"/><title>danielvanc.com – Sanity</title><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/><link rel="stylesheet" href="/static/css/main.css?93161511077c7d812aee"/><link rel="subresource" href="/static/js/vendor.bundle.js?005ccacf239f37b871ce"/><link rel="subresource" href="/static/js/app.bundle.js?93161511077c7d812aee"/><link rel="icon" href="/static/favicon.ico"/></head><body id="sanityBody"><div id="sanity"><div class="sanity-app-loading-screen__root"><style type="text/css">
.sanity-app-loading-screen__root {
display: block;
width: 100vw;
Expand Down Expand Up @@ -68,4 +68,4 @@
text-align: center;
font-family: helvetica, arial, sans-serif;
}
</style><h1>JavaScript disabled</h1><p>Please <a href="https://www.enable-javascript.com/">enable JavaScript</a> in your browser and reload the page to proceed.</p></div></div></noscript></div><script>!function(e,t){if(void 0!==window.fetch)t.forEach(function(t){var o=e.createElement("script");o.src=t,o.async=!1,e.head.appendChild(o)});else{var o=e.getElementById("sanity");'<div style="height:100%;width: 100%;position: absolute;top:45%;text-align:center;font-family:helvetica, arial, sans-serif;">',"<h1>Browser not supported</h1>",'<p>Please use a modern browser such as <a href="https://www.google.com/chrome/">Chrome</a> or <a href="https://www.getfirefox.org/">Firefox</a>.</p>',"</div>","</div>";var r=o;do{r.style.height="100%",r=r.parentNode}while(r.parentNode);o.innerHTML='<div style="position:relative;height:100%;"><div style="height:100%;width: 100%;position: absolute;top:45%;text-align:center;font-family:helvetica, arial, sans-serif;"><h1>Browser not supported</h1><p>Please use a modern browser such as <a href="https://www.google.com/chrome/">Chrome</a> or <a href="https://www.getfirefox.org/">Firefox</a>.</p></div></div>'}}(document,["/static/js/vendor.bundle.js?209f635feaa915fbe2dd","/static/js/app.bundle.js?1ee917871817b2293bf9"]);</script></body></html>
</style><h1>JavaScript disabled</h1><p>Please <a href="https://www.enable-javascript.com/">enable JavaScript</a> in your browser and reload the page to proceed.</p></div></div></noscript></div><script>!function(e,t){if(void 0!==window.fetch)t.forEach(function(t){var o=e.createElement("script");o.src=t,o.async=!1,e.head.appendChild(o)});else{var o=e.getElementById("sanity");'<div style="height:100%;width: 100%;position: absolute;top:45%;text-align:center;font-family:helvetica, arial, sans-serif;">',"<h1>Browser not supported</h1>",'<p>Please use a modern browser such as <a href="https://www.google.com/chrome/">Chrome</a> or <a href="https://www.getfirefox.org/">Firefox</a>.</p>',"</div>","</div>";var r=o;do{r.style.height="100%",r=r.parentNode}while(r.parentNode);o.innerHTML='<div style="position:relative;height:100%;"><div style="height:100%;width: 100%;position: absolute;top:45%;text-align:center;font-family:helvetica, arial, sans-serif;"><h1>Browser not supported</h1><p>Please use a modern browser such as <a href="https://www.google.com/chrome/">Chrome</a> or <a href="https://www.getfirefox.org/">Firefox</a>.</p></div></div>'}}(document,["/static/js/vendor.bundle.js?005ccacf239f37b871ce","/static/js/app.bundle.js?93161511077c7d812aee"]);</script></body></html>
2 changes: 1 addition & 1 deletion studio/dist/static/css/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion studio/dist/static/js/app.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion studio/dist/static/js/vendor.bundle.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"sanity"
],
"dependencies": {
"@sanity/base": "^0.140.9",
"@sanity/components": "^0.140.9",
"@sanity/core": "^0.140.9",
"@sanity/default-layout": "^0.140.9",
"@sanity/base": "^0.140.11",
"@sanity/components": "^0.140.11",
"@sanity/core": "^0.140.11",
"@sanity/default-layout": "^0.140.11",
"@sanity/default-login": "^0.140.3",
"@sanity/desk-tool": "^0.140.9",
"@sanity/desk-tool": "^0.140.11",
"prop-types": "^15.6",
"react": "^16.2",
"react-dom": "^16.2"
Expand Down
Loading

0 comments on commit 1fe3c60

Please sign in to comment.