From cfe63c5b757c18b1f691c6168aa4eed03f61f8ab Mon Sep 17 00:00:00 2001 From: tomlum Date: Thu, 20 Jan 2022 16:34:58 -0500 Subject: [PATCH] confetti and misc refactors --- src/redux/session.js | 1 + .../scratcher-onboarding.jsx | 349 ++++++++++++++---- .../scratcher-onboarding.scss | 307 +++++++++++++-- .../onboarding/community-guidelines.svg | 20 + .../congratulations-illustration.svg | 68 ++++ static/images/onboarding/create-a-project.svg | 27 ++ static/images/onboarding/create-studios.svg | 7 + static/images/onboarding/heart-confetti.svg | 3 + static/images/onboarding/help-out.svg | 9 + .../onboarding/invitation-illustration.svg | 9 + static/images/onboarding/left-lines.svg | 3 + ...profile-page-become-a-scratcher-button.svg | 37 ++ static/images/onboarding/right-lines.svg | 3 + .../images/onboarding/safe-illustration.svg | 25 +- static/images/onboarding/spiral-confetti.svg | 18 + static/images/onboarding/star-confetti.svg | 3 + 16 files changed, 755 insertions(+), 134 deletions(-) create mode 100644 static/images/onboarding/community-guidelines.svg create mode 100644 static/images/onboarding/congratulations-illustration.svg create mode 100644 static/images/onboarding/create-a-project.svg create mode 100644 static/images/onboarding/create-studios.svg create mode 100644 static/images/onboarding/heart-confetti.svg create mode 100644 static/images/onboarding/help-out.svg create mode 100644 static/images/onboarding/invitation-illustration.svg create mode 100644 static/images/onboarding/left-lines.svg create mode 100644 static/images/onboarding/profile-page-become-a-scratcher-button.svg create mode 100644 static/images/onboarding/right-lines.svg create mode 100644 static/images/onboarding/spiral-confetti.svg create mode 100644 static/images/onboarding/star-confetti.svg diff --git a/src/redux/session.js b/src/redux/session.js index 67863dd57..d47a0cd68 100644 --- a/src/redux/session.js +++ b/src/redux/session.js @@ -140,6 +140,7 @@ module.exports.selectToken = state => get(state, ['session', 'session', 'user', module.exports.selectIsAdmin = state => get(state, ['session', 'session', 'permissions', 'admin'], false); module.exports.selectIsSocial = state => get(state, ['session', 'session', 'permissions', 'social'], false); module.exports.selectIsEducator = state => get(state, ['session', 'session', 'permissions', 'educator'], false); +module.exports.selectIsEducator = state => get(state, ['session', 'session', 'permissions', 'educator'], false); module.exports.selectProjectCommentsGloballyEnabled = state => get(state, ['session', 'session', 'flags', 'project_comments_enabled'], false); module.exports.selectStudioCommentsGloballyEnabled = state => diff --git a/src/views/scratcher-onboarding/scratcher-onboarding.jsx b/src/views/scratcher-onboarding/scratcher-onboarding.jsx index 79f9faccf..ccc1b1675 100644 --- a/src/views/scratcher-onboarding/scratcher-onboarding.jsx +++ b/src/views/scratcher-onboarding/scratcher-onboarding.jsx @@ -1,76 +1,122 @@ -import React, {useState} from 'react'; +import React, {useState, useEffect} from 'react'; const FormattedMessage = require('react-intl').FormattedMessage; const render = require('../../lib/render.jsx'); +const thumbnailUrl = require('../../lib/user-thumbnail'); const injectIntl = require('react-intl').injectIntl; const connect = require('react-redux').connect; import useWindowSize from 'react-use/lib/useWindowSize'; import Confetti from 'react-confetti'; -const Button = require('../../components/forms/button.jsx'); +import Button from '../../components/forms/button.jsx'; +import Modal from '../../components/modal/base/modal.jsx'; require('./scratcher-onboarding.scss'); const steps = [ { - section: 'Treat everyone with respect', + section: 'Become a Scratcher - Treat everyone with respect', header: 'Scratchers treat everyone with respect.', body: 'Everyone on Scratch is encouraged to share things that excite them and are important to them—we hope that you find ways to celebrate your own identity on Scratch, and allow others to do the same.', image: 'respect-illustration.svg', imageLeft: true }, { - section: 'Be safe', + section: 'Become a Scratcher - Be safe', header: 'Scratchers are safe: we keep personal and contact information private.', body: 'This includes not sharing real last names, phone numbers, addresses, hometowns, school names, email addresses, usernames or links to social media sites, video chatting applications, or websites with private chat functionality.', image: 'safe-illustration.svg' }, { - section: 'Give helpful feedback', + section: 'Become a Scratcher - Give helpful feedback', header: 'Scratchers give helpful feedback.', body: 'When commenting on a project, remember to say something you like about it, offer suggestions, and be kind, not critical.', image: 'feedback-illustration.svg', imageLeft: true }, { - section: 'Embrace remix culture', + section: 'Become a Scratcher - Embrace remix culture', header: 'Scratchers embrace remix culture.', body: 'Remixing is when you build upon someone else’s projects, code, ideas, images, or anything else they share on Scratch to make your own unique creation.', image: 'remix-illustration-1.svg' }, { - section: 'Embrace remix culture', + section: 'Become a Scratcher - Embrace remix culture', header: 'Remixing is a great way to collaborate and connect with other Scratchers.', body: 'You are encouraged to use anything you find on Scratch in your own creations, as long as you provide credit to everyone whose work you used and make a meaningful change to it. ', image: 'remix-illustration-2.svg' }, { - section: 'Embrace remix culture', + section: 'Become a Scratcher - Embrace remix culture', header: 'Remixing means sharing with others.', body: 'When you share something on Scratch, you are giving permission to all Scratchers to use your work in their creations, too.', image: 'remix-illustration-3.svg' }, { - section: 'Be honest', + section: 'Become a Scratcher - Be honest', header: 'Scratchers are honest.', body: 'It’s important to be honest and authentic when interacting with others on Scratch, and remember that there is a person behind every Scratch account.', image: 'honest-illustration.svg', imageLeft: true }, { - section: 'Keep the site friendly', + section: 'Become a Scratcher - Keep the site friendly', header: 'Scratchers help keep the site friendly.', body: 'It’s important to keep your creations and conversations friendly and appropriate for all ages. If you think something on Scratch is mean, insulting, too violent, or otherwise disruptive to the community, click “Report” to let us know about it.', image: 'friendly-illustration.svg' } ]; -const OnboardingNavigation = ({page, totalPages, onNextPage, onBackPage}) => { + +const OnboardingHeader = ({user, section, whiteButton}) => { + const [showModal, setShowModal] = useState(false); + + return ( +
+ setShowModal(false)} + > +
+ Finish Later +
+
+

+ No worries, take your time! +

+
+ By leaving this page, you will not finish the process to become a Scratcher and will stay as a New Scratcher. If you change your mind later, you can always come back via your profile page. Just click on “★ Become a Scratcher!” below your username. +
+ + + + +
+
+ + {section} + + +
+ ); +}; + +const OnboardingNavigation = ({page, totalDots, onNextPage, onBackPage, nextText}) => { const dots = []; - for (let i = 0; i < totalPages; i++){ - dots.push(
- {page === i-2 &&
} -
); + if (page && totalDots){ + for (let i = 0; i < totalDots - 1; i++){ + dots.push(
); + } } return ( @@ -79,21 +125,21 @@ const OnboardingNavigation = ({page, totalPages, onNextPage, onBackPage}) => { { /* eslint-disable react/jsx-no-bind */ } - {(page > 1 && page < 9) && + {(page && totalDots) &&
{dots}
} { /* eslint-disable react/jsx-no-bind */ } -
-); -const ScratcherOnboarding = ({user}) => { - const [page, setPage] = useState(3); +const conffetiPaths = [ + new Path2D('M34.549 3.1361L40.613 15.4191L54.1718 17.3947C58.7918 18.0636 60.6345 23.7378 57.2946 26.9979L47.4788 36.5612L49.7954 50.0668C50.5839 54.6646 45.7557 58.1728 41.6274 56.0024L29.4994 49.6239L17.3714 56.0024C13.2386 58.1728 8.4149 54.6646 9.19893 50.0668L11.52 36.5612L1.70862 26.9979C-1.63567 23.7378 0.20701 18.0636 4.82699 17.3947L18.3902 15.4191L24.4497 3.1361C26.5183 -1.04537 32.4805 -1.04537 34.549 3.1361Z'), + new Path2D('M58.9044 21.997C57.1803 41.4894 35.1024 56.8198 29.5019 56.8198C23.9015 56.8198 1.81974 41.4894 0.0993974 21.997C0.0496987 21.3611 0 20.7252 0 20.0893C0 10.6382 7.71859 2.9502 17.211 2.9502C22.028 2.9502 26.4053 4.90743 29.5019 8.14029C32.5985 4.90743 36.9758 2.9502 41.7928 2.9502C51.2814 2.9502 59 10.6382 59 20.0893C59 20.7252 58.9503 21.3611 58.9044 21.997Z'), + new Path2D('M10.9967 45.1305C5.99892 36.9346 5.59074 25.9968 9.99448 17.3259C14.5575 8.00641 22.2367 3.87569 25.3229 2.53264C27.178 1.67111 29.1327 0.999586 31.2366 0.504948L33.3008 0.0594462C34.8174 -0.25175 36.3273 0.68839 36.6558 2.18868C36.9877 3.69225 36.022 5.17289 34.4988 5.50047L32.491 5.93286C30.8218 6.32595 29.2223 6.87628 27.6625 7.6035C25.6349 8.4814 18.9281 11.8783 15.0586 19.786C12.1217 25.5612 11.2456 34.7431 15.8683 42.3199C20.0564 49.6183 28.6315 54.0929 36.7654 53.3395C44.4578 52.7859 51.5164 47.6659 53.992 40.8851C56.5042 34.5072 54.835 27.9688 52.0772 24.2869C48.7553 19.75 44.6204 18.3545 42.9976 17.9647C42.7554 17.8926 37.074 16.186 32.0563 18.6985C29.8959 19.7336 27.1017 22.0627 25.605 25.5612C23.9889 29.1743 24.407 33.8193 26.5973 36.9051C28.8008 40.2136 32.9556 42.0873 36.5297 41.4518C40.0872 40.8917 42.4932 38.2449 43.064 35.9191C43.7343 33.4197 42.7056 31.3068 41.9025 30.5468C40.5386 29.2005 39.3605 29.1776 39.3107 29.1743C38.7532 29.1579 38.4777 29.2005 38.3118 29.2267C37.6746 29.4593 36.772 29.9703 36.5065 30.5075C36.46 30.596 36.3406 30.8384 36.5696 31.4444C37.1171 32.8825 36.3771 34.4908 34.9202 35.0313C33.47 35.5751 31.8373 34.8446 31.2864 33.4033C30.3804 31.0186 30.8815 29.1514 31.4623 28.0049C32.9789 25.0207 36.4999 23.9397 36.8981 23.825C37.0806 23.7693 37.2731 23.7366 37.4623 23.7202C37.8505 23.6612 38.5342 23.5695 39.46 23.6055C41.5806 23.6317 43.9965 24.7389 45.8483 26.5701C48.0352 28.6338 49.7476 32.7809 48.533 37.2883C47.3483 42.1135 42.7952 46.1034 37.4822 46.9387C31.7676 47.9575 25.3329 45.1403 21.9347 40.0334C18.6593 35.431 18.032 28.696 20.4281 23.3533C23.0564 17.2014 28.0773 14.4171 29.5508 13.7095C36.6359 10.1717 44.2089 12.5073 44.5275 12.6056C46.5651 13.0871 52.2299 14.9838 56.6336 21.0013C60.0186 25.5284 62.763 33.9831 59.2752 42.8342C56.0894 51.5575 47.0197 58.1843 37.2399 58.8886C36.4733 58.9607 35.6968 59 34.9236 59C25.4325 59 15.8186 53.5295 10.9967 45.1305Z') +]; + +const ScratcherOnboarding = ({user, invitedScratcher, scratcher, state}) => { + // Existing scratchers revisiting this page should just get the congratulations message + const [page, setPage] = useState(scratcher ? 11 : 0); + const [hoorayAppear, setHoorayAppear] = useState(false); const {width, height} = useWindowSize(); - const totalPages = 9; + const dots = 9; + + // const handlePromoteToScratcher = () => { + // api({ + // uri: `/users/${user.username}/promote-to-scratcher/`, + // method: 'GET', + // withCredentials: true, + // useCsrf: true + // }, (err, body, res) => { + // const error = normalizeError(err, body, res); + // if (error) return reject(error); + + // // Note `body` is undefined, this endpoint returns an html fragment + // const index = curators.selector(getState()).items + // .findIndex(v => v.username === username); + // if (index !== -1) dispatch(curators.actions.remove(index)); + // return resolve(); + // }); + // }; + + useEffect(() => { + steps.forEach(step => { + new Image().src = `/images/onboarding/${step.image}`; + }); + }, []); + + useEffect(() => { + if (user){ + new Image().src = thumbnailUrl(user.id, 100, 100); + } + }, [user]); const NextPage = () => { - setPage(Math.min(page + 1, totalPages)); + setPage(Math.min(page + 1, dots + 4)); }; const BackPage = () => { setPage(Math.max(page - 1, 0)); }; + if (page === 11){ + setTimeout(() => { + setHoorayAppear(true); + }, 2500); + } + + // New scratcher who is not invited + if (false && !invitedScratcher && !scratcher){ + return (
+ +

+ Whoops! Looks like you haven’t received an invitation to become a Scratcher yet. +

+
+ To become a Scratcher, you must be active on Scratch for a while, share several projects, and comment constructively in the community. After a few weeks, you will receive a notification inviting you to become a Scratcher. Scratch on! +
+
); + } + if (user){ if (page === 0){ return (
-
- -
-
+
+ +
-
-

Congratulations {user.username}! You have shown that you are ready to become a Scratcher.

-
- Scratch is a friendly and welcoming community for everyone, where people create, share, and learn together. We welcome people of all ages, races, ethnicities, religions, abilities, sexual orientations, and gender identities. - The next few pages will take you through the community guidelines and explain what this means. +
+
+

Congratulations {user.username}! You have shown that you are ready to become a Scratcher.

+
+ Scratch is a friendly and welcoming community for everyone, where people create, share, and learn together. We welcome people of all ages, races, ethnicities, religions, abilities, sexual orientations, and gender identities. + The next few pages will take you through the community guidelines and explain what this means. +
- { /* eslint-disable react/jsx-no-bind */ }
@@ -155,28 +257,41 @@ const ScratcherOnboarding = ({user}) => { } else if (page === 1){ return (
- +
-
- test -
-
-

Congratulations {name}! You have shown that you are ready to become a Scratcher.

+
+

What does it mean to be a Scratcher?

- Scratch is a friendly and welcoming community for everyone, where people create, share, and learn together. We welcome people of all ages, races, ethnicities, religions, abilities, sexual orientations, and gender identities. - The next few pages will take you through the community guidelines and explain what this means. + You might notice on your profile page that you are currently a “New Scratcher”. Now that you have spent some time on Scratch, we invite you to become a “Scratcher”.
- { /* eslint-disable react/jsx-no-bind */ } - +
+ + Scratchers have a bit more experience on Scratch and are excited to both contribute to the community and to make it a supportive and welcoming space for others. + +
+
+ Here are some things Scratchers do: +
+ + Create studios +
+
+ + Help out in the community +
+ Next, we will take you through the community guidelines and explain what these are.
); @@ -184,10 +299,10 @@ const ScratcherOnboarding = ({user}) => { const step = steps[page - 2]; return (
- +
{step.imageLeft && ( -
+
{
{!step.imageLeft && ( -
-
+
+
{page === 3 && }
@@ -217,26 +332,104 @@ const ScratcherOnboarding = ({user}) => {
); - } else if (page == 10) { + } else if (page === 10) { + return (
+ +
+
+
+ + + +
+

{user.username}, we invite you to become a Scratcher.

+
+ {'Scratch is a friendly and welcoming community for everyone. If you agree to be respectful, be safe, give helpful feedback, embrace remix culture, be honest, and help keep the site friendly, click “I agree!”'} +
+
+ {'You get to decide if you want to become a Scratcher. If you do not want to be a Scratcher yet, just click “Finish Later” above.'} +
+
+ + +
+
+
+
); + } else if (page === 11) { return (
- - -
- +
+
+ {conffetiPaths.map(confettiPath => + ( { + ctx.scale(.5, .5); + ctx.translate(-30, -30); + ctx.fill(confettiPath); + }} + />) + )} +
+

Hooray! You are now officially a Scratcher.

+
+
+ Here are some links that might be helpful for you. +
+ + + + +
+
); } } @@ -246,7 +439,9 @@ const ScratcherOnboarding = ({user}) => { const mapStateToProps = state => ({ - user: state.session && state.session.session && state.session.session.user + user: state.session && state.session.session && state.session.session.user, + invitedScratcher: state.session && state.session.session && state.session.session.permissions && state.session.session.permissions.invited_scratcher, + scratcher: state.session && state.session.session && state.session.session.permissions && state.session.session.permissions.scratcher }); const ConnectedScratcherOnboarding = connect( diff --git a/src/views/scratcher-onboarding/scratcher-onboarding.scss b/src/views/scratcher-onboarding/scratcher-onboarding.scss index 061b89f9e..c74d4bd82 100644 --- a/src/views/scratcher-onboarding/scratcher-onboarding.scss +++ b/src/views/scratcher-onboarding/scratcher-onboarding.scss @@ -1,10 +1,27 @@ @import "../../colors"; @import "../../frameless"; -body{ +html,body{ background-color: $ui-white !important; } +.no-invitation{ + display: flex; + max-width: 640px; + margin: auto; + height: 100vh; + flex-direction: column; + text-align: center; + justify-content: center; + align-items: center; + line-height: 1.8rem; + padding: 20px; + + h2{ + margin: 20px 0px; + } +} + .flex1{ flex: 1; } @@ -22,24 +39,179 @@ body{ justify-content: space-between; align-items: center; margin: 10px 40px; - z-index: 100; .section{ @media #{$medium-and-smaller} { display: none; } } + +} + +.modal-overlay{ + background-color: rgba(0,0,0, 0.5) !important; +} + +.modal-content{ + + line-height: 1.8rem !important; + box-shadow: none !important; + border-radius: 8px !important; + + .finish-later-modal-header{ + background-color: $ui-blue; + color: $ui-white; + height: 46px; + display:flex; + justify-content: center; + align-items: center; + border-radius: 7px 7px 0px 0px; + } + + .finish-later-modal-content{ + padding: 20px 30px; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + + button{ + padding: 5px 10px; + } + } + + h3{ + margin-bottom: 10px; + text-align: center; + } + + .profile-page-image{ + margin: 35px; + width: 100%; + max-width: 400px; + } +} + +.congratulations-page{ + display: flex; + height: 100vh; + align-items: normal; + + @media #{$medium-and-smaller} { + flex-direction: column; + } + + .header{ + position: absolute; + top: 0px; + right: 0px; + left: 0px; + @media #{$medium-and-smaller} { + position: static; + flex-direction: row; + } + } +} + +.congratulations-text{ + flex: 1; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + padding: 40px; + justify-content: space-between; + + .center-text{ + display: flex; + flex: 1; + flex-direction: column; + justify-content: center; + } +} + +.congratulations-image{ + height: 100vh; + display: flex; + justify-content: center; + background-color: #E9F1FC; + @media #{$medium-and-smaller} { + height: 230px; + width: 100vw; + order: -1; + } +} + +.center-flex{ + display:flex; + justify-content: center; + align-items: center; +} + +.invitation-card{ + background-color: white; + margin: 10px; + border-radius: 7px; + padding: 40px; + text-align: center; + max-width: 600px; + + .invitation-icon{ + border-radius: 3px; + width: 50px; + margin: 0px 10px; + } + + button{ + margin: 10px; + margin-top: 30px; + } + + .invitation-buttons{ + display: flex; + justify-content: center; + } } .blue-background{ - background-color: #E9F1FC; - z-index: 1; - position: absolute; - top: 0px; - bottom: 0px; - left: 0px; - width: 30%; - @media #{$medium-and-smaller} { - display: none; + background-color: #3373cc; +} + +// .light-blue-background{ +// z-index: 1; +// position: absolute; +// top: 0px; +// bottom: 0px; +// left: 0px; +// width: 30%; +// @media #{$medium-and-smaller} { +// display: none; +// } +// } + +.button{ + display: flex; + + .left-arrow{ + padding-right: 4px; + @media #{$small} { + padding: 0px; + } + } + .right-arrow{ + padding-left: 4px; + @media #{$small} { + padding: 0px; + } + } +} + +.labeled-icon{ + display: flex; + justify-content: center; + align-items: center; + + img{ + margin-right: 20px; } } @@ -48,29 +220,13 @@ body{ width: 100%; justify-content: space-around; align-items: center; - padding-bottom: 40px; + margin-bottom: 40px; - .button{ - display: flex; - - .left-arrow{ - padding-right: 4px; - @media #{$small} { - padding: 0px; - } - } - .right-arrow{ - padding-left: 4px; - @media #{$small} { - padding: 0px; - } - } - } .dotRow{ display: flex; justify-content: space-between; - width: 220px; + width: 244px; min-width: 0px; padding: 0px 5px; } @@ -86,12 +242,9 @@ body{ align-items: center; } .active{ - width: 16px; - height: 16px; - border-radius: 100%; - border: solid 1px #4280d9; - box-sizing: border-box; + border: solid 2px #4280d9; background-color: #4c97fe; + margin-top: -2px; } .navText{ @@ -101,9 +254,53 @@ body{ } } +.hooray-screen{ + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + margin: auto; + + h1{ + text-align: center; + } +} + +.hooray-links{ + opacity: 0; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + +.hooray-confetti{ + opacity: 1; +} + +.hooray-appear{ + opacity: 1; + transition: opacity 1s ease-in-out; +} + +.hooray-disappear{ + opacity: 0; + transition: opacity 1s ease-in-out; +} + +.hooray-link{ + display: flex; + margin: 15px; + margin-top: 40px; + margin-bottom: 40px; + flex-direction: column; + justify-content: center; + align-items: center; +} + .onboarding { display: flex; - height: 100vh; + min-height: 100vh; flex-direction: row; line-height: 1.8rem; @@ -141,12 +338,26 @@ body{ flex-direction: column; } } - button.secondary{ - background-color: $ui-white; + + button.finish-later{ + background-color: rgba(0,0,0,0); + color: $ui-blue; border: solid 1px $ui-blue; } - .art-content{ + button.secondary-finish-later{ + background-color: rgba(0,0,0,0); + color: $ui-white; + border: solid 1px $ui-white; + } + + button.go-back{ + background-color: $ui-white; + color: $ui-blue; + border: solid 1px $ui-blue; + } + + .image-content{ display: flex; position: relative; flex: 4; @@ -166,11 +377,11 @@ body{ } } - .art-inner-content{ + .image-inner-content{ position: relative; } - .art-content-1{ + .image-content-1{ display: flex; flex: 4; justify-content: center; @@ -209,4 +420,20 @@ body{ justify-content: flex-start; } } + + .opening-text-content{ + flex: 6; + display: flex; + justify-content: center; + // align-items: center; + flex-direction: column; + padding: 40px; + display: flex; + align-items: flex-start; + @media #{$medium-and-smaller} { + flex: 12; + order: 2; + padding-top: 0px; + } + } } diff --git a/static/images/onboarding/community-guidelines.svg b/static/images/onboarding/community-guidelines.svg new file mode 100644 index 000000000..7bc160507 --- /dev/null +++ b/static/images/onboarding/community-guidelines.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/static/images/onboarding/congratulations-illustration.svg b/static/images/onboarding/congratulations-illustration.svg new file mode 100644 index 000000000..098649c11 --- /dev/null +++ b/static/images/onboarding/congratulations-illustration.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/images/onboarding/create-a-project.svg b/static/images/onboarding/create-a-project.svg new file mode 100644 index 000000000..f88bae74c --- /dev/null +++ b/static/images/onboarding/create-a-project.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/images/onboarding/create-studios.svg b/static/images/onboarding/create-studios.svg new file mode 100644 index 000000000..4d75130bc --- /dev/null +++ b/static/images/onboarding/create-studios.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/static/images/onboarding/heart-confetti.svg b/static/images/onboarding/heart-confetti.svg new file mode 100644 index 000000000..1fd230084 --- /dev/null +++ b/static/images/onboarding/heart-confetti.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/images/onboarding/help-out.svg b/static/images/onboarding/help-out.svg new file mode 100644 index 000000000..fd9a276ff --- /dev/null +++ b/static/images/onboarding/help-out.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/static/images/onboarding/invitation-illustration.svg b/static/images/onboarding/invitation-illustration.svg new file mode 100644 index 000000000..025513db4 --- /dev/null +++ b/static/images/onboarding/invitation-illustration.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/static/images/onboarding/left-lines.svg b/static/images/onboarding/left-lines.svg new file mode 100644 index 000000000..04a8ab9ec --- /dev/null +++ b/static/images/onboarding/left-lines.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/images/onboarding/profile-page-become-a-scratcher-button.svg b/static/images/onboarding/profile-page-become-a-scratcher-button.svg new file mode 100644 index 000000000..a061001bf --- /dev/null +++ b/static/images/onboarding/profile-page-become-a-scratcher-button.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/images/onboarding/right-lines.svg b/static/images/onboarding/right-lines.svg new file mode 100644 index 000000000..72d56c062 --- /dev/null +++ b/static/images/onboarding/right-lines.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/images/onboarding/safe-illustration.svg b/static/images/onboarding/safe-illustration.svg index ac0f9759d..680df5d62 100644 --- a/static/images/onboarding/safe-illustration.svg +++ b/static/images/onboarding/safe-illustration.svg @@ -1,13 +1,13 @@ - + - - + + - - - + + + - + @@ -37,7 +37,7 @@ - + @@ -62,13 +62,4 @@ - - - - - - - - - diff --git a/static/images/onboarding/spiral-confetti.svg b/static/images/onboarding/spiral-confetti.svg new file mode 100644 index 000000000..f9fed2b78 --- /dev/null +++ b/static/images/onboarding/spiral-confetti.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/static/images/onboarding/star-confetti.svg b/static/images/onboarding/star-confetti.svg new file mode 100644 index 000000000..ed53f1d5e --- /dev/null +++ b/static/images/onboarding/star-confetti.svg @@ -0,0 +1,3 @@ + + +