This commit is contained in:
LBlend committed 2021-06-22 04:11:58 +02:00
commit e77bb90b15
25 files changed
+10697

No files matched your search

+69
View File
@@ -0,0 +1,69 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Typescript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# dotenv environment variable files
.env*
# gatsby files
.cache/
public
# Mac files
.DS_Store
# Yarn
yarn-error.log
.pnp/
.pnp.js
# Yarn Integrity file
.yarn-integrity
+9
View File
@@ -0,0 +1,9 @@
# Sanity Clean Content Studio
Congratulations, you have now installed the Sanity Content Studio, an open source real-time content editing environment connected to the Sanity backend.
Now you can do the following things:
- [Read “getting started” in the docs](https://www.sanity.io/docs/introduction/getting-started?utm_source=readme)
- [Join the community Slack](https://slack.sanity.io/?utm_source=readme)
- [Extend and build plugins](https://www.sanity.io/docs/content-studio/extending?utm_source=readme)
+7
View File
@@ -0,0 +1,7 @@
{
"#": "Used by Sanity to keep track of configuration file checksums, do not delete or modify!",
"@sanity/default-layout": "bb034f391ba508a6ca8cd971967cbedeb131c4d19b17b28a0895f32db5d568ea",
"@sanity/default-login": "6fb6d3800aa71346e1b84d95bbcaa287879456f2922372bb0294e30b968cd37f",
"@sanity/form-builder": "b38478227ba5e22c91981da4b53436df22e48ff25238a55a973ed620be5068aa",
"@sanity/data-aspects": "d199e2c199b3e26cd28b68dc84d7fc01c9186bf5089580f2e2446994d36b3cb6"
}
+3
View File
@@ -0,0 +1,3 @@
{
"listOptions": {}
}
+6
View File
@@ -0,0 +1,6 @@
{
"toolSwitcher": {
"order": [],
"hidden": []
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"providers": {
"mode": "append",
"redirectOnSingle": false,
"entries": []
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"images": {
"directUploads": true
}
}
+130
View File
@@ -0,0 +1,130 @@
<!doctype html><html><head><meta charSet="utf-8"/><title>UiO Gaming – Sanity</title><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/><meta name="robots" content="noindex"/><style>html {background-color: #e4e8ed;}</style><link rel="stylesheet" href="/static/css/main.css?846aaf9daa889cd7775f"/><link rel="subresource" href="/static/js/vendor.bundle.js?f826d004e4a07d8b99fb"/><link rel="subresource" href="/static/js/app.bundle.js?846aaf9daa889cd7775f"/><link rel="icon" href="/static/favicon.ico"/></head><body id="sanityBody"><div id="sanity"><div class="sanity-app-loading-screen"><style type="text/css">
.sanity-app-loading-screen {
font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
text-align: center;
background-color: #F1F3F6;
color: #1C2430;
display: flex;
width: 100vw;
height: 100vh;
position: absolute;
top: 0;
left: 0;
}
.sanity-app-loading-screen__inner {
margin: auto;
}
.sanity-app-loading-screen__text {
margin-top: 2rem;
font-size: 13px;
font-weight: 600;
}
.sanity-app-loading-screen__loader {
display: block;
animation: pulse var(--time) cubic-bezier(.11,0,.27,1) infinite;
--time: 3s;
}
@keyframes pulse {
from {
transform: scale3d(0.75, 0.75, 0.75);
}
50% {
transform: scale3d(1, 1, 1);
}
to {
transform: scale3d(0.75, 0.75, 0.75);
}
}
</style><div class="sanity-app-loading-screen__inner"><div class="sanity-app-loading-screen__loader"><svg width="73" height="95" viewBox="0 0 73 95" fill="none" xmlns="http://www.w3.org/2000/svg" shape-rendering="geometricPrecision"><style>
.fillShape {
stroke-width: 40;
stroke: #F03E2F;
opacity: 0;
}
.fillShape--bottom {
stroke-dasharray: 90;
stroke-dashoffset: 85;
animation: bottom var(--time) ease-in infinite;
}
.fillShape--middle {
stroke-dasharray: 115;
stroke-dashoffset: 110;
animation: middle var(--time) linear infinite;
}
.fillShape--top {
stroke-dasharray: 77;
stroke-dashoffset: 72;
animation: top var(--time) ease-out infinite;
}
@keyframes bottom {
0%,
85% {
stroke-dashoffset: 265;
opacity: 0;
}
15%,
64% {
stroke-dashoffset: 175;
opacity: 0.5;
}
}
@keyframes middle {
11%,
75% {
stroke-dashoffset: 100;
opacity: 0;
}
15% {
opacity: 1;
}
25%,
63% {
stroke-dashoffset: 225;
opacity: 1;
}
}
@keyframes top {
22%,
70% {
opacity: 0;
stroke-dashoffset: 226;
}
25% {
opacity: 0.5;
}
35%,
54% {
stroke-dashoffset: 149;
opacity: 0.5;
}
}
</style><mask id="bottom" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="62" width="67" height="33"><path d="M56.4905 62.9807C63.6434 67.5637 66.7972 73.9744 66.7972 83.168C60.7987 90.7262 50.4577 95 38.2203 95C17.6963 95 3.17759 84.8102 0.0100098 67.282H19.7851C22.3343 75.3761 29.0748 79.1209 38.0622 79.1209C49.056 79.1209 56.3462 73.2598 56.4905 62.9807" fill="white"></path></mask><g mask="url(#bottom)"><path class="fillShape fillShape--bottom" d="M8 59C9.35605 77.6466 25.4128 87.4032 37.5 87.5C54 87.6322 62 75 71.5 66.5"></path></g><mask id="middle" mask-type="alpha" maskUnits="userSpaceOnUse" x="2" y="12" width="71" height="72"><path d="M7.73317 12.1206C7.73317 24.8871 15.6418 32.5484 31.4729 36.568L48.2521 40.4571C63.238 43.8926 72.3834 52.4472 72.3834 66.3818C72.493 72.4436 70.5187 78.3594 66.7904 83.1404C66.7904 69.2402 59.5963 61.7232 42.2605 57.2157L25.7698 53.471C12.5842 50.4683 2.40806 43.4323 2.40806 28.2952C2.33733 22.4523 4.21324 16.7521 7.74004 12.0931" fill="white"></path></mask><g mask="url(#middle)"><path class="fillShape fillShape--middle" d="M-15.5 8.5C-15.5 12 -1 41.7047 38.3457 48C65.7344 52.3822 69 68 62.8457 74.5C56.6914 81 54.5 82 54.5 82"></path></g><mask id="top" mask-type="alpha" maskUnits="userSpaceOnUse" x="7" y="0" width="65" height="32"><path d="M18.0122 31.1124C11.1411 26.7149 7.70557 20.524 7.70557 12.1138C13.4636 4.59677 23.3648 0 35.5198 0C56.4973 0 68.6317 11.09 71.6275 26.6737H52.5945C50.4988 20.5309 45.2562 15.7348 35.6641 15.7348C25.4399 15.7348 18.4863 21.6852 18.0122 31.1124" fill="white"></path></mask><g mask="url(#top)"><path class="fillShape fillShape--top" d="M9 35C9 21 19 5.49993 40 8.49996C61 11.5 65.3456 29 65.3456 33.5"></path></g></svg></div><div class="sanity-app-loading-screen__text">Connecting to Sanity.io</div></div></div><noscript><div class="sanity-app-no-js__root"><div class="sanity-app-no-js__content"><style type="text/css">
.sanity-app-no-js__root {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
background: #fff;
}
.sanity-app-no-js__content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
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>/* Global error handler */ window.onerror = function(e,t,n,o,r){if(r&&!r.message.includes("useRootTheme():")){var a=document.getElementById("sanity"),l=document.createElement("div");l.style.position="absolute",l.style.top="50%",l.style.left="50%",l.style.transform="translate(-50%, -50%)";var s=document.createElement("h1");s.innerText="Uncaught error";var d=document.createElement("pre"),i=document.createElement("code");d.style.fontSize="0.8em",d.style.opacity="0.7",d.style.overflow="auto",d.style.whiteSpace="pre-wrap",d.style.maxHeight="70vh";var c=r.stack&&r.stack.replace(r.message,"").replace(/^error: *\n?/i,""),m=(r.stack?r.message:r.toString())+(r.stack?"\n\nStack:\n\n"+c:"")+"\n\n(Your browsers Developer Tools may contain more info)";i.textContent=m;var p=document.createElement("button");for(p.style.padding="0.8em 1em",p.style.marginTop="1em",p.style.border="none",p.style.backgroundColor="#303030",p.style.color="#fff",p.style.borderRadius="4px",p.onclick=function(){window.location.reload()},p.textContent="Reload",d.appendChild(i),l.appendChild(s),l.appendChild(d),l.appendChild(p);a.firstChild;)a.removeChild(a.firstChild);a.appendChild(l)}}</script><script>/* Script loader */
!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?f826d004e4a07d8b99fb","/static/js/app.bundle.js?846aaf9daa889cd7775f"]);</script></body></html>
+1
View File
@@ -0,0 +1 @@
Files placed here will be served by the Sanity server under the `/static`-prefix
+1
View File
@@ -0,0 +1 @@
.DefaultButton_root_i03nr{-webkit-font-smoothing:inherit;position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;margin:0;padding:0;outline:none;font:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-decoration:none;background:none;color:inherit;border:none;border-radius:0;white-space:nowrap}.DefaultButton_root_i03nr[disabled]{color:inherit}.DefaultButton_root_i03nr.DefaultButton_bleed_1DBud{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.DefaultButton_root_i03nr>.DefaultButton_inner_Dhde5{background-color:#7b8ca8;color:#fff;border:1px solid transparent}.DefaultButton_root_i03nr:not(.DefaultButton_bleed_1DBud)>.DefaultButton_inner_Dhde5{border-radius:4px}.DefaultButton_root_i03nr .DefaultButton_spinner_20Jg6{background-color:rgba(123,140,168,.8)}.DefaultButton_root_i03nr:not(.DefaultButton_disabled_34S1j):focus>.DefaultButton_inner_Dhde5{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #2276fc;box-shadow:0 0 0 1px #fff,0 0 0 3px #2276fc}.DefaultButton_root_i03nr:not(.DefaultButton_disabled_34S1j):focus[data-tone=navbar]>.DefaultButton_inner_Dhde5{-webkit-box-shadow:0 0 0 1px #121923,0 0 0 3px #2276fc;box-shadow:0 0 0 1px #121923,0 0 0 3px #2276fc}@media (hover:hover){.DefaultButton_root_i03nr:not(.DefaultButton_disabled_34S1j):hover>.DefaultButton_inner_Dhde5{background-color:#6b7f9e}}.DefaultButton_root_i03nr:not(.DefaultButton_disabled_34S1j):active>.DefaultButton_inner_Dhde5{background-color:#5f7291}.DefaultButton_root_i03nr:not(.DefaultButton_disabled_34S1j).DefaultButton_simple_Pa4y6:not([data-tone=navbar])>.DefaultButton_inner_Dhde5{background-color:transparent;color:#5f7291}.DefaultButton_root_i03nr:not(.DefaultButton_disabled_34S1j).DefaultButton_simple_Pa4y6:not([data-tone=navbar]) .DefaultButton_spinner_20Jg6{background-color:hsla(0,0%,100%,.8)}@media (hover:hover){.DefaultButton_root_i03nr:not(.DefaultButton_disabled_34S1j).DefaultButton_simple_Pa4y6:not([data-tone=navbar]):hover>.DefaultButton_inner_Dhde5{background-color:rgba(123,140,168,.1);color:#4b5a72}}.DefaultButton_root_i03nr:not(.DefaultButton_disabled_34S1j).DefaultButton_simple_Pa4y6:not([data-tone=navbar]):active>.DefaultButton_inner_Dhde5{background-color:rgba(123,140,168,.2)}.DefaultButton_root_i03nr:not(.DefaultButton_disabled_34S1j).DefaultButton_simple_Pa4y6:not([data-tone=navbar]).DefaultButton_selected_3Zs27>.DefaultButton_inner_Dhde5{background-color:rgba(34,118,252,.15);color:#2276fc}.DefaultButton_root_i03nr:not(.DefaultButton_disabled_34S1j).DefaultButton_simple_Pa4y6[data-tone=navbar]>.DefaultButton_inner_Dhde5{background-color:transparent;color:#b8babd}.DefaultButton_root_i03nr:not(.DefaultButton_disabled_34S1j).DefaultButton_simple_Pa4y6[data-tone=navbar] .DefaultButton_spinner_20Jg6{background-color:hsla(0,0%,100%,.8)}@media (hover:hover){.DefaultButton_root_i03nr:not(.DefaultButton_disabled_34S1j).DefaultButton_simple_Pa4y6[data-tone=navbar]:hover>.DefaultButton_inner_Dhde5{background-color:rgba(123,140,168,.1);color:#b8c1d1}}.DefaultButton_root_i03nr:not(.DefaultButton_disabled_34S1j).DefaultButton_simple_Pa4y6[data-tone=navbar]:active>.DefaultButton_inner_Dhde5{background-color:rgba(123,140,168,.2)}.DefaultButton_root_i03nr:not(.DefaultButton_disabled_34S1j).DefaultButton_simple_Pa4y6[data-tone=navbar].DefaultButton_selected_3Zs27>.DefaultButton_inner_Dhde5{background-color:rgba(34,118,252,.2);color:#6da4fd}.DefaultButton_root_i03nr.DefaultButton_inverted_2nFwE:not(.DefaultButton_disabled_34S1j):not(:focus):not(:hover):not(:active)>.DefaultButton_inner_Dhde5{color:#7b8ca8;border-color:rgba(123,140,168,.35);background-color:transparent}.DefaultButton_root_i03nr.DefaultButton_inverted_2nFwE:not(.DefaultButton_disabled_34S1j):not(:focus):not(:hover):not(:active) .DefaultButton_spinner_20Jg6{background-color:hsla(0,0%,100%,.8)}.DefaultButton_root_i03nr.DefaultButton_inverted_2nFwE:not(.DefaultButton_disabled_34S1j):not(:focus):not(:hover):not(:active).DefaultButton_selected_3Zs27>.DefaultButton_inner_Dhde5{background-color:rgba(123,140,168,.2)}.DefaultButton_root_i03nr.DefaultButton_disabled_34S1j>.DefaultButton_inner_Dhde5{background-color:#e5e8ee;color:#7b8ca8}.DefaultButton_root_i03nr.DefaultButton_disabled_34S1j.DefaultButton_simple_Pa4y6>.DefaultButton_inner_Dhde5{background-color:transparent;color:#7b8ca8}.DefaultButton_root_i03nr.DefaultButton_loading_3Mglt>.DefaultButton_inner_Dhde5{overflow:hidden}.DefaultButton_root_i03nr.DefaultButton_size__extra-small_1OvbI{font-size:10px;font-size:.625rem;line-height:1.2}.DefaultButton_root_i03nr.DefaultButton_size__small_338Ah{font-size:13px;font-size:.8125rem;line-height:1.23077}.DefaultButton_root_i03nr.DefaultButton_size__large_1vPIq{font-size:18px;font-size:1.125rem;line-height:1.33333}.DefaultButton_root_i03nr.DefaultButtLine truncated
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

+1377
View File
File diff suppressed because it is too large. Load diff
+30
View File
@@ -0,0 +1,30 @@
!function(e){var t=window.webpackJsonp;window.webpackJsonp=function(n,a,o){for(var u,i,s,c=0,f=[];c<n.length;c++)i=n[c],r[i]&&f.push(r[i][0]),r[i]=0;for(u in a)Object.prototype.hasOwnProperty.call(a,u)&&(e[u]=a[u]);for(t&&t(n,a,o);f.length;)f.shift()();if(o)for(c=0;c<o.length;c++)s=l(l.s=o[c]);return s};var n={},r={1:0};function l(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.m=e,l.c=n,l.d=function(e,t,n){l.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="/static/",l.oe=function(e){throw console.error(e),e},l(l.s=3525)}({0:function(e,t,n){"use strict";e.exports=n(1186)},1186:function(e,t,n){"use strict";
/** @license React v17.0.2
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=n(20),l=60103,a=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var o=60109,u=60110,i=60112;t.Suspense=60113;var s=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;l=f("react.element"),a=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),o=f("react.provider"),u=f("react.context"),i=f("react.forward_ref"),t.Suspense=f("react.suspense"),s=f("react.memo"),c=f("react.lazy")}var d="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function g(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=v.prototype;var b=y.prototype=new g;b.constructor=y,r(b,v.prototype),b.isPureReactComponent=!0;var w={current:null},k=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var r,a={},o=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(o=""+t.key),t)k.call(t,r)&&!S.hasOwnProperty(r)&&(a[r]=t[r]);var i=arguments.length-2;if(1===i)a.children=n;else if(1<i){for(var s=Array(i),c=0;c<i;c++)s[c]=arguments[c+2];a.children=s}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===a[r]&&(a[r]=i[r]);return{$$typeof:l,type:e,key:o,ref:u,props:a,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===l}var _=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,n,r,o){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var i=!1;if(null===e)i=!0;else switch(u){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case l:case a:i=!0}}if(i)return o=o(i=e),e=""===r?"."+C(i,0):r,Array.isArray(o)?(n="",null!=e&&(n=e.replace(_,"$&/")+"/"),P(o,t,n,"",(function(e){return e}))):null!=o&&(x(o)&&(o=function(e,t){return{$$typeof:l,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(_,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=""===r?".":r+":",Array.isArray(e))for(var s=0;s<e.length;s++){var c=r+C(u=e[s],s);i+=P(u,t,n,c,o)}else if("function"==typeof(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e)))for(e=c.call(e),s=0;!(u=e.next()).done;)i+=P(u=u.value,t,n,c=r+C(u,s++),o);else if("object"===u)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return i}function N(e,t,n){if(null==e)return e;var r=[],l=0;return P(e,r,"","",(function(e){return t.call(n,e,l++)})),r}function T(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var z={current:null};function L(){var e=z.current;if(null===e)throw Error(p(321));return e}var O={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!x(e))throw Error(p(143));return e}},t.Component=v,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,n){if(null==e)throw Error(p(267,e));var a=r({},e.props),o=e.key,u=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,i=w.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)k.call(t,c)&&!S.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){s=Array(c);for(var f=0;f<c;f++)s[f]=arguments[f+2];a.children=s}return{$$typeof:l,type:e.type,key:o,ref:u,props:a,_owner:i}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:u,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:o,_context:e},eLine truncated
/** @license React v17.0.2
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=n(0),l=n(20),a=n(1188);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(o(227));var u=new Set,i={};function s(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(i[e]=t,e=0;e<t.length;e++)u.add(t[e])}var f=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},m={};function v(e,t,n,r,l,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function w(e,t,n,r){var l=g.hasOwnProperty(t)?g[t]:null;(null!==l?0===l.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,l,r)&&(n=null),r||null===l?function(e){return!!p.call(m,e)||!p.call(h,e)&&(d.test(e)?m[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=null===n?3!==l.type&&"":n:(t=l.attributeName,r=l.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(l=l.type)||4===l&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);g[t]=new v(t,1,!1,e,"http:// Line truncated
/** @license React v0.20.2
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r,l,a,o;if("object"==typeof performance&&"function"==typeof performance.now){var u=performance;t.unstable_now=function(){return u.now()}}else{var i=Date,s=i.now();t.unstable_now=function(){return i.now()-s}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,f=null,d=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(d,0),e}};r=function(e){null!==c?setTimeout(r,0,e):(c=e,setTimeout(d,0))},l=function(e,t){f=setTimeout(e,t)},a=function(){clearTimeout(f)},t.unstable_shouldYield=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var v=!1,g=null,y=-1,b=5,w=0;t.unstable_shouldYield=function(){return t.unstable_now()>=w},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,S=k.port2;k.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();w=e+b;try{g(!0,e)?S.postMessage(null):(v=!1,g=null)}catch(e){throw S.postMessage(null),e}}else v=!1},r=function(e){g=e,v||(v=!0,S.postMessage(null))},l=function(e,n){y=p((function(){e(t.unstable_now())}),n)},a=function(){h(y),y=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,l=e[r];if(!(void 0!==l&&0<C(l,t)))break e;e[r]=t,e[n]=l,n=r}}function x(e){return void 0===(e=e[0])?null:e}function _(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,l=e.length;r<l;){var a=2*(r+1)-1,o=e[a],u=a+1,i=e[u];if(void 0!==o&&0>C(o,n))void 0!==i&&0>C(i,o)?(e[r]=i,e[u]=n,r=u):(e[r]=o,e[a]=n,r=a);else{if(!(void 0!==i&&0>C(i,n)))break e;e[r]=i,e[u]=n,r=u}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],N=[],T=1,z=null,L=3,O=!1,M=!1,R=!1;function I(e){for(var t=x(N);null!==t;){if(null===t.callback)_(N);else{if(!(t.startTime<=e))break;_(N),t.sortIndex=t.expirationTime,E(P,t)}t=x(N)}}function D(e){if(R=!1,I(e),!M)if(null!==x(P))M=!0,r(F);else{var t=x(N);null!==t&&l(D,t.startTime-e)}}function F(e,n){M=!1,R&&(R=!1,a()),O=!0;var r=L;try{for(I(n),z=x(P);null!==z&&(!(z.expirationTime>n)||e&&!t.unstable_shouldYield());){var o=z.callback;if("function"==typeof o){z.callback=null,L=z.priorityLevel;var u=o(z.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?z.callback=u:z===x(P)&&_(P),I(n)}else _(P);z=x(P)}if(null!==z)var i=!0;else{var s=x(N);null!==s&&l(D,s.startTime-n),i=!1}return i}finally{z=null,L=r,O=!1}}var U=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){M||O||(M=!0,r(F))},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return x(P)},t.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var n=L;L=t;try{return e()}finally{L=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=U,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=L;L=e;try{return t()}finally{L=n}},t.unstable_scheduleCallback=function(e,n,o){var u=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?u+o:u:o=u,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return e={id:T++,callback:n,priorityLevel:e,startTime:o,expirationTime:i=o+i,sortIndex:-1},o>u?(e.sortIndex=o,E(N,e),null===x(P)&&e===x(N)&&(R?a():R=!0,l(D,o-u))):(e.sortIndex=i,E(P,e),M||O||(M=!0,r(F))),e},t.unstable_wrapCallback=function(e){var t=L;return function(){var n=L;L=t;try{return e.apply(this,arguments)}finally{L=n}}}},20:function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,u,i=o(e),s=1;s<arguments.length;s++){for(var c in n=Object(arguments[s]))l.call(n,c)&&(i[c]=n[c]);if(r){u=r(n);for(var f=0;f<u.length;f++)a.call(n,u[f])&&(i[u[f]]=n[u[f]])}}return i}},3525:function(e,t,n){n(0),e.exports=n(59)},59:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(1187)}});
+30
View File
@@ -0,0 +1,30 @@
{
"name": "uiogaming",
"private": true,
"version": "1.0.0",
"description": "",
"main": "package.json",
"author": "Leander West Furumo <lblend@protonmail.com>",
"license": "UNLICENSED",
"scripts": {
"start": "sanity start",
"build": "sanity build"
},
"keywords": [
"sanity"
],
"dependencies": {
"@sanity/base": "^2.10.2",
"@sanity/components": "^2.2.6",
"@sanity/core": "^2.10.2",
"@sanity/default-layout": "^2.10.2",
"@sanity/default-login": "^2.8.0",
"@sanity/desk-tool": "^2.10.4",
"@sanity/vision": "^2.10.0",
"prop-types": "^15.7",
"react": "^17.0",
"react-dom": "^17.0",
"sanity-plugin-order-documents": "^0.0.18"
},
"devDependencies": {}
}
+1
View File
@@ -0,0 +1 @@
User-specific packages can be placed here
+31
View File
@@ -0,0 +1,31 @@
{
"root": true,
"project": {
"name": "UiO Gaming"
},
"api": {
"projectId": "mmqlu667",
"dataset": "production"
},
"plugins": [
"@sanity/base",
"@sanity/components",
"@sanity/default-layout",
"@sanity/default-login",
"@sanity/desk-tool",
"order-documents"
],
"env": {
"development": {
"plugins": [
"@sanity/vision"
]
}
},
"parts": [
{
"name": "part:@sanity/base/schema",
"path": "./schemas/schema"
}
]
}
+56
View File
@@ -0,0 +1,56 @@
export default {
name: "author",
title: "Person",
type: "document",
fields: [
{
name: "name",
title: "Navn",
type: "string",
validation: (Rule) => Rule.required().max(50),
},
{
name: "boardMember",
title: "Styremedlem?",
type: "boolean",
},
{
name: "image",
title: "Bilde",
type: "image",
options: {
hotspot: true,
},
},
{
name: "role",
title: "Stilling",
type: "string",
validation: (Rule) => Rule.required().max(50),
},
{
name: "email",
title: "E-post",
type: "string",
validation: (Rule) => Rule.required().max(50),
},
{
name: "bio",
title: "Bio",
type: "string",
validation: (Rule) => Rule.required().max(280),
},
{
name: "order",
title: "Rekkefølge",
type: "number",
hidden: true,
},
],
preview: {
select: {
title: "name",
media: "image",
},
},
};
+65
View File
@@ -0,0 +1,65 @@
/**
* This is the schema definition for the rich text fields used for
* for this blog studio. When you import it in schemas.js it can be
* reused in other parts of the studio with:
* {
* name: 'someName',
* title: 'Some title',
* type: 'blockContent'
* }
*/
export default {
title: "Block Content",
name: "blockContent",
type: "array",
of: [
{
title: "Block",
type: "block",
// Styles let you set what your user can mark up blocks with. These
// correspond with HTML tags, but you can set any title or value
// you want and decide how you want to deal with it where you want to
// use your content.
styles: [
{ title: "Normal", value: "normal" },
{ title: "H1", value: "h1" },
{ title: "H2", value: "h2" },
{ title: "H3", value: "h3" },
{ title: "H4", value: "h4" },
{ title: "Quote", value: "blockquote" },
],
lists: [{ title: "Bullet", value: "bullet" }],
// Marks let you mark up inline text in the block editor.
marks: {
// Decorators usually describe a single property – e.g. a typographic
// preference or highlighting by editors.
decorators: [
{ title: "Strong", value: "strong" },
{ title: "Emphasis", value: "em" },
],
// Annotations can be any object structure – e.g. a link or a footnote.
annotations: [
{
title: "URL",
name: "link",
type: "object",
fields: [
{
title: "URL",
name: "href",
type: "url",
},
],
},
],
},
},
// You can add additional types here. Note that you can't use
// primitive types such as 'string' and 'number' in the same array
// as a block type.
{
type: "image",
options: { hotspot: true },
},
],
};
+63
View File
@@ -0,0 +1,63 @@
export default {
name: "event",
title: "Arrangement",
type: "document",
fields: [
{
name: "title",
title: "Navn",
type: "string",
validation: (Rule) => Rule.required().max(50),
},
{
name: "slug",
title: "Slug",
description:
"Lenke til arrangementet. Sørg for at navnet er unikt og trykk på generate. Hvis ikke, endre denne til noe unikt",
type: "slug",
options: {
source: "title",
maxLength: 96,
},
validation: (Rule) => Rule.required(),
},
{
name: "date",
title: "Tidspunkt",
type: "datetime",
validation: (Rule) => Rule.required(),
options: {
dateFormat: "YYYY-MM-DD",
timeFormat: "HH:mm",
timeStep: 15,
calendarTodayLabel: "I dag",
},
},
{
name: "location",
title: "Sted",
type: "string",
validation: (Rule) => Rule.required().max(50),
},
{
name: "description",
title: "Beskrivelse",
type: "string",
validation: (Rule) => Rule.required().max(100),
},
],
preview: {
select: {
title: "title",
date: "date",
location: "location",
},
prepare(selection) {
const { date } = selection;
return Object.assign({}, selection, {
subtitle: date && `${date}`,
});
},
},
};
+67
View File
@@ -0,0 +1,67 @@
export default {
name: "post",
title: "Blogginnlegg",
type: "document",
fields: [
{
name: "title",
title: "Tittel",
type: "string",
validation: (Rule) => Rule.required().max(50),
},
{
name: "slug",
title: "Slug",
description:
"Lenke til innlegget. Sørg for at tittelen er unik og trykk på generate. Hvis ikke, endre denne til noe unikt",
type: "slug",
options: {
source: "title",
maxLength: 96,
},
},
{
name: "author",
title: "Person",
type: "reference",
to: { type: "author" },
validation: (Rule) => Rule.required(),
},
{
name: "mainImage",
title: "Forsidebilde",
type: "image",
options: {
hotspot: true,
},
},
{
name: "body",
title: "Brødtekst",
type: "blockContent",
validation: (Rule) => Rule.required(),
},
{
name: "excerpt",
title: "Sammendrag",
description:
"Dette er teksten som vil vises på forsiden som forhåndsvisning",
type: "string",
validation: (Rule) => Rule.required().max(100),
},
],
preview: {
select: {
title: "title",
author: "author.name",
media: "mainImage",
},
prepare(selection) {
const { author } = selection;
return Object.assign({}, selection, {
subtitle: author && `${author}`,
});
},
},
};
+29
View File
@@ -0,0 +1,29 @@
// First, we must import the schema creator
import createSchema from "part:@sanity/base/schema-creator";
// Then import schema types from any plugins that might expose them
import schemaTypes from "all:part:@sanity/base/schema-type";
// We import object and document schemas
import blockContent from "./blockContent";
import event from "./event";
import post from "./post";
import author from "./author";
// Then we give our schema to the builder and provide the result to Sanity
export default createSchema({
// We name our schema
name: "default",
// Then proceed to concatenate our document type
// to the ones provided by any plugins that are installed
types: schemaTypes.concat([
// The following are document types which will appear
// in the studio.
post,
author,
event,
// When added to this list, object types can be used as
// { type: 'typename' } in other document schemas
blockContent,
]),
});
+1
View File
@@ -0,0 +1 @@
Files placed here will be served by the Sanity server under the `/static`-prefix
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

+6
View File
@@ -0,0 +1,6 @@
{
// Note: This config is only used to help editors like VS Code understand/resolve
// parts, the actual transpilation is done by babel. Any compiler configuration in
// here will be ignored.
"include": ["./node_modules/@sanity/base/types/**/*.ts", "./**/*.ts", "./**/*.tsx"]
}
+8703
View File
File diff suppressed because it is too large. Load diff