mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-04-27 00:08:45 +00:00
* delete all old badges * reward/unrewardBadge * verification Badges * name all badged accordingly * more tests, lint * seed badges * profileBadge mechanic * badgesUnusedCount * seed profileBadges set * configure profile badge count * insert badges db:data:badges:default * seed commands to seed default badges and allow to seed branding data * copy data migrations when building docker * typo * correct data:branding command & document it * test new functionality * Update backend/src/db/seed/badges.ts Co-authored-by: Max <maxharz@gmail.com> * Update backend/src/db/seed/badges.ts Co-authored-by: Max <maxharz@gmail.com> * Update backend/src/db/seed/badges.ts Co-authored-by: Max <maxharz@gmail.com> * naming coventions * final naming fix lint fix build fix badge type in test renamed badge_ to trophy_ lint fixes small renameing fixes fix users spec fix webapp queries fix display * expose badge description --------- Co-authored-by: Max <maxharz@gmail.com>
1 line
5.1 KiB
XML
1 line
5.1 KiB
XML
<svg width="513" height="444" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path id="a" d="M255.5-33L477 95v256L255.5 479 34 351V95z"/><path id="c" d="M.877.168h35.074v27.566H.877z"/><path id="e" d="M.998.627h28.686v56.272H.998z"/><path id="g" d="M.998.725h28.683V57H.998z"/><path id="i" d="M.877.894h35.074v27.563H.877z"/></defs><g transform="translate(1 -1)" fill="none" fill-rule="evenodd"><mask id="b" fill="#fff"><use xlink:href="#a"/></mask><use fill="#1E70B7" transform="rotate(30 255.5 223)" xlink:href="#a"/><g mask="url(#b)"><g transform="translate(325 154.373)"><mask id="d" fill="#fff"><use xlink:href="#c"/></mask><path d="M.877 12.454c6.47 4.149 12.214 9.243 16.975 15.28 5.572-.221 11.182.185 14.327-3.078 2.429-2.518 4.124-10.295 3.71-13.87-1.062-9.123-11.9-15.248-16.929-6.095-4.249 7.734-11.55 6.905-18.083 7.763" fill="#FEFEFE" mask="url(#d)"/></g><path d="M347.7 205.663l-18.62 10.199c-3.089 1.826-3.862 3.95-3.814 7.696v10.26c-.048 3.742.725 5.865 3.813 7.694l18.62 10.196c4.513-14.263 4.513-31.781 0-46.045M319.617 216.685c-.725-1.829-2.036-3.262-4.22-4.704l-9.933-6.684c-3.29-2.25-6.637-2.25-9.932 0l-9.932 6.684c-3.918 2.588-5.032 5.148-4.966 10.023v13.364c-.066 4.874 1.048 7.435 4.966 10.02l9.932 6.684c3.295 2.252 6.641 2.252 9.932 0l9.932-6.684c2.185-1.44 3.496-2.873 4.221-4.704-.943-2.282-1.146-4.426-1.146-6.867v-10.26c0-2.443.206-4.589 1.146-6.872M275.617 212.99c-.946-1.835-2.466-3.36-4.783-4.888l-12.238-8.232c-4.058-2.772-8.179-2.772-12.237 0l-12.24 8.232c-4.826 3.19-6.2 6.346-6.119 12.352v16.468c-.08 6.005 1.293 9.157 6.12 12.349l12.24 8.23c4.057 2.777 8.178 2.777 12.236 0l12.238-8.23c2.317-1.53 3.837-3.054 4.783-4.886-1.555-3.153-1.679-5.59-1.779-9.017v-13.363c0-3.3.296-6.012 1.78-9.015M222.844 210.868a19.099 19.099 0 0 0-2.088-1.58l-11.535-7.758c-3.823-2.616-7.707-2.616-11.531 0l-11.534 7.758c-.928.615-1.724 1.227-2.397 1.86.477 12.849.477 22.226 0 35.075.673.634 1.469 1.245 2.397 1.86l11.534 7.76c3.824 2.613 7.708 2.613 11.53 0 4.072-2.736 10.087-6.211 13.624-9.34-1.323-3.023-1.698-6.308-1.638-9.581v-16.468c-.041-3.344.287-6.495 1.638-9.586M302.644 293.764c21.487-6.654 35.466-19.326 42.642-35.659l-19.445-10.648a16.648 16.648 0 0 1-1.674-1.064c-1.312 1.84-3.136 3.306-5.031 4.644l-9.851 6.63c-1.852 1.308-4.137 2.288-6.367 2.685-.212 1.07-.293 2.273-.274 3.67v29.742zM302.644 163.606v29.742c-.02 1.396.063 2.6.274 3.674 2.23.394 4.514 1.377 6.367 2.682l9.85 6.63c1.895 1.336 3.72 2.803 5.032 4.643a16.63 16.63 0 0 1 1.674-1.062l19.445-10.65c-7.175-16.334-21.155-29.005-42.642-35.659M295.849 295.607v-31.585c0-1.42.062-2.74.274-4.148a16.77 16.77 0 0 1-4.408-2.207l-9.854-6.63a21.338 21.338 0 0 1-1.68-1.2c-1.335 1.798-3.696 3.804-5.606 5.08l-12.162 8.181c-2.063 1.43-4.433 2.497-6.902 2.991-.317 1.368-.437 2.921-.412 4.752V298.687c3.254.183 6.365.264 9.263.264 11.752 0 22.23-1.168 31.487-3.344M295.849 161.763c-9.256-2.176-19.735-3.343-31.487-3.343-2.898 0-6.01.084-9.263.265V186.531c-.025 1.832.095 3.383.412 4.754 2.469.49 4.839 1.56 6.902 2.99l12.162 8.18c1.91 1.272 4.27 3.283 5.607 5.078a21.326 21.326 0 0 1 1.679-1.2l9.854-6.629a16.896 16.896 0 0 1 4.408-2.208c-.212-1.407-.274-2.728-.274-4.148v-31.585zM205.207 286.101c12.524 7.184 28.662 10.664 43.097 12.065v-27.325c-.01-1.75.056-3.164.338-4.924-2.098-.52-4.268-1.594-6.1-2.819l-12.163-8.18c-1.348-.978-2.384-1.658-3.617-2.838a29.519 29.519 0 0 1-2.266 1.651l-11.456 7.706c-1.409.945-3.723 2.098-5.336 2.564a28.87 28.87 0 0 0-.462 2.792l-2.035 19.308zM205.207 171.269l2.035 19.308a29.14 29.14 0 0 0 .462 2.797c1.613.465 3.927 1.614 5.336 2.559l11.456 7.707c.78.522 1.538 1.055 2.266 1.652 1.233-1.184 2.269-1.861 3.617-2.837l12.163-8.18c1.832-1.226 4.002-2.3 6.1-2.82-.282-1.758-.348-3.175-.338-4.924v-27.326c-14.435 1.4-30.573 4.884-43.097 12.064M198.838 281.865l1.661-15.76c.07-.585.134-1.167.228-1.749-2.29-.421-4.98-1.535-6.859-2.919l-10.005-6.729c.194 2.46.562 4.876 1.187 7.221 2.213 8.295 7.186 14.827 13.788 19.936M198.838 175.505c-6.602 5.11-11.575 11.64-13.788 19.938-.625 2.344-.993 4.761-1.187 7.223l10.005-6.734c1.88-1.382 4.568-2.497 6.86-2.918-.095-.58-.16-1.165-.229-1.748l-1.66-15.76zM166.567 210.106C157.08 209.1 136 218.928 136 228.686c0 9.757 21.1 19.585 30.567 18.58l10.416-1.106c.463-12.748.46-22.2 0-34.95l-10.416-1.104z" fill="#FEFEFE"/><g transform="translate(162 134.373)"><mask id="f" fill="#fff"><use xlink:href="#e"/></mask><path d="M17.226 56.9c2.43-7.293 6.762-13.502 12.458-18.618C22.56 28.64 32.732-3.992 4.794 1.178 2.908 1.593 2.71 2.692 2.88 4.206c2.11 15.421-11.906 45.6 14.347 52.693" fill="#FEFEFE" mask="url(#f)"/></g><g transform="translate(162 265.373)"><mask id="h" fill="#fff"><use xlink:href="#g"/></mask><path d="M17.226.725C-9.027 7.817 4.989 38.001 2.879 53.421c-.17 1.511.028 2.61 1.916 3.028C32.732 61.616 22.56 28.99 29.68 19.342 24.006 14.232 19.65 8.008 17.226.725" fill="#FEFEFE" mask="url(#h)"/></g><g transform="translate(325 274.373)"><mask id="j" fill="#fff"><use xlink:href="#i"/></mask><path d="M.877 16.174c6.533.854 13.834.025 18.083 7.76 5.029 9.153 15.867 3.03 16.929-6.097.414-3.571-1.281-11.348-3.71-13.87C29.034.708 23.424 1.113 17.852.895 13.091 6.929 7.347 12.027.877 16.174" fill="#FEFEFE" mask="url(#j)"/></g></g></g></svg> |