mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -05:00
Merge branch 'develop' into no-report-own-comments
This commit is contained in:
commit
810465bfcf
14 changed files with 230 additions and 57 deletions
92
package-lock.json
generated
92
package-lock.json
generated
|
@ -219,9 +219,9 @@
|
|||
}
|
||||
},
|
||||
"@babel/compat-data": {
|
||||
"version": "7.14.5",
|
||||
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.14.5.tgz",
|
||||
"integrity": "sha512-kixrYn4JwfAVPa0f2yfzc2AWti6WRRyO3XjWW5PJAvtE11qhSayrrcrEnee05KAtNaPC+EwehE8Qt1UedEVB8w==",
|
||||
"version": "7.14.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.14.7.tgz",
|
||||
"integrity": "sha512-nS6dZaISCXJ3+518CWiBfEr//gHyMO02uDxBkXTKZDN5POruCnOZ1N4YBRZDCabwF8nZMWBpRxIicmXtBs+fvw==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/core": {
|
||||
|
@ -308,9 +308,9 @@
|
|||
}
|
||||
},
|
||||
"@babel/parser": {
|
||||
"version": "7.14.6",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.6.tgz",
|
||||
"integrity": "sha512-oG0ej7efjEXxb4UgE+klVx+3j4MVo+A2vCzm7OUN4CLo6WhQ+vSOD2yJ8m7B+DghObxtLxt3EfgMWpq+AsWehQ==",
|
||||
"version": "7.14.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz",
|
||||
"integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/template": {
|
||||
|
@ -325,9 +325,9 @@
|
|||
}
|
||||
},
|
||||
"@babel/traverse": {
|
||||
"version": "7.14.5",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.5.tgz",
|
||||
"integrity": "sha512-G3BiS15vevepdmFqmUc9X+64y0viZYygubAMO8SvBmKARuF6CPSZtH4Ng9vi/lrWlZFGe3FWdXNy835akH8Glg==",
|
||||
"version": "7.14.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.7.tgz",
|
||||
"integrity": "sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.14.5",
|
||||
|
@ -335,7 +335,7 @@
|
|||
"@babel/helper-function-name": "^7.14.5",
|
||||
"@babel/helper-hoist-variables": "^7.14.5",
|
||||
"@babel/helper-split-export-declaration": "^7.14.5",
|
||||
"@babel/parser": "^7.14.5",
|
||||
"@babel/parser": "^7.14.7",
|
||||
"@babel/types": "^7.14.5",
|
||||
"debug": "^4.1.0",
|
||||
"globals": "^11.1.0"
|
||||
|
@ -504,9 +504,9 @@
|
|||
}
|
||||
},
|
||||
"electron-to-chromium": {
|
||||
"version": "1.3.752",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.752.tgz",
|
||||
"integrity": "sha512-2Tg+7jSl3oPxgsBsWKh5H83QazTkmWG/cnNwJplmyZc7KcN61+I10oUgaXSVk/NwfvN3BdkKDR4FYuRBQQ2v0A==",
|
||||
"version": "1.3.755",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.755.tgz",
|
||||
"integrity": "sha512-BJ1s/kuUuOeo1bF/EM2E4yqW9te0Hpof3wgwBx40AWJE18zsD1Tqo0kr7ijnOc+lRsrlrqKPauJAHqaxOItoUA==",
|
||||
"dev": true
|
||||
},
|
||||
"semver": {
|
||||
|
@ -565,9 +565,9 @@
|
|||
}
|
||||
},
|
||||
"@babel/helper-member-expression-to-functions": {
|
||||
"version": "7.14.5",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.14.5.tgz",
|
||||
"integrity": "sha512-UxUeEYPrqH1Q/k0yRku1JE7dyfyehNwT6SVkMHvYvPDv4+uu627VXBckVj891BO8ruKBkiDoGnZf4qPDD8abDQ==",
|
||||
"version": "7.14.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.14.7.tgz",
|
||||
"integrity": "sha512-TMUt4xKxJn6ccjcOW7c4hlwyJArizskAhoSTOCkA0uZ+KghIaci0Qg9R043kUMWI9mtQfgny+NQ5QATnZ+paaA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/types": "^7.14.5"
|
||||
|
@ -695,9 +695,9 @@
|
|||
}
|
||||
},
|
||||
"@babel/parser": {
|
||||
"version": "7.14.6",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.6.tgz",
|
||||
"integrity": "sha512-oG0ej7efjEXxb4UgE+klVx+3j4MVo+A2vCzm7OUN4CLo6WhQ+vSOD2yJ8m7B+DghObxtLxt3EfgMWpq+AsWehQ==",
|
||||
"version": "7.14.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz",
|
||||
"integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/template": {
|
||||
|
@ -712,9 +712,9 @@
|
|||
}
|
||||
},
|
||||
"@babel/traverse": {
|
||||
"version": "7.14.5",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.5.tgz",
|
||||
"integrity": "sha512-G3BiS15vevepdmFqmUc9X+64y0viZYygubAMO8SvBmKARuF6CPSZtH4Ng9vi/lrWlZFGe3FWdXNy835akH8Glg==",
|
||||
"version": "7.14.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.7.tgz",
|
||||
"integrity": "sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.14.5",
|
||||
|
@ -722,7 +722,7 @@
|
|||
"@babel/helper-function-name": "^7.14.5",
|
||||
"@babel/helper-hoist-variables": "^7.14.5",
|
||||
"@babel/helper-split-export-declaration": "^7.14.5",
|
||||
"@babel/parser": "^7.14.5",
|
||||
"@babel/parser": "^7.14.7",
|
||||
"@babel/types": "^7.14.5",
|
||||
"debug": "^4.1.0",
|
||||
"globals": "^11.1.0"
|
||||
|
@ -914,9 +914,9 @@
|
|||
}
|
||||
},
|
||||
"@babel/parser": {
|
||||
"version": "7.14.6",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.6.tgz",
|
||||
"integrity": "sha512-oG0ej7efjEXxb4UgE+klVx+3j4MVo+A2vCzm7OUN4CLo6WhQ+vSOD2yJ8m7B+DghObxtLxt3EfgMWpq+AsWehQ==",
|
||||
"version": "7.14.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz",
|
||||
"integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/template": {
|
||||
|
@ -931,9 +931,9 @@
|
|||
}
|
||||
},
|
||||
"@babel/traverse": {
|
||||
"version": "7.14.5",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.5.tgz",
|
||||
"integrity": "sha512-G3BiS15vevepdmFqmUc9X+64y0viZYygubAMO8SvBmKARuF6CPSZtH4Ng9vi/lrWlZFGe3FWdXNy835akH8Glg==",
|
||||
"version": "7.14.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.7.tgz",
|
||||
"integrity": "sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.14.5",
|
||||
|
@ -941,7 +941,7 @@
|
|||
"@babel/helper-function-name": "^7.14.5",
|
||||
"@babel/helper-hoist-variables": "^7.14.5",
|
||||
"@babel/helper-split-export-declaration": "^7.14.5",
|
||||
"@babel/parser": "^7.14.5",
|
||||
"@babel/parser": "^7.14.7",
|
||||
"@babel/types": "^7.14.5",
|
||||
"debug": "^4.1.0",
|
||||
"globals": "^11.1.0"
|
||||
|
@ -1147,9 +1147,9 @@
|
|||
}
|
||||
},
|
||||
"@babel/parser": {
|
||||
"version": "7.14.6",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.6.tgz",
|
||||
"integrity": "sha512-oG0ej7efjEXxb4UgE+klVx+3j4MVo+A2vCzm7OUN4CLo6WhQ+vSOD2yJ8m7B+DghObxtLxt3EfgMWpq+AsWehQ==",
|
||||
"version": "7.14.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz",
|
||||
"integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/template": {
|
||||
|
@ -1164,9 +1164,9 @@
|
|||
}
|
||||
},
|
||||
"@babel/traverse": {
|
||||
"version": "7.14.5",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.5.tgz",
|
||||
"integrity": "sha512-G3BiS15vevepdmFqmUc9X+64y0viZYygubAMO8SvBmKARuF6CPSZtH4Ng9vi/lrWlZFGe3FWdXNy835akH8Glg==",
|
||||
"version": "7.14.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.7.tgz",
|
||||
"integrity": "sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.14.5",
|
||||
|
@ -1174,7 +1174,7 @@
|
|||
"@babel/helper-function-name": "^7.14.5",
|
||||
"@babel/helper-hoist-variables": "^7.14.5",
|
||||
"@babel/helper-split-export-declaration": "^7.14.5",
|
||||
"@babel/parser": "^7.14.5",
|
||||
"@babel/parser": "^7.14.7",
|
||||
"@babel/types": "^7.14.5",
|
||||
"debug": "^4.1.0",
|
||||
"globals": "^11.1.0"
|
||||
|
@ -21334,6 +21334,18 @@
|
|||
"integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=",
|
||||
"dev": true
|
||||
},
|
||||
"scratch-l10n": {
|
||||
"version": "3.13.20210621031558",
|
||||
"resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.13.20210621031558.tgz",
|
||||
"integrity": "sha512-tZfvJkxiIfwMd996qfmZ8/m05gIEuVUx5UAs0QXAPfqNwyBYIHUaJBihTxN1K4SWffL4Z80iUnLJZiQGwMqtyw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/cli": "^7.1.2",
|
||||
"@babel/core": "^7.1.2",
|
||||
"babel-plugin-react-intl": "^3.0.1",
|
||||
"transifex": "1.6.6"
|
||||
}
|
||||
},
|
||||
"scratch-storage": {
|
||||
"version": "1.3.5",
|
||||
"resolved": "https://registry.npmjs.org/scratch-storage/-/scratch-storage-1.3.5.tgz",
|
||||
|
@ -21400,9 +21412,9 @@
|
|||
}
|
||||
},
|
||||
"scratch-l10n": {
|
||||
"version": "3.13.20210621031558",
|
||||
"resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.13.20210621031558.tgz",
|
||||
"integrity": "sha512-tZfvJkxiIfwMd996qfmZ8/m05gIEuVUx5UAs0QXAPfqNwyBYIHUaJBihTxN1K4SWffL4Z80iUnLJZiQGwMqtyw==",
|
||||
"version": "3.13.20210623031509",
|
||||
"resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.13.20210623031509.tgz",
|
||||
"integrity": "sha512-TT5+0Gz20tZ3PLEspb5OmZwY23+OxbrSlJuMMQGM24HUxK7nyjMbncwuAzVnd7v9ef8BqH+nQ9nEItKQNcPTBQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/cli": "^7.1.2",
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
"redux-thunk": "2.0.1",
|
||||
"sass-loader": "6.0.6",
|
||||
"scratch-gui": "0.1.0-prerelease.20210621040041",
|
||||
"scratch-l10n": "3.13.20210621031558",
|
||||
"scratch-l10n": "3.13.20210623031509",
|
||||
"selenium-webdriver": "3.6.0",
|
||||
"slick-carousel": "1.6.0",
|
||||
"style-loader": "0.12.3",
|
||||
|
|
|
@ -304,10 +304,10 @@
|
|||
},
|
||||
{
|
||||
"name": "studio",
|
||||
"pattern": "^/studios/\\d+(/projects|/curators|/activity|/comments)?/?(\\?.*)?$",
|
||||
"routeAlias": "/studios/?$",
|
||||
"pattern": "^/studios-playground/\\d+(/projects|/curators|/activity|/comments)?/?(\\?.*)?$",
|
||||
"routeAlias": "/studios-playground/?$",
|
||||
"view": "studio/studio",
|
||||
"title": "Scratch Studio",
|
||||
"title": "Studio Playground",
|
||||
"dynamicMetaTags": true
|
||||
},
|
||||
{
|
||||
|
|
|
@ -48,8 +48,11 @@ const StudioAdminPanel = ({studioId, showAdminPanel}) => {
|
|||
const [adminPanelOpen, setAdminPanelOpen] = useState(getAdminPanelOpen());
|
||||
|
||||
useEffect(() => {
|
||||
storeAdminPanelOpen(adminPanelOpen);
|
||||
}, [adminPanelOpen]);
|
||||
// This effect will both keep localStorage up-to-date AND cause
|
||||
// the spacing to change to allow for the open admin panel, so make
|
||||
// sure the admin panel should be visible at all before making any changes.
|
||||
if (showAdminPanel) storeAdminPanelOpen(adminPanelOpen);
|
||||
}, [showAdminPanel, adminPanelOpen]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!showAdminPanel) return;
|
||||
|
|
|
@ -43,7 +43,7 @@ const StudioCurators = ({
|
|||
width="179"
|
||||
height="111"
|
||||
className="studio-empty-img"
|
||||
src="/images/studios/curators-empty.png"
|
||||
src="/images/studios/curators-empty-image.svg"
|
||||
/>
|
||||
{canInviteCurators ? (
|
||||
<div className="studio-empty-msg">
|
||||
|
|
|
@ -68,7 +68,7 @@ const StudioProjects = ({
|
|||
width="388"
|
||||
height="265"
|
||||
className="studio-empty-img"
|
||||
src="/images/studios/projects-empty-can-add.png"
|
||||
src="/images/studios/empty-state-image.svg"
|
||||
/>
|
||||
<div className="studio-empty-msg">
|
||||
<div><FormattedMessage id="studio.projectsEmptyCanAdd1" /></div>
|
||||
|
@ -81,7 +81,7 @@ const StudioProjects = ({
|
|||
width="186"
|
||||
height="138"
|
||||
className="studio-empty-img"
|
||||
src="/images/studios/projects-empty.png"
|
||||
src="/images/studios/empty-state-image-mini.svg"
|
||||
/>
|
||||
<div className="studio-empty-msg">
|
||||
<div><FormattedMessage id="studio.projectsEmpty1" /></div>
|
||||
|
|
|
@ -166,7 +166,7 @@ $radius: 8px;
|
|||
border-radius: 8px;
|
||||
background: white;
|
||||
box-sizing: border-box;
|
||||
border: 2px solid rgba(0, 0, 0, 0.15);
|
||||
border: 2px solid $box-shadow-light-gray;
|
||||
}
|
||||
|
||||
.studio-follow-button {
|
||||
|
@ -190,15 +190,16 @@ $radius: 8px;
|
|||
border-bottom: 1px solid $active-dark-gray;
|
||||
padding-bottom: 8px;
|
||||
font-size: 14px;
|
||||
margin: 8px;
|
||||
li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: white;
|
||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
border: 1px solid $box-shadow-light-gray;
|
||||
color: #575e75;
|
||||
padding: 0.5em 0.75em 0.5em 0.5em;
|
||||
padding: 0.75em 1.25em 0.75em 1em;
|
||||
&:active {
|
||||
padding: calc(0.5em) calc(0.75em) calc(0.5em) calc(0.5em);
|
||||
padding: calc(0.75em) calc(1.25em) calc(0.75em) calc(1em);
|
||||
}
|
||||
img {
|
||||
margin-right: 0.5em;
|
||||
|
@ -217,8 +218,15 @@ $radius: 8px;
|
|||
}
|
||||
}
|
||||
a.nav_link:hover > li {
|
||||
background: $ui-blue-25percent;
|
||||
border: 1px solid $ui-blue-10percent;
|
||||
background: $active-gray;
|
||||
border: 1px solid $active-gray;
|
||||
}
|
||||
a.active.nav_link:hover > li {
|
||||
background: $ui-blue-dark;
|
||||
color: white;
|
||||
img {
|
||||
filter: invert(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -260,7 +268,7 @@ $radius: 8px;
|
|||
@media #{$intermediate-and-smaller} {
|
||||
& { grid-template-columns: repeat(2, minmax(0,1fr)); }
|
||||
}
|
||||
column-gap: 30px;
|
||||
column-gap: 20px;
|
||||
row-gap: 20px;
|
||||
|
||||
.studio-projects-load-more {
|
||||
|
@ -335,7 +343,7 @@ $radius: 8px;
|
|||
@media #{$intermediate-and-smaller} {
|
||||
& { grid-template-columns: repeat(2, minmax(0,1fr)); }
|
||||
}
|
||||
column-gap: 30px;
|
||||
column-gap: 20px;
|
||||
row-gap: 20px;
|
||||
.studio-members-load-more {
|
||||
grid-column: 1 / -1;
|
||||
|
|
36
static/images/studios/curators-empty-image.svg
Normal file
36
static/images/studios/curators-empty-image.svg
Normal file
|
@ -0,0 +1,36 @@
|
|||
<svg width="179" height="111" viewBox="0 0 179 111" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M102.186 0.586919C151.349 8.2108 182.033 32.5008 178.762 70.0808C175.77 104.47 146.75 113.091 95.9136 110.421C45.0776 107.751 7.98193 85.766 7.98193 46.4483C7.98193 10.1617 54.4914 -3.07253 102.186 0.586919Z" fill="#4C97FF" fill-opacity="0.15"/>
|
||||
<path d="M21.8114 96.78C16.9592 90.5305 8.95811 81.5383 3.40773 85.2781C-2.14265 89.0179 2.73476 97.7817 6.62774 100.458C10.5207 103.134 15.3083 108.831 19.8754 109.08C24.4424 109.33 26.6636 103.03 21.8114 96.78Z" fill="#4C97FF" fill-opacity="0.15"/>
|
||||
<mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="7" y="0" width="172" height="111">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M102.186 0.586919C151.348 8.2108 182.032 32.5008 178.762 70.0808C175.77 104.47 146.749 113.091 95.9132 110.421C45.0771 107.751 7.98145 85.766 7.98145 46.4483C7.98145 10.1617 54.4909 -3.07253 102.186 0.586919Z" fill="#C4C4C4"/>
|
||||
</mask>
|
||||
<g mask="url(#mask0)">
|
||||
<g filter="url(#filter0_d)">
|
||||
<path d="M86.5648 67.4158C82.7664 63.9367 80.4314 58.9808 80.5268 53.5188C80.7066 43.2156 89.4663 35.0136 100.092 35.199C110.718 35.3845 119.186 43.8873 119.006 54.1905C118.911 59.6531 116.403 64.5252 112.485 67.8696C117.914 72.1038 121.963 79.2588 124.073 88.9688C128.687 110.21 127.917 121.698 98.5911 121.186C68.2651 120.657 68.9433 106.488 71.7591 92.2628C71.9043 91.5293 72.0537 90.7743 72.2033 89.9976C72.803 86.8833 73.7502 83.9571 74.98 81.2671C74.9108 81.2513 74.8414 81.2354 74.7719 81.2192C67.0317 79.4169 57.4187 74.7999 51.204 63.7656C49.2966 60.379 50.5182 56.1011 53.9326 54.2105C57.347 52.32 61.6612 53.5327 63.5686 56.9193C67.3267 63.5917 72.9763 66.3746 78.0055 67.5456C80.553 68.1388 82.8766 68.2938 84.5566 68.2971C84.826 68.2977 85.0766 68.2943 85.3064 68.2884C85.7202 67.9846 86.1398 67.6936 86.5648 67.4158Z" fill="#4C97FF" fill-opacity="0.4"/>
|
||||
</g>
|
||||
</g>
|
||||
<g filter="url(#filter1_d)">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M62.7908 19.9693L63.1276 25.1415L59.0583 28.3541C57.6709 29.4473 58.1406 31.6553 59.8518 32.0917L64.8776 33.3684L66.6736 38.2323C67.2851 39.8882 69.531 40.1243 70.4731 38.632L73.2406 34.2474L78.4215 34.043C80.1864 33.9724 81.1034 31.9102 79.9766 30.5519L76.6609 26.5654L78.0666 21.5754C78.5457 19.8744 76.8684 18.3636 75.228 19.0185L70.4097 20.9372L66.1002 18.0586C64.6313 17.0797 62.6776 18.2077 62.7908 19.9693Z" fill="#E9F1FC"/>
|
||||
</g>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M137.526 57.3692L135.202 58.0676L133.307 56.5494C132.662 56.0316 131.704 56.4784 131.685 57.3052L131.632 59.7326L129.602 61.0644C128.911 61.5178 129.04 62.5673 129.82 62.84L132.112 63.6408L132.751 65.9831C132.969 66.7808 134.007 66.982 134.508 66.3248L135.977 64.3921L138.402 64.5079C139.229 64.5473 139.741 63.6229 139.27 62.9434L137.887 60.9472L138.746 58.6778C139.038 57.9045 138.318 57.132 137.526 57.3692Z" fill="#4C97FF" fill-opacity="0.5"/>
|
||||
<defs>
|
||||
<filter id="filter0_d" x="35.3035" y="18.196" width="105.873" height="116.006" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
|
||||
<feOffset dy="-2"/>
|
||||
<feGaussianBlur stdDeviation="7.5"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
|
||||
</filter>
|
||||
<filter id="filter1_d" x="54.2454" y="14.6963" width="30.2257" height="29.9284" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
|
||||
<feOffset dy="1"/>
|
||||
<feGaussianBlur stdDeviation="2"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.298039 0 0 0 0 0.592157 0 0 0 0 1 0 0 0 0.25 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
|
||||
</filter>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 4.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 15 KiB |
22
static/images/studios/empty-state-image-mini.svg
Normal file
22
static/images/studios/empty-state-image-mini.svg
Normal file
|
@ -0,0 +1,22 @@
|
|||
<svg width="200" height="138" viewBox="0 0 200 138" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M117.145 0.625752C170.613 9.41628 203.293 47.8375 199.736 91.1682C196.482 130.82 165.302 133.78 109.632 137.681C53.9624 141.582 13.9998 109.254 13.9998 63.9193C13.9998 13.0914 65.2734 -3.59368 117.145 0.625752Z" fill="#4C97FF" fill-opacity="0.15"/>
|
||||
<path d="M23.4733 117.719C18.2514 110.952 9.64069 101.215 3.66741 105.265C-2.30586 109.314 2.94316 118.804 7.13277 121.702C11.3224 124.6 16.4747 130.769 21.3898 131.039C26.3048 131.309 28.6952 124.487 23.4733 117.719Z" fill="#4C97FF" fill-opacity="0.15"/>
|
||||
<g filter="url(#filter0_d)">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M76.2359 105.989C92.0166 108.936 142 101.342 142 101.342C146.775 100.146 153.355 98.9547 151.985 97.3596C142.352 79.1195 142.091 58.8004 136.55 39.399C136.42 38.9438 135.986 38.645 135.514 38.6825L62.7137 44.4631C62.7139 54.0953 64.7039 100.431 76.2359 105.989Z" fill="#E5F0FF"/>
|
||||
</g>
|
||||
<path opacity="0.25" fill-rule="evenodd" clip-rule="evenodd" d="M81.7248 101.134C95.0988 102.623 136.821 96.8239 136.821 96.8239C140.911 95.9883 146.538 95.1175 145.405 94.1628C139.55 83.1014 138.528 70.0069 136.955 58.9666C136.881 58.4451 136.413 58.0735 135.888 58.1158L68.979 63.5031C68.979 69.8762 72.0221 97.9473 81.7248 101.134Z" fill="#4C97FF"/>
|
||||
<path d="M131.605 48.7576C130.029 41.7323 129.392 37.2941 129.029 30.5029C129.003 30.0226 128.38 29.8472 128.11 30.2452L127.865 30.6056C127.692 30.8606 127.332 30.9 127.108 30.6886L126.245 29.8737C126.012 29.6538 125.635 29.7067 125.472 29.9824L124.885 30.9713C124.722 31.247 124.345 31.3 124.112 31.08L123.276 30.2909C123.043 30.071 122.666 30.124 122.503 30.3996L121.903 31.4116C121.744 31.6797 121.381 31.7387 121.146 31.5347L120.486 30.9632C120.172 30.6916 119.684 30.9004 119.664 31.3149C119.303 38.9309 120.02 43.4923 122.332 50.7102C122.463 51.1191 123.015 51.1818 123.234 50.8125L123.738 49.9614C123.902 49.6857 124.279 49.6327 124.512 49.8527L125.348 50.6417C125.581 50.8617 125.958 50.8087 126.121 50.5331L126.707 49.5441C126.87 49.2685 127.247 49.2155 127.48 49.4354L128.316 50.2245C128.549 50.4445 128.926 50.3915 129.09 50.1158L129.695 49.0946C129.852 48.8296 130.209 48.7682 130.446 48.9657L130.793 49.2557C131.161 49.5629 131.709 49.2252 131.605 48.7576Z" fill="#4C97FF" fill-opacity="0.25"/>
|
||||
<path d="M81.5661 53.2015C80.6089 46.0656 80.3613 41.5888 80.5909 34.7917C80.6071 34.3111 80.0016 34.082 79.698 34.455L79.4231 34.7927C79.2286 35.0316 78.8664 35.0395 78.6617 34.8094L77.8727 33.9224C77.6597 33.6829 77.2796 33.7028 77.0928 33.9632L76.4227 34.8973C76.2359 35.1577 75.8559 35.1776 75.6429 34.9382L74.8788 34.0793C74.6658 33.8398 74.2858 33.8597 74.099 34.1201L73.4133 35.076C73.2316 35.3292 72.865 35.3563 72.648 35.1326L72.0403 34.5057C71.7514 34.2078 71.2469 34.3733 71.1912 34.7845C70.168 42.34 70.485 46.9466 72.1588 54.3385C72.2536 54.7572 72.7979 54.8678 73.0482 54.519L73.6249 53.7151C73.8117 53.4547 74.1917 53.4348 74.4047 53.6742L75.1688 54.5331C75.3818 54.7726 75.7618 54.7527 75.9486 54.4923L76.6187 53.5582C76.8055 53.2978 77.1856 53.2779 77.3986 53.5173L78.1626 54.3762C78.3756 54.6157 78.7557 54.5958 78.9425 54.3354L79.6345 53.3708C79.814 53.1204 80.175 53.0905 80.3934 53.3078L80.7143 53.627C81.0539 53.965 81.6298 53.6765 81.5661 53.2015Z" fill="#4C97FF" fill-opacity="0.25"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M108.364 88.3877C113.351 87.7753 117.17 85.3054 116.59 80.5877C116.447 79.4217 116.117 78.4608 115.618 77.6845L114.933 70.8494C114.84 70.096 113.896 69.775 113.325 70.3003L109.813 73.5175C108.866 73.1784 107.723 73.1185 106.507 73.2678C105.296 73.4166 104.22 73.7489 103.384 74.3068L99.197 72.035C98.4972 71.6657 97.6587 72.2057 97.7702 72.9567L98.7589 79.7545C98.46 80.6288 98.3745 81.6408 98.5176 82.8068C99.0969 87.5244 103.378 88.9999 108.364 88.3877ZM109.904 85.2504C110.646 85.1594 111.308 84.7685 111.716 84.1721C111.95 83.872 111.858 83.4446 111.525 83.2305C111.212 83.0322 110.76 83.1242 110.531 83.4454C110.349 83.7027 110.061 83.8655 109.739 83.9051C109.132 83.9796 108.563 83.5761 108.49 82.9841L108.369 81.9975C109.434 81.5754 110.16 80.5958 110.09 80.02C110.002 79.3025 108.807 79.4492 107.366 79.6262C105.907 79.8052 104.731 79.9496 104.82 80.6671C104.89 81.2429 105.794 82.0223 106.944 82.1542L107.068 83.1587C107.14 83.7507 106.707 84.2774 106.098 84.3521C105.758 84.3938 105.438 84.3057 105.201 84.0999C104.919 83.8414 104.459 83.8614 104.184 84.1319C103.914 84.42 103.946 84.8549 104.227 85.0917C104.767 85.5716 105.504 85.7906 106.263 85.6975C106.965 85.6113 107.574 85.2469 107.993 84.7403C108.506 85.1326 109.183 85.3389 109.904 85.2504Z" fill="#E5F0FF"/>
|
||||
<defs>
|
||||
<filter id="filter0_d" x="58.7137" y="38.6792" width="97.4555" height="75.9893" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
|
||||
<feOffset dy="4"/>
|
||||
<feGaussianBlur stdDeviation="2"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.298039 0 0 0 0 0.592157 0 0 0 0 1 0 0 0 0.5 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
|
||||
</filter>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 5.2 KiB |
79
static/images/studios/empty-state-image.svg
Normal file
79
static/images/studios/empty-state-image.svg
Normal file
|
@ -0,0 +1,79 @@
|
|||
<svg width="397" height="265" viewBox="0 0 397 265" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g filter="url(#filter0_i)">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M218.001 1.27839C327.899 17.1401 395.069 86.4675 387.759 164.654C381.07 236.202 323.68 256.864 209.257 263.904C94.8335 270.943 0 235.307 0 122.446C-1.30571e-05 18.319 111.384 -6.33517 218.001 1.27839Z" fill="#4C97FF" fill-opacity="0.2"/>
|
||||
<path d="M389.256 35.8627C378.999 23.6144 362.086 5.99053 350.354 13.3201C338.621 20.6498 348.931 37.8259 357.16 43.071C365.389 48.3161 375.509 59.4806 385.163 59.9696C394.817 60.4586 399.512 48.1111 389.256 35.8627Z" fill="#4C97FF" fill-opacity="0.15"/>
|
||||
</g>
|
||||
<mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="1" y="0" width="389" height="265">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M219.004 1.2698C328.903 17.0248 396.073 85.886 388.763 163.546C381.832 237.177 315.557 260.745 196.372 264.756C83.2791 268.562 1.00342 228.151 1.00342 121.622C1.00342 18.1957 112.387 -6.29257 219.004 1.2698Z" fill="#4C97FF"/>
|
||||
</mask>
|
||||
<g mask="url(#mask0)">
|
||||
<g filter="url(#filter1_d)">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M265.722 144.322C271.325 146.752 309.94 147.011 309.94 147.011C313.45 146.655 318.225 146.547 317.482 145.019C317.482 145.019 314.096 131.817 314.58 117.66C315.064 103.503 316.008 93.5654 314.642 93.4459L262.095 88.3739C260.728 88.2544 260.347 92.2973 260.189 94.0987C260.189 94.0987 257.439 125.926 258.618 133.285C259.797 140.644 260.12 141.892 265.722 144.322Z" fill="#E5F0FF"/>
|
||||
</g>
|
||||
<path d="M292.826 98.5732C292.33 91.7448 292.306 87.3804 292.818 80.7143C292.854 80.2359 292.262 79.9808 291.942 80.3382L291.702 80.6059C291.495 80.837 291.13 80.8259 290.937 80.5827L290.256 79.7217C290.056 79.4688 289.672 79.4688 289.472 79.7217L288.814 80.5528C288.614 80.8058 288.23 80.8058 288.03 80.5528L287.372 79.7217C287.172 79.4688 286.788 79.4688 286.588 79.7217L285.913 80.5741C285.719 80.8201 285.348 80.8281 285.143 80.5906L284.638 80.006C284.365 79.69 283.848 79.8302 283.773 80.2408C282.442 87.4855 282.459 91.9703 283.713 99.1974C283.786 99.6209 284.325 99.758 284.592 99.4209L285.146 98.7209C285.346 98.468 285.73 98.468 285.93 98.7209L286.588 99.5521C286.788 99.805 287.172 99.805 287.372 99.5521L288.03 98.7209C288.23 98.468 288.614 98.468 288.814 98.7209L289.472 99.5521C289.672 99.805 290.056 99.805 290.256 99.5521L290.937 98.6911C291.13 98.4479 291.495 98.4368 291.702 98.6679L291.951 98.9463C292.27 99.3026 292.861 99.0502 292.826 98.5732Z" fill="#4C97FF" fill-opacity="0.5"/>
|
||||
<g filter="url(#filter2_d)">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M114.841 169.985C140.928 174.854 223.556 162.306 223.556 162.306C231.45 160.331 242.329 158.362 240.064 155.726C224.055 125.428 223.703 91.6588 214.401 59.4481C214.269 58.9933 213.835 58.6944 213.364 58.7318L92.4867 68.3252C92.4869 84.2406 95.7767 160.802 114.841 169.985Z" fill="#E5F0FF"/>
|
||||
</g>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M123.915 161.963C146.024 164.423 214.996 154.841 214.996 154.841C221.757 153.46 231.06 152.022 229.186 150.444C219.399 131.965 217.782 110.051 215.131 91.6833C215.056 91.1619 214.588 90.7922 214.063 90.8345L102.844 99.7849C102.844 110.315 107.875 156.697 123.915 161.963Z" fill="#4C97FF" fill-opacity="0.25"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M104.786 78.7004C104.764 78.3944 104.89 78.1045 105.154 77.9561C106.929 76.9597 109.627 77.1253 111.423 78.4017C112.796 79.3777 114.697 79.7042 116.31 79.3582C117.113 79.1858 118.179 79.7405 118.237 80.545L118.647 86.1977C118.669 86.5036 118.543 86.7934 118.279 86.9418C116.503 87.939 113.805 87.7734 112.009 86.4962C110.635 85.5202 108.735 85.1937 107.123 85.5396C106.319 85.7121 105.254 85.1575 105.195 84.3529L104.786 78.7004Z" fill="#59C059"/>
|
||||
<path d="M106.885 92.6572C103.809 88.5793 105.168 77.3246 105.168 77.3246" stroke="#389438" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M206.586 76.3677C203.748 63.8642 202.671 56.3696 202.063 44.2804C202.039 43.8001 201.417 43.6221 201.147 44.02L199.975 45.7459C199.803 46.0007 199.443 46.0401 199.219 45.8288L197.215 43.9389C196.982 43.719 196.605 43.7719 196.442 44.0475L195.057 46.3838C194.893 46.6593 194.517 46.7122 194.283 46.4924L192.307 44.6283C192.074 44.4084 191.698 44.4613 191.534 44.7369L190.135 47.0962C189.976 47.3642 189.614 47.4231 189.378 47.2192L187.49 45.5849C187.176 45.3134 186.687 45.5233 186.666 45.9376C185.984 59.1655 187.2 66.7949 191.265 79.3324C191.397 79.7407 191.949 79.8033 192.168 79.4342L193.577 77.0588C193.74 76.7833 194.117 76.7303 194.35 76.9502L196.326 78.8143C196.559 79.0342 196.936 78.9812 197.099 78.7057L198.485 76.3694C198.648 76.0939 199.025 76.041 199.258 76.2608L201.234 78.1249C201.467 78.3448 201.844 78.2918 202.007 78.0163L203.411 75.6477C203.569 75.3828 203.925 75.3216 204.162 75.5189L205.777 76.8664C206.145 77.1734 206.692 76.835 206.586 76.3677Z" fill="#4C97FF" fill-opacity="0.5"/>
|
||||
<path d="M123.782 83.7254C122.045 71.0222 121.626 63.4623 122.074 51.3661C122.092 50.8856 121.488 50.6541 121.184 51.0269L119.867 52.6442C119.672 52.883 119.31 52.8909 119.106 52.6609L117.275 50.6036C117.062 50.3643 116.682 50.3842 116.495 50.6445L114.911 52.8512C114.724 53.1114 114.344 53.1313 114.131 52.892L112.325 50.8629C112.112 50.6236 111.733 50.6435 111.546 50.9037L109.946 53.1322C109.765 53.3853 109.398 53.4124 109.181 53.1888L107.442 51.3962C107.154 51.0984 106.649 51.265 106.591 51.6758C104.758 64.7939 105.304 72.5003 108.261 85.3441C108.357 85.7624 108.901 85.8729 109.152 85.5242L110.762 83.2806C110.949 83.0203 111.329 83.0004 111.542 83.2397L113.348 85.2689C113.561 85.5082 113.941 85.4883 114.127 85.2281L115.711 83.0213C115.898 82.7611 116.278 82.7412 116.491 82.9805L118.297 85.0097C118.51 85.249 118.89 85.2291 119.077 84.9688L120.682 82.7316C120.862 82.4814 121.223 82.4515 121.441 82.6686L122.932 84.1517C123.272 84.4896 123.847 84.2001 123.782 83.7254Z" fill="#4C97FF" fill-opacity="0.5"/>
|
||||
<path opacity="0.7" fill-rule="evenodd" clip-rule="evenodd" d="M131.092 77.1781C130.567 77.2519 130.093 77.5312 129.774 77.9545L127.463 81.0193C127.144 81.443 127.006 81.9762 127.08 82.5016L127.614 86.3009C127.688 86.8263 127.967 87.3009 128.391 87.6201L131.458 89.9296C131.881 90.2487 132.414 90.3865 132.939 90.3127L136.742 89.7785C137.267 89.7047 137.742 89.4254 138.061 89.0021L140.372 85.9373C140.691 85.5136 140.829 84.9804 140.755 84.455L140.221 80.6557C140.147 80.1303 139.867 79.6557 139.443 79.3365L136.377 77.027C135.953 76.7079 135.421 76.5701 134.895 76.6439L131.092 77.1781Z" fill="#EC5858"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M167.953 140.903C176.197 139.891 182.509 135.811 181.551 128.015C181.314 126.088 180.769 124.501 179.943 123.218L178.81 111.924C178.657 110.679 177.096 110.148 176.152 111.016L170.346 116.332C168.782 115.771 166.892 115.672 164.883 115.919C162.879 116.165 161.101 116.714 159.719 117.635L152.798 113.881C151.641 113.271 150.255 114.163 150.439 115.404L152.074 126.637C151.58 128.081 151.439 129.753 151.676 131.68C152.634 139.476 159.711 141.914 167.953 140.903ZM170.498 135.719C171.724 135.569 172.819 134.923 173.493 133.937C173.881 133.441 173.727 132.735 173.178 132.381C172.66 132.054 171.912 132.206 171.535 132.736C171.234 133.161 170.758 133.43 170.225 133.496C169.222 133.619 168.281 132.952 168.16 131.974L167.96 130.344C169.72 129.646 170.921 128.028 170.804 127.076C170.659 125.891 168.684 126.133 166.301 126.425C163.89 126.721 161.947 126.959 162.093 128.145C162.209 129.096 163.704 130.384 165.605 130.602L165.809 132.262C165.929 133.24 165.212 134.111 164.206 134.234C163.645 134.303 163.115 134.157 162.723 133.817C162.257 133.39 161.497 133.423 161.043 133.87C160.595 134.346 160.649 135.065 161.114 135.456C162.007 136.249 163.225 136.611 164.479 136.457C165.639 136.315 166.647 135.713 167.34 134.876C168.186 135.524 169.307 135.865 170.498 135.719Z" fill="#E5F0FF"/>
|
||||
<path d="M292.617 185.109L316.288 170.838L372.924 222.499C372.924 222.499 370.224 245.337 342.163 243.983C332.693 237.236 292.617 185.109 292.617 185.109Z" fill="#ECC293"/>
|
||||
<path d="M304.248 121.158C302.434 115.649 301.033 111.393 297.423 112.538C291.948 114.276 295.946 123.832 296.902 131.9C296.861 133.773 297.052 135.9 297.248 138.066C297.456 140.371 297.668 142.722 297.607 144.859C297.605 144.931 297.543 144.988 297.471 144.984C297.408 144.982 297.357 144.935 297.349 144.873C296.532 139.002 295.086 133.24 292.995 127.683C290.503 121.059 287.556 116.017 284.729 117.016C281.901 118.015 281.629 124.195 284.122 130.818C284.911 132.916 285.379 134.985 285.9 136.745C286.134 137.538 286.206 138.372 286.151 139.199C286.037 140.913 286.145 142.905 286.263 145.089C286.416 147.93 287.581 153.536 287.409 157.778C287.301 160.465 284.426 161.053 282.572 159.122C282.215 158.75 281.868 158.368 281.534 157.974L281.533 157.974C277.977 153.793 274.357 149.537 270.298 150.939C267.508 151.902 270.137 157.24 274.556 164.525C274.688 164.743 274.803 164.97 274.904 165.203C278.492 173.51 286.853 181.65 294.741 186.754C295.11 186.993 295.525 187.18 295.945 187.306C320.574 194.728 321.634 187.8 323.999 178.083C328.729 158.651 330.624 143.146 327.138 131.227C325.724 126.391 323.847 122.676 321.621 123.304C319.394 123.933 318.736 128.362 320.15 133.199C320.34 133.847 320.486 134.49 320.612 135.113C320.816 136.124 320.653 137.171 320.386 138.17C320.065 139.367 319.856 140.784 319.62 142.377C319.582 142.635 319.187 142.607 319.179 142.346C319.002 136.808 317.977 132.89 316.407 123.906C314.824 117.621 312.636 112.749 309.877 113.432C307.119 114.115 306.166 119.764 307.75 126.05C308.242 128.003 308.479 130.054 308.801 131.898C309.26 140.025 308.038 146.338 308.115 144.909C308.38 139.891 307.836 133.051 306.208 128.156C306.121 127.895 306.052 127.63 306 127.36C305.592 125.246 304.922 123.202 304.248 121.158Z" fill="#ECC293"/>
|
||||
<path d="M312.019 131.757C308.793 120.277 310.701 116.838 310.496 113.405C305.001 114.373 308.487 128.744 308.921 131.208C309.521 134.607 309.289 141.549 308.448 145.531C310.725 146.772 313.538 137.162 312.019 131.757Z" fill="black" fill-opacity="0.1"/>
|
||||
<path d="M300.219 130.262C296.962 118.994 296.066 115.897 298.168 112.272C291.219 113.496 295.91 127.592 296.343 130.046C296.941 133.431 297.446 145.668 297.726 147.254C302.469 149.146 301.826 135.819 300.272 130.444L300.219 130.262Z" fill="black" fill-opacity="0.1"/>
|
||||
<path d="M288.732 135.976C284.454 125.158 283.527 120.456 285.337 116.737C278.888 118.123 285.074 132.763 285.922 137.573C285.738 146.922 288.399 156.207 287.006 159.263C286.787 159.533 286.548 159.81 286.291 160.1C286.6 159.924 286.834 159.641 287.006 159.263C290.26 155.268 289.495 152.874 288.732 135.976Z" fill="black" fill-opacity="0.1"/>
|
||||
<path d="M323.198 134.836C320.561 126.958 322.202 125.866 322.194 123.466C317.929 124.218 320.656 134.624 320.957 136.33C321.372 138.684 319.578 139.873 320.236 143.605C322.274 143.796 324.44 138.545 323.198 134.836Z" fill="black" fill-opacity="0.1"/>
|
||||
<path d="M90.1627 135.318C90.0912 136.382 90.1191 139.257 90.3113 140.141C91.4607 145.428 93.3641 147.841 96.293 147.272C99.7115 146.608 101.666 145.89 101.366 138.098C99.9523 130.827 103.115 119.429 92.4879 123.166C89.232 124.31 90.2145 127.512 90.1627 135.318Z" fill="#B5875C"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M76.9978 131.8C78.2647 132.014 79.1711 132.394 79.8134 132.928C79.9563 131.97 80.1634 131.152 80.4425 130.513C80.5677 129.959 80.7371 129.352 80.9533 128.687C81.7851 126.129 85.4329 125.866 89.9186 126.906C90.0327 126.104 90.2608 125.169 90.6159 124.077C91.5883 121.086 96.4343 121.24 101.975 122.949C102.281 121.844 102.615 120.927 102.993 120.209C103.695 116.906 109.941 116.862 117.322 119.974C120.483 121.307 123.443 121.973 125.821 122.507C129.4 123.311 131.66 123.819 131.299 125.861C130.699 129.259 124.297 131.211 116.281 129.799C114.907 129.557 113.563 129.396 112.289 129.248C112.242 130.214 112.175 131.226 112.106 132.277C111.953 134.584 111.789 137.078 111.788 139.681C111.788 141.032 111.785 142.352 111.774 143.629C111.81 143.788 111.845 143.946 111.88 144.103C112.598 147.321 113.274 150.352 115.192 151.648C116.504 152.535 117.761 153.238 118.892 153.87C123.595 156.497 126.111 157.902 121.281 166.264C115.289 176.637 102.648 192.541 91.567 192.543C71.0143 201.565 71.0976 175.719 71.1615 155.919C71.1644 155.004 71.1673 154.101 71.1682 153.216C71.0103 151.959 71.155 150.445 71.3159 148.761C71.4459 147.401 71.5864 145.931 71.5866 144.397C71.5874 137.44 74.0101 131.801 76.9978 131.8Z" fill="#67462D"/>
|
||||
<path d="M110.515 180.892C110.515 180.892 82.7766 173.522 75.7372 172.338C76.6262 183.214 27.9302 223.585 27.9302 223.585C27.9302 223.585 31.8593 246.069 60.4011 243.189C69.7085 235.984 110.515 180.892 110.515 180.892Z" fill="#67462D"/>
|
||||
<path d="M79.6788 132.994C79.6788 132.994 78.8772 131.374 75.7017 131.858C73.395 132.843 71.5109 139.004 71.8713 139.491L74.998 136.084C75.6832 135.9 76.7356 137.087 76.9192 137.772C77.4767 139.852 79.6323 134.093 79.6788 132.994Z" fill="black" fill-opacity="0.2"/>
|
||||
<path d="M80.1132 133.245C80.1234 133.074 80.1239 132.873 80.1245 132.647C80.1276 131.394 80.1325 129.36 81.8202 127.282C86.0901 125.827 88.9624 126.881 89.7465 127.24C89.9452 126.14 90.1772 125.05 90.7965 123.776C91.3014 121.45 96.1146 121.718 97.6484 121.939C100.322 122.324 101.625 123.076 101.625 123.076C100.912 124.98 99.1973 129.086 98.047 130.275C97.2433 131.106 96.0802 129.74 94.9713 128.437C94.0963 127.409 93.2549 126.42 92.6504 126.582C91.6101 126.861 90.146 128.355 89.4465 129.178C88.7939 131.299 87.8898 133.537 87.0823 133.213C85.5963 132.617 84.9482 131.797 84.4322 131.143C83.8051 130.349 83.3731 129.802 81.8693 130.205C81.3211 130.352 80.4701 132.293 80.1132 133.245Z" fill="black" fill-opacity="0.2"/>
|
||||
<path d="M110.15 123.364C107.663 122.856 106.889 129.01 106.754 131.248C107.286 137.346 107.017 141.823 112.713 148.005C110.927 144.079 111.968 134.257 112.74 128.912C115.246 129.586 122.538 130.396 126.175 129.716C129.812 129.035 131.451 127.1 131.335 125.295C130.939 125.646 129.485 126.993 126.56 127.043C124.317 127.081 113.258 124 110.15 123.364Z" fill="black" fill-opacity="0.2"/>
|
||||
<path d="M55.0789 153.377C50.5665 148.381 53.0736 141.347 53.0736 141.347C53.0736 141.347 124.477 129.066 124.687 129.267C128.326 133.819 126.875 140.587 126.875 140.587C126.875 140.587 57.9523 152.641 55.0789 153.377Z" fill="#FFBF00"/>
|
||||
<path d="M54.0117 153.705C54.5517 153.601 55.2971 153.448 56.1746 153.248C56.8899 147.697 55.3167 143.112 53.5543 141.27L51.6962 141.628C52.0673 142.196 55.2917 147.374 54.0117 153.705Z" fill="#0FBD8C"/>
|
||||
<path d="M60.0955 152.374C61.6015 145.354 57.0888 140.59 57.0888 140.59L55.4645 140.903C56.482 142.493 59.1209 147.263 58.2089 152.751C58.658 152.634 59.6221 152.509 60.0955 152.374Z" fill="#0FBD8C"/>
|
||||
<path d="M124.703 129.265L135.696 132.194C136.515 132.412 136.708 133.485 136.017 133.975L126.954 140.408L125.314 138.335L126.82 136.329L125.315 134.825L125.817 132.744L124.312 131.24L124.703 129.265Z" fill="#F6DDC3"/>
|
||||
<path d="M131.789 131.038C131.789 131.038 133.341 132.819 132.822 136.267L136.068 133.948C136.749 133.461 136.567 132.403 135.762 132.173L131.789 131.038Z" fill="black" fill-opacity="0.5"/>
|
||||
<path d="M48.8736 154.225C42.2573 150.481 45.7812 143.535 47.2415 142.755C48.7018 141.975 51.7767 141.554 51.7767 141.554C51.7767 141.554 55.2386 147.02 54.1062 153.699C53.0848 154.065 50.6929 154.835 48.8736 154.225Z" fill="#FF6680"/>
|
||||
<path d="M45.0452 149.369C45.5467 150.872 47.5528 155.383 51.5669 154.38C57.0856 152.375 127.131 140.512 127.131 140.512L126.469 136.756C126.469 136.756 75.6486 146.859 52.5711 150.719C48.0559 151.874 45.8856 150.719 45.0452 149.369Z" fill="black" fill-opacity="0.1"/>
|
||||
<path d="M110.378 158.701C106.703 168.792 109.412 172.675 112.554 173.818C115.695 174.96 123.66 167.272 126.777 153.086C130.452 142.995 132.529 135.712 129.364 135.224C124.278 134.44 120.881 142.091 117.359 148.573C116.168 150.765 111.307 156.15 110.378 158.701Z" fill="#67462D"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M202.816 152.23C201.308 146.15 199.314 141.991 196.764 142.44C193.471 143.02 192.563 149.954 194.151 158.954C194.845 162.89 194.977 167.518 194.977 170.242C193.677 178.236 190.942 187.536 190.942 193.761C185.961 185.414 178.746 179.36 175.913 180.994C170.047 184.379 172.922 188.883 176.882 195.084L176.888 195.094C177.799 196.521 178.768 198.038 179.7 199.653C180.745 201.461 181.851 203.139 182.974 204.645C183.18 205.169 183.436 205.736 183.745 206.354C189.258 217.374 194.977 221.633 202.816 226.647C209.838 237.679 219.474 276.578 227.113 282.306C256.712 284.686 265.389 272.779 265.389 272.779L228.876 213.719C227.78 211.947 227.707 209.742 228.472 207.804C231.372 200.463 233.246 190.241 233.246 183.524C232.278 173.997 232.78 170.988 223.676 169.551C221.359 166.495 217.933 162.496 215.689 162.238C214.778 160.25 212.581 158.098 209.838 156.032C207.327 154.141 204.873 152.709 202.816 152.23ZM205.81 178.883C205.859 178.665 205.907 178.45 205.955 178.236C206.315 176.627 206.651 175.128 207.048 173.804L207.037 173.614L207.022 173.332V173.33C206.957 172.128 206.887 170.829 206.653 169.502C206.536 168.835 206.439 168.191 206.365 167.573C206.346 167.555 206.327 167.536 206.308 167.518C206.488 170.477 206.18 174.405 205.555 178.831C205.639 178.847 205.724 178.865 205.81 178.883Z" fill="#B5875C"/>
|
||||
<path d="M206.042 164.735L203.032 152.199C207.48 154.422 212.062 157.214 212.564 158.718C207.046 156.948 213.078 169.093 211.208 177.507C211.208 177.507 208.198 184.026 205.689 179.011C206.191 175.501 207.329 174.744 207.046 172.758C206.544 169.248 206.377 165.237 206.042 164.735Z" fill="black" fill-opacity="0.15"/>
|
||||
<path d="M217.581 170.752L215.574 161.727C216.912 163.565 217.681 162.529 220.089 165.738C223.099 169.749 221.594 178.274 221.093 180.781C220.892 181.784 218.584 184.792 216.578 180.781C216.578 178.775 217.581 174.764 217.581 170.752Z" fill="black" fill-opacity="0.15"/>
|
||||
<path d="M223.601 169.75L223.613 169.768C224.685 171.349 227.919 170.359 228.767 173.629C229.417 176.137 229.164 178.324 228.767 180.516C228.494 182.02 225.398 184.151 225.398 182.397C225.398 180.644 226.192 177.137 226.192 173.629L223.613 169.768C223.609 169.762 223.605 169.756 223.601 169.75Z" fill="black" fill-opacity="0.15"/>
|
||||
</g>
|
||||
<defs>
|
||||
<filter id="filter0_i" x="0" y="0" width="395.027" height="269.756" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dy="5"/>
|
||||
<feGaussianBlur stdDeviation="7"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.298039 0 0 0 0 0.592157 0 0 0 0 1 0 0 0 0.2 0"/>
|
||||
<feBlend mode="normal" in2="shape" result="effect1_innerShadow"/>
|
||||
</filter>
|
||||
<filter id="filter1_d" x="254.324" y="88.3713" width="67.2353" height="66.6402" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
|
||||
<feOffset dy="4"/>
|
||||
<feGaussianBlur stdDeviation="2"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.298039 0 0 0 0 0.592157 0 0 0 0 1 0 0 0 0.5 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
|
||||
</filter>
|
||||
<filter id="filter2_d" x="88.4867" y="58.7288" width="155.881" height="120.379" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
|
||||
<feOffset dy="4"/>
|
||||
<feGaussianBlur stdDeviation="2"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.298039 0 0 0 0 0.592157 0 0 0 0 1 0 0 0 0.5 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
|
||||
</filter>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 20 KiB |
Binary file not shown.
Before Width: | Height: | Size: 35 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.7 KiB |
|
@ -39,6 +39,19 @@ describe('Studio comments', () => {
|
|||
expect(child.prop('isOpen')).toBe(false);
|
||||
});
|
||||
});
|
||||
describe('non admins', () => {
|
||||
test('should not have localStorage set with a false value', () => {
|
||||
mountWithIntl(<StudioAdminPanel showAdminPanel={false} />);
|
||||
expect(global.localStorage.getItem(adminPanelOpenKey)).toBe(null);
|
||||
});
|
||||
test('should not have css class set even if localStorage contains open key', () => {
|
||||
// Regression test for situation where admin logs out but localStorage still
|
||||
// contains "open", causing extra space to appear
|
||||
global.localStorage.setItem(adminPanelOpenKey, 'open');
|
||||
mountWithIntl(<StudioAdminPanel showAdminPanel={false} />);
|
||||
expect(viewEl.classList.contains(adminPanelOpenClass)).toBe(false);
|
||||
});
|
||||
});
|
||||
test('calling onOpen sets a class on the #viewEl and records in local storage', () => {
|
||||
const component = mountWithIntl(<StudioAdminPanel showAdminPanel />);
|
||||
let child = component.find(AdminPanel);
|
||||
|
|
Loading…
Reference in a new issue