Skip to content

Commit

Permalink
feat: add world permission notifications (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
meelrossi committed May 8, 2024
1 parent 620bdaf commit f839d57
Show file tree
Hide file tree
Showing 14 changed files with 628 additions and 231 deletions.
98 changes: 63 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"webpack-cli": "^3.3.2"
},
"dependencies": {
"@dcl/schemas": "^11.4.0",
"@dcl/schemas": "^11.9.0",
"@dcl/ui-env": "^1.4.0",
"balloon-css": "^0.5.0",
"classnames": "^2.3.2",
Expand Down
50 changes: 50 additions & 0 deletions src/components/Icons/Notifications/PermissionGranted.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
import React from 'react'

const PermissionGranted = () => {
return (
<svg
width="48"
height="48"
viewBox="0 0 48 48"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<circle cx="24" cy="24" r="24" fill="url(#paint0_linear_668_7471)" />
<path
d="M25.8755 17.0248C25.8755 18.1436 25.0364 19.0497 24.0005 19.0497C22.9646 19.0497 22.1256 18.1436 22.1256 17.0248C22.1256 15.9061 22.9646 15 24.0005 15C25.0364 15 25.8755 15.9061 25.8755 17.0248Z"
fill="white"
/>
<path
d="M19.0002 19.0497C19.0002 20.1684 18.1612 21.0745 17.1253 21.0745C16.0905 21.0745 15.2503 20.1684 15.2503 19.0497C15.2503 17.931 16.0905 17.0248 17.1253 17.0248C18.1612 17.0248 19.0002 17.931 19.0002 19.0497Z"
fill="white"
/>
<path
d="M32.7507 19.0497C32.7507 20.1684 31.9105 21.0745 30.8758 21.0745C29.8399 21.0745 29.0008 20.1684 29.0008 19.0497C29.0008 17.931 29.8399 17.0248 30.8758 17.0248C31.9105 17.0248 32.7507 17.931 32.7507 19.0497Z"
fill="white"
/>
<path
d="M30.8758 22.4248C30.3133 22.4248 29.8129 22.6273 29.3137 22.8969L24.0017 26.272L18.6897 22.8969C18.1882 22.6273 17.6878 22.4248 17.1253 22.4248C15.3758 22.4248 14 23.9093 14 25.8V33H20.2495V27.0149L23.3748 29.0397C23.5002 29.1068 23.5623 29.1752 23.6877 29.1752C23.8131 29.1752 23.8752 29.2422 24.0006 29.2422C24.126 29.2422 24.1881 29.2422 24.3135 29.1752C24.4389 29.1752 24.501 29.1081 24.6264 29.0397L27.7517 27.0149L27.7505 32.9987H34V25.7987C34 23.9093 32.6253 22.4248 30.8758 22.4248Z"
fill="white"
/>
<path
d="M24.0005 24.7192L27.0005 22.8298C26.6255 21.4795 25.4384 20.4671 24.0005 20.4671C22.5627 20.4671 21.4377 21.4795 21.0006 22.8298L24.0005 24.7192Z"
fill="white"
/>
<defs>
<linearGradient
id="paint0_linear_668_7471"
x1="-1.26316"
y1="1.26316"
x2="48"
y2="48"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#34CE76" />
<stop offset="1" stop-color="#229754" />
</linearGradient>
</defs>
</svg>
)
}

export default PermissionGranted
Loading

0 comments on commit f839d57

Please sign in to comment.