A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
feat: add onboarding dialog for pro users
thecodrr540a477a58c9
diff --git a/apps/web/src/app-effects.js b/apps/web/src/app-effects.jsindex 975ca3a75..796613b59 100644--- a/apps/web/src/app-effects.js+++ b/apps/web/src/app-effects.js@@ -73,7 +73,6 @@ export default function AppEffects({ setShow }) {}await resetReminders();setIsVaultCreated(await db.vault.exists());- await showOnboardingDialog();})();return () => {userCheckStatusEvent.unsubscribe();diff --git a/apps/web/src/assets/backup.svg b/apps/web/src/assets/backup.svgindex 796388dbb..cb93af885 100644--- a/apps/web/src/assets/backup.svg+++ b/apps/web/src/assets/backup.svg@@ -1,252 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" data-name="Layer 1" viewBox="0 0 734 765">- <defs>- <path id="reuse-5" fill="url(#av)" d="M609 366l125 103-241 61-127-99 243-65z"/>- <path id="reuse-4" fill="url(#ab)" d="M314 130h90v16h-90z"/>- <path id="reuse-3" fill="url(#Q)" d="M609 701l-243 64V431l243-65v335z"/>- <path id="reuse-2" fill="url(#d)" d="M0 268l124 98 242-58-123-104L0 268z"/>- <path id="reuse-1" fill="url(#b)" d="M124 366l242-58v457l-242-63V366z"/>- <path id="reuse-0" fill="url(#a)" d="M609 366l-243-58v457l243-64V366z"/>- </defs>- <defs>- <linearGradient id="a" x1="366.4" x2="608.5" y1="536.3" y2="536.3" gradientUnits="userSpaceOnUse">- <stop offset="0" stop-color="gray" stop-opacity=".3"/>- <stop offset=".5" stop-color="gray" stop-opacity=".1"/>- <stop offset="1" stop-color="gray" stop-opacity=".1"/>- </linearGradient>- <linearGradient id="b" x1="124.2" x2="366.4" y1="536.3" y2="536.3" xlink:href="#a"/>- <linearGradient id="c" x1="366.4" x2="734" y1="285.3" y2="285.3" xlink:href="#a"/>- <linearGradient id="d" x1="0" x2="366.4" y1="285.3" y2="285.3" xlink:href="#a"/>- <linearGradient id="e" x1="276.6" x2="276.6" y1="421.2" y2="255.4" xlink:href="#a"/>- <linearGradient id="f" x1="189" x2="364.6" y1="337.6" y2="337.6" xlink:href="#a"/>- <linearGradient id="g" x1="202.5" x2="232.1" y1="296.6" y2="296.6" xlink:href="#a"/>- <linearGradient id="h" x1="241" x2="358.7" y1="284.8" y2="284.8" xlink:href="#a"/>- <linearGradient id="i" x1="241" x2="358.7" y1="293.7" y2="293.7" xlink:href="#a"/>- <linearGradient id="j" x1="199.5" x2="358.7" y1="325.9" y2="325.9" xlink:href="#a"/>- <linearGradient id="k" x1="199.5" x2="358.7" y1="334.8" y2="334.8" xlink:href="#a"/>- <linearGradient id="l" x1="199.5" x2="358.7" y1="346.6" y2="346.6" xlink:href="#a"/>- <linearGradient id="m" x1="199.5" x2="291.3" y1="355.5" y2="355.5" xlink:href="#a"/>- <linearGradient id="n" x1="199.5" x2="358.7" y1="367.3" y2="367.3" xlink:href="#a"/>- <linearGradient id="o" x1="199.5" x2="358.7" y1="376.2" y2="376.2" xlink:href="#a"/>- <linearGradient id="p" x1="199.5" x2="358.7" y1="388.1" y2="388.1" xlink:href="#a"/>- <linearGradient id="q" x1="199.5" x2="291.3" y1="396.9" y2="396.9" xlink:href="#a"/>- <linearGradient id="r" x1="303.8" x2="303.8" y1="459.5" y2="293.7" xlink:href="#a"/>- <linearGradient id="s" x1="216.1" x2="391.7" y1="375.9" y2="375.9" xlink:href="#a"/>- <linearGradient id="t" x1="229.6" x2="259.2" y1="334.9" y2="334.9" xlink:href="#a"/>- <linearGradient id="u" x1="268.1" x2="385.8" y1="323.1" y2="323.1" xlink:href="#a"/>- <linearGradient id="v" x1="268.1" x2="385.8" y1="332" y2="332" xlink:href="#a"/>- <linearGradient id="w" x1="226.7" x2="385.8" y1="364.2" y2="364.2" xlink:href="#a"/>- <linearGradient id="x" x1="226.7" x2="385.8" y1="373.1" y2="373.1" xlink:href="#a"/>- <linearGradient id="y" x1="226.7" x2="385.8" y1="385" y2="385" xlink:href="#a"/>- <linearGradient id="z" x1="226.7" x2="318.4" y1="393.8" y2="393.8" xlink:href="#a"/>- <linearGradient id="A" x1="226.7" x2="385.8" y1="405.7" y2="405.7" xlink:href="#a"/>- <linearGradient id="B" x1="226.7" x2="385.8" y1="414.5" y2="414.5" xlink:href="#a"/>- <linearGradient id="C" x1="226.7" x2="385.8" y1="426.4" y2="426.4" xlink:href="#a"/>- <linearGradient id="D" x1="226.7" x2="318.4" y1="435.3" y2="435.3" xlink:href="#a"/>- <linearGradient id="E" x1="396.3" x2="396.3" y1="498.1" y2="315.1" xlink:href="#a"/>- <linearGradient id="F" x1="323.2" x2="470.8" y1="406.1" y2="406.1" xlink:href="#a"/>- <linearGradient id="G" x1="630" x2="630" y1="435.5" y2="409.4" xlink:href="#a"/>- <linearGradient id="H" x1="379.3" x2="414.7" y1="356.8" y2="356.8" xlink:href="#a"/>- <linearGradient id="I" x1="389.6" x2="404.4" y1="345.3" y2="345.3" xlink:href="#a"/>- <linearGradient id="J" x1="345.3" x2="449.1" y1="397.5" y2="397.5" xlink:href="#a"/>- <linearGradient id="K" x1="345.3" x2="449.1" y1="426.6" y2="426.6" xlink:href="#a"/>- <linearGradient id="L" x1="345.3" x2="449.1" y1="434.3" y2="434.3" xlink:href="#a"/>- <linearGradient id="M" x1="345.3" x2="389.1" y1="418.9" y2="418.9" xlink:href="#a"/>- <linearGradient id="N" x1="416.3" x2="449.1" y1="418.9" y2="418.9" xlink:href="#a"/>- <linearGradient id="O" x1="381.7" x2="414.5" y1="452.4" y2="452.4" xlink:href="#a"/>- <linearGradient id="P" x1="124.2" x2="366.4" y1="565.5" y2="565.5" xlink:href="#a"/>- <linearGradient id="Q" x1="366.4" x2="608.5" y1="565.5" y2="565.5" xlink:href="#a"/>- <linearGradient id="R" x1="512.1" x2="608.5" y1="631.4" y2="631.4" xlink:href="#a"/>- <linearGradient id="S" x1="517.5" x2="517.5" y1="407" y2="338.4" xlink:href="#a"/>- <linearGradient id="T" x1="482.9" x2="552.1" y1="372.9" y2="372.9" xlink:href="#a"/>- <linearGradient id="U" x1="750.5" x2="750.5" y1="435.9" y2="416" xlink:href="#a"/>- <linearGradient id="V" x1="504" x2="530.9" y1="359.7" y2="359.7" xlink:href="#a"/>- <linearGradient id="W" x1="511.9" x2="523.1" y1="351" y2="351" xlink:href="#a"/>- <linearGradient id="X" x1="505.6" x2="530.5" y1="380.7" y2="380.7" xlink:href="#a"/>- <linearGradient id="Y" x1="496.2" x2="538.8" y1="386.9" y2="386.9" xlink:href="#a"/>- <linearGradient id="Z" x1="358.8" x2="358.8" y1="204.7" y2="128.7" xlink:href="#a"/>- <linearGradient id="aa" x1="313.6" x2="403.8" y1="166.8" y2="166.8" xlink:href="#a"/>- <linearGradient id="ab" x1="313.6" x2="403.8" y1="138.3" y2="138.3" xlink:href="#a"/>- <linearGradient id="ac" x1="320.8" x2="396.6" y1="157.2" y2="157.2" xlink:href="#a"/>- <linearGradient id="ad" x1="320.8" x2="376.1" y1="170.7" y2="170.7" xlink:href="#a"/>- <linearGradient id="ae" x1="320.8" x2="356.7" y1="176.3" y2="176.3" xlink:href="#a"/>- <linearGradient id="af" x1="320.8" x2="368.2" y1="181.9" y2="181.9" xlink:href="#a"/>- <linearGradient id="ag" x1="320.8" x2="376.1" y1="187.4" y2="187.4" xlink:href="#a"/>- <linearGradient id="ah" x1="320.8" x2="339.3" y1="193" y2="193" xlink:href="#a"/>- <linearGradient id="ai" x1="505.9" x2="505.9" y1="279.9" y2="185.8" xlink:href="#a"/>- <linearGradient id="aj" x1="449.9" x2="561.6" y1="233" y2="233" xlink:href="#a"/>- <linearGradient id="ak" x1="449.9" x2="561.6" y1="197.7" y2="197.7" xlink:href="#a"/>- <linearGradient id="al" x1="458.8" x2="552.7" y1="221.1" y2="221.1" xlink:href="#a"/>- <linearGradient id="am" x1="458.8" x2="527.4" y1="237.9" y2="237.9" xlink:href="#a"/>- <linearGradient id="an" x1="458.8" x2="503.3" y1="244.8" y2="244.8" xlink:href="#a"/>- <linearGradient id="ao" x1="458.8" x2="517.5" y1="251.7" y2="251.7" xlink:href="#a"/>- <linearGradient id="ap" x1="458.8" x2="527.4" y1="258.6" y2="258.6" xlink:href="#a"/>- <linearGradient id="aq" x1="458.8" x2="481.7" y1="265.5" y2="265.5" xlink:href="#a"/>- <linearGradient id="ar" x1="463.7" x2="490.4" y1="220.9" y2="220.9" xlink:href="#a"/>- <linearGradient id="as" x1="121.1" x2="365.7" y1="472.9" y2="472.9" xlink:href="#a"/>- <linearGradient id="at" x1="365.7" x2="610.4" y1="472.9" y2="472.9" xlink:href="#a"/>- <linearGradient id="au" x1="0" x2="366.4" y1="448.2" y2="448.2" xlink:href="#a"/>- <linearGradient id="av" x1="366.4" x2="734" y1="448.2" y2="448.2" xlink:href="#a"/>- <linearGradient id="aw" x1="279.9" x2="279.9" y1="417.6" y2="253.2" xlink:href="#a"/>- <linearGradient id="ax" x1="306.8" x2="306.8" y1="455.6" y2="291.2" xlink:href="#a"/>- <linearGradient id="ay" x1="398.5" x2="398.5" y1="493.9" y2="312.5" xlink:href="#a"/>- <linearGradient id="az" x1="632.3" x2="632.3" y1="432.4" y2="406.5" xlink:href="#a"/>- <linearGradient id="aA" x1="518.7" x2="518.7" y1="403.6" y2="335.6" xlink:href="#a"/>- <linearGradient id="aB" x1="751.7" x2="751.7" y1="432.8" y2="413.1" xlink:href="#a"/>- <linearGradient id="aC" x1="450.8" x2="450.8" y1="68" y2="0" xlink:href="#a"/>- <linearGradient id="aD" x1="683.8" x2="683.8" y1="97.2" y2="77.5" xlink:href="#a"/>- <linearGradient id="aE" x1="361.3" x2="361.3" y1="203" y2="127.6" xlink:href="#a"/>- <linearGradient id="aF" x1="507.2" x2="507.2" y1="277.6" y2="184.2" xlink:href="#a"/>- </defs>- <g opacity=".7">- <use xlink:href="#reuse-0"/>- <use opacity=".1" xlink:href="#reuse-0"/>- <use xlink:href="#reuse-1"/>- <use opacity=".2" xlink:href="#reuse-1"/>- <path fill="url(#c)" d="M366 308l126-104 242 62-125 100-243-58z"/>- <use xlink:href="#reuse-2"/>- <use opacity=".1" xlink:href="#reuse-2"/>- <rect width="179.7" height="165.8" x="187" y="255" fill="url(#e)" opacity=".5" rx="4.5" ry="4.5"/>- <rect width="175.6" height="161.8" x="189" y="257" fill="url(#f)" rx="4.5" ry="4.5"/>- <rect width="29.6" height="26.6" x="203" y="283" fill="url(#g)" rx="4.5" ry="4.5"/>- <rect width="117.7" height="3" x="241" y="283" fill="url(#h)" rx=".8" ry=".8"/>- <rect width="117.7" height="3" x="241" y="292" fill="url(#i)" rx=".8" ry=".8"/>- <rect width="159.2" height="3" x="200" y="324" fill="url(#j)" rx=".8" ry=".8"/>- <rect width="159.2" height="3" x="200" y="333" fill="url(#k)" rx=".8" ry=".8"/>- <rect width="159.2" height="3" x="200" y="345" fill="url(#l)" rx=".8" ry=".8"/>- <rect width="91.8" height="3" x="200" y="354" fill="url(#m)" rx=".8" ry=".8"/>- <rect width="159.2" height="3" x="200" y="366" fill="url(#n)" rx=".8" ry=".8"/>- <rect width="159.2" height="3" x="200" y="375" fill="url(#o)" rx=".8" ry=".8"/>- <rect width="159.2" height="3" x="200" y="387" fill="url(#p)" rx=".8" ry=".8"/>- <rect width="91.8" height="3" x="200" y="396" fill="url(#q)" rx=".8" ry=".8"/>- <rect width="179.7" height="165.8" x="214" y="294" fill="url(#r)" opacity=".5" rx="4.5" ry="4.5"/>- <rect width="175.6" height="161.8" x="216" y="295" fill="url(#s)" rx="4.5" ry="4.5"/>- <rect width="29.6" height="26.6" x="230" y="322" fill="url(#t)" rx="4.5" ry="4.5"/>- <rect width="117.7" height="3" x="268" y="322" fill="url(#u)" rx=".8" ry=".8"/>- <rect width="117.7" height="3" x="268" y="331" fill="url(#v)" rx=".8" ry=".8"/>- <rect width="159.2" height="3" x="227" y="363" fill="url(#w)" rx=".8" ry=".8"/>- <rect width="159.2" height="3" x="227" y="372" fill="url(#x)" rx=".8" ry=".8"/>- <rect width="159.2" height="3" x="227" y="384" fill="url(#y)" rx=".8" ry=".8"/>- <rect width="91.8" height="3" x="227" y="392" fill="url(#z)" rx=".8" ry=".8"/>- <rect width="159.2" height="3" x="227" y="404" fill="url(#A)" rx=".8" ry=".8"/>- <rect width="159.2" height="3" x="227" y="413" fill="url(#B)" rx=".8" ry=".8"/>- <rect width="159.2" height="3" x="227" y="425" fill="url(#C)" rx=".8" ry=".8"/>- <rect width="91.8" height="3" x="227" y="434" fill="url(#D)" rx=".8" ry=".8"/>- <path fill="url(#E)" d="M318 315h156v183H318z" opacity=".5"/>- <path fill="url(#F)" d="M323 318h148v176H323z"/>- <path fill="url(#G)" d="M638 414v-5h-16v5h-11v22h38v-22zm-14-3h12v3h-12z" opacity=".5" transform="translate(-233 -68)"/>- <path fill="url(#H)" d="M379 347h35v20h-35z"/>- <path fill="url(#I)" d="M390 343v5h1v-4h12v4h1v-5h-14z"/>- <path fill="url(#J)" d="M345 395h104v4H345z"/>- <path fill="url(#K)" d="M345 424h104v4H345z"/>- <path fill="url(#L)" d="M345 432h104v4H345z"/>- <path fill="url(#M)" d="M345 417h44v4h-44z"/>- <path fill="url(#N)" d="M416 417h33v4h-33z" opacity=".6"/>- <path fill="url(#O)" d="M382 450h33v4h-33z"/>- <path fill="url(#P)" d="M124 366v336l242 63V431l-242-65z"/>- <use xlink:href="#reuse-3"/>- <use opacity=".1" xlink:href="#reuse-3"/>- <path fill="url(#R)" d="M512 590v110l97-27V563l-97 27z" opacity=".1"/>- <path fill="url(#S)" d="M482 338h71v69h-71z"/>- <path fill="url(#T)" d="M483 340h69v66h-69z"/>- <path fill="url(#U)" d="M757 419v-3h-13v3h-8v17h29v-17zm-11-2h9v2h-9z" opacity=".5" transform="translate(-233 -68)"/>- <path fill="url(#V)" d="M504 352h27v15h-27z" opacity=".6"/>- <path fill="url(#W)" d="M512 349v4h1v-3h9v3h1v-4h-11z" opacity=".6"/>- <path fill="url(#X)" d="M506 379h25v3h-25z" opacity=".6"/>- <path fill="url(#Y)" d="M496 385h43v3h-43z"/>- <path fill="url(#Z)" d="M313 129h93v76h-93z" opacity=".5"/>- <path fill="url(#aa)" d="M314 130h90v73h-90z"/>- <use xlink:href="#reuse-4"/>- <use opacity=".1" xlink:href="#reuse-4"/>- <path fill="url(#ac)" d="M321 152h76v10h-76z"/>- <path fill="url(#ad)" d="M321 169h55v3h-55z"/>- <path fill="url(#ae)" d="M321 175h36v3h-36z"/>- <path fill="url(#af)" d="M321 180h47v3h-47z"/>- <path fill="url(#ag)" d="M321 186h55v3h-55z"/>- <path fill="url(#ah)" d="M321 191h19v3h-19z"/>- <path fill="url(#ai)" d="M449 186h115v94H449z" opacity=".5"/>- <path fill="url(#aj)" d="M450 188h112v91H450z"/>- <path fill="url(#ak)" d="M450 188h112v20H450z"/>- <path fill="url(#al)" d="M459 215h94v12h-94z"/>- <path fill="url(#am)" d="M459 236h69v4h-69z"/>- <path fill="url(#an)" d="M459 243h45v4h-45z"/>- <path fill="url(#ao)" d="M459 250h59v4h-59z"/>- <path fill="url(#ap)" d="M459 257h69v4h-69z"/>- <path fill="url(#aq)" d="M459 264h23v4h-23z"/>- <path fill="url(#ar)" d="M464 219h27v4h-27z"/>- <path fill="url(#as)" d="M121 541l136 34 109-89v-54l-242-61-3 170z" opacity=".1"/>- <path fill="url(#at)" d="M610 541l-135 34-109-89v-54l242-61 2 170z" opacity=".1"/>- <path fill="url(#au)" d="M124 366L0 469l242 61 124-99-242-65z"/>- <use xlink:href="#reuse-5"/>- <use opacity=".1" xlink:href="#reuse-5"/>- </g>- <path fill="#535461" d="M609 363l-240-57v452l240-63V363z"/>- <path d="M609 363l-240-57v452l240-63V363z" opacity=".1"/>- <path fill="#535461" d="M129 363l240-57v452l-240-62V363z"/>- <path d="M129 361l240-57v454l-240-62V361z" opacity=".2"/>- <path fill="#535461" d="M367 308l126-106 240 62-126 101-240-57z"/>- <path fill="#535461" d="M8 267l123 98 240-57-122-104L8 267z"/>- <path d="M6 265l126 100 240-57-125-106L6 265z" opacity=".1"/>- <rect width="178.2" height="164.4" x="191" y="253" fill="url(#aw)" opacity=".5" rx="4.5" ry="4.5"/>- <rect width="174.1" height="160.4" x="193" y="255" fill="#f5f5f5" rx="4.5" ry="4.5"/>- <rect width="29.4" height="26.4" x="206" y="281" fill="#0560ff" rx="4.5" ry="4.5"/>- <rect width="116.7" height="2.9" x="245" y="281" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="116.7" height="2.9" x="245" y="290" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="157.8" height="2.9" x="204" y="322" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="157.8" height="2.9" x="204" y="331" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="157.8" height="2.9" x="204" y="342" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="91" height="2.9" x="204" y="351" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="157.8" height="2.9" x="204" y="363" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="157.8" height="2.9" x="204" y="372" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="157.8" height="2.9" x="204" y="383" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="91" height="2.9" x="204" y="392" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="178.2" height="164.4" x="218" y="291" fill="url(#ax)" opacity=".5" rx="4.5" ry="4.5"/>- <rect width="174.1" height="160.4" x="220" y="293" fill="#fff" rx="4.5" ry="4.5"/>- <rect width="29.4" height="26.4" x="233" y="319" fill="#0560ff" rx="4.5" ry="4.5"/>- <rect width="116.7" height="2.9" x="272" y="319" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="116.7" height="2.9" x="272" y="328" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="157.8" height="2.9" x="230" y="360" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="157.8" height="2.9" x="230" y="369" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="157.8" height="2.9" x="230" y="380" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="91" height="2.9" x="230" y="389" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="157.8" height="2.9" x="230" y="401" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="157.8" height="2.9" x="230" y="410" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="157.8" height="2.9" x="230" y="421" fill="#e0e0e0" rx=".8" ry=".8"/>- <rect width="91" height="2.9" x="230" y="430" fill="#e0e0e0" rx=".8" ry=".8"/>- <path fill="url(#ay)" d="M321 313h154v181H321z" opacity=".5"/>- <path fill="#fff" d="M326 315h146v175H326z"/>- <path fill="url(#az)" d="M640 411v-4h-16v4h-11v21h38v-21zm-14-3h12v3h-12z" opacity=".5" transform="translate(-233 -68)"/>- <path fill="#0560ff" d="M382 344h35v20h-35z"/>- <path fill="#0560ff" d="M392 340v5h2v-4h11v4h2v-5h-15z"/>- <path fill="#e0e0e0" d="M348 392h103v4H348zM348 421h103v4H348zM348 429h103v4H348zM348 413h43v4h-43z"/>- <path fill="#3ad29f" d="M418 413h33v4h-33z" opacity=".6"/>- <path fill="#0560ff" d="M384 446h33v4h-33z"/>- <path fill="#535461" d="M129 363v333l240 62 3-331-243-64z"/>- <path fill="#535461" d="M609 695l-240 63V427l240-64v332z"/>- <path d="M609 695l-240 63V427l240-64v332z" opacity=".1"/>- <path d="M513 585v109l96-26V558l-96 27z" opacity=".1"/>- <path fill="url(#aA)" d="M483 336h71v68h-71z"/>- <path fill="#f5f5f5" d="M484 337h69v65h-69z"/>- <path fill="url(#aB)" d="M758 416v-3h-12v3h-9v17h29v-17zm-11-2h9v2h-9z" opacity=".5" transform="translate(-233 -68)"/>- <path fill="#0560ff" d="M505 349h27v15h-27z" opacity=".6"/>- <path fill="#0560ff" d="M513 346v4h2v-3h8v3h1v-4h-11zM507 376h25v3h-25z" opacity=".6"/>- <path fill="#bdbdbd" d="M498 382h42v3h-42z"/>- <path fill="url(#aC)" d="M415 0h71v68h-71z"/>- <path fill="#f5f5f5" d="M417 2h69v65h-69z"/>- <path fill="url(#aD)" d="M690 81v-4h-12v4h-9v16h29V81zm-11-2h9v2h-9z" opacity=".5" transform="translate(-233 -68)"/>- <path fill="#0560ff" d="M438 14h27v15h-27zM445 11v3h2v-2h8v2h1v-3h-11zM439 40h25v3h-25z" opacity=".6"/>- <path fill="#bdbdbd" d="M430 46h42v3h-42z"/>- <path fill="url(#aE)" d="M316 128h92v75h-92z" opacity=".5"/>- <path fill="#f2f2f2" d="M317 129h89v73h-89z"/>- <path fill="#0560ff" d="M317 129h89v16h-89z"/>- <path d="M317 129h89v16h-89z" opacity=".1"/>- <path fill="#e0e0e0" d="M324 151h75v9h-75zM324 168h55v3h-55zM324 173h36v3h-36zM324 179h47v3h-47zM324 184h55v3h-55zM324 190h18v3h-18z"/>- <path fill="url(#aF)" d="M450 184h114v93H450z" opacity=".5"/>- <path fill="#fff" d="M452 186h111v90H452z"/>- <path fill="#0560ff" d="M452 186h111v20H452z"/>- <path fill="#f5f5f5" d="M461 213h93v12h-93z"/>- <path fill="#e0e0e0" d="M461 234h68v4h-68zM461 241h44v4h-44zM461 248h58v4h-58zM461 254h68v4h-68zM461 261h23v4h-23z"/>- <path fill="#69f0ae" d="M465 217h27v4h-27z"/>- <path d="M126 536l134 34 108-88v-54l-240-60-2 168zM611 536l-135 34-108-88v-54l240-60 3 168z" opacity=".1"/>- <path fill="#535461" d="M129 363L6 465l240 60 123-98-240-64zM609 363l124 102-238 60-126-98 240-64z"/>- <path d="M609 363l124 102-238 60-126-98 240-64z" opacity=".1"/>-</svg>+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" data-name="Layer 1" viewBox="0 0 734 765"><defs><path id="aB" fill="url(#a)" d="m609 366 125 103-241 61-127-99 243-65z"/><path id="ah" fill="url(#b)" d="M314 130h90v16h-90z"/><path id="W" fill="url(#c)" d="m609 701-243 64V431l243-65v335z"/><path id="j" fill="url(#d)" d="m0 268 124 98 242-58-123-104L0 268z"/><path id="h" fill="url(#e)" d="m124 366 242-58v457l-242-63V366z"/><path id="g" fill="url(#f)" d="m609 366-243-58v457l243-64V366z"/></defs><defs><linearGradient id="f" x1="366.4" x2="608.5" y1="536.3" y2="536.3" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="gray" stop-opacity=".3"/><stop offset=".5" stop-color="gray" stop-opacity=".1"/><stop offset="1" stop-color="gray" stop-opacity=".1"/></linearGradient><linearGradient xlink:href="#f" id="e" x1="124.2" x2="366.4" y1="536.3" y2="536.3"/><linearGradient xlink:href="#f" id="i" x1="366.4" x2="734" y1="285.3" y2="285.3"/><linearGradient xlink:href="#f" id="d" x1="0" x2="366.4" y1="285.3" y2="285.3"/><linearGradient xlink:href="#f" id="k" x1="276.6" x2="276.6" y1="421.2" y2="255.4"/><linearGradient xlink:href="#f" id="l" x1="189" x2="364.6" y1="337.6" y2="337.6"/><linearGradient xlink:href="#f" id="m" x1="202.5" x2="232.1" y1="296.6" y2="296.6"/><linearGradient xlink:href="#f" id="n" x1="241" x2="358.7" y1="284.8" y2="284.8"/><linearGradient xlink:href="#f" id="o" x1="241" x2="358.7" y1="293.7" y2="293.7"/><linearGradient xlink:href="#f" id="p" x1="199.5" x2="358.7" y1="325.9" y2="325.9"/><linearGradient xlink:href="#f" id="q" x1="199.5" x2="358.7" y1="334.8" y2="334.8"/><linearGradient xlink:href="#f" id="r" x1="199.5" x2="358.7" y1="346.6" y2="346.6"/><linearGradient xlink:href="#f" id="s" x1="199.5" x2="291.3" y1="355.5" y2="355.5"/><linearGradient xlink:href="#f" id="t" x1="199.5" x2="358.7" y1="367.3" y2="367.3"/><linearGradient xlink:href="#f" id="u" x1="199.5" x2="358.7" y1="376.2" y2="376.2"/><linearGradient xlink:href="#f" id="v" x1="199.5" x2="358.7" y1="388.1" y2="388.1"/><linearGradient xlink:href="#f" id="w" x1="199.5" x2="291.3" y1="396.9" y2="396.9"/><linearGradient xlink:href="#f" id="x" x1="303.8" x2="303.8" y1="459.5" y2="293.7"/><linearGradient xlink:href="#f" id="y" x1="216.1" x2="391.7" y1="375.9" y2="375.9"/><linearGradient xlink:href="#f" id="z" x1="229.6" x2="259.2" y1="334.9" y2="334.9"/><linearGradient xlink:href="#f" id="A" x1="268.1" x2="385.8" y1="323.1" y2="323.1"/><linearGradient xlink:href="#f" id="B" x1="268.1" x2="385.8" y1="332" y2="332"/><linearGradient xlink:href="#f" id="C" x1="226.7" x2="385.8" y1="364.2" y2="364.2"/><linearGradient xlink:href="#f" id="D" x1="226.7" x2="385.8" y1="373.1" y2="373.1"/><linearGradient xlink:href="#f" id="E" x1="226.7" x2="385.8" y1="385" y2="385"/><linearGradient xlink:href="#f" id="F" x1="226.7" x2="318.4" y1="393.8" y2="393.8"/><linearGradient xlink:href="#f" id="G" x1="226.7" x2="385.8" y1="405.7" y2="405.7"/><linearGradient xlink:href="#f" id="H" x1="226.7" x2="385.8" y1="414.5" y2="414.5"/><linearGradient xlink:href="#f" id="I" x1="226.7" x2="385.8" y1="426.4" y2="426.4"/><linearGradient xlink:href="#f" id="J" x1="226.7" x2="318.4" y1="435.3" y2="435.3"/><linearGradient xlink:href="#f" id="K" x1="396.3" x2="396.3" y1="498.1" y2="315.1"/><linearGradient xlink:href="#f" id="L" x1="323.2" x2="470.8" y1="406.1" y2="406.1"/><linearGradient xlink:href="#f" id="M" x1="630" x2="630" y1="435.5" y2="409.4"/><linearGradient xlink:href="#f" id="N" x1="379.3" x2="414.7" y1="356.8" y2="356.8"/><linearGradient xlink:href="#f" id="O" x1="389.6" x2="404.4" y1="345.3" y2="345.3"/><linearGradient xlink:href="#f" id="P" x1="345.3" x2="449.1" y1="397.5" y2="397.5"/><linearGradient xlink:href="#f" id="Q" x1="345.3" x2="449.1" y1="426.6" y2="426.6"/><linearGradient xlink:href="#f" id="R" x1="345.3" x2="449.1" y1="434.3" y2="434.3"/><linearGradient xlink:href="#f" id="S" x1="345.3" x2="389.1" y1="418.9" y2="418.9"/><linearGradient xlink:href="#f" id="T" x1="416.3" x2="449.1" y1="418.9" y2="418.9"/><linearGradient xlink:href="#f" id="U" x1="381.7" x2="414.5" y1="452.4" y2="452.4"/><linearGradient xlink:href="#f" id="V" x1="124.2" x2="366.4" y1="565.5" y2="565.5"/><linearGradient xlink:href="#f" id="c" x1="366.4" x2="608.5" y1="565.5" y2="565.5"/><linearGradient xlink:href="#f" id="X" x1="512.1" x2="608.5" y1="631.4" y2="631.4"/><linearGradient xlink:href="#f" id="Y" x1="517.5" x2="517.5" y1="407" y2="338.4"/><linearGradient xlink:href="#f" id="Z" x1="482.9" x2="552.1" y1="372.9" y2="372.9"/><linearGradient xlink:href="#f" id="aa" x1="750.5" x2="750.5" y1="435.9" y2="416"/><linearGradient xlink:href="#f" id="ab" x1="504" x2="530.9" y1="359.7" y2="359.7"/><linearGradient xlink:href="#f" id="ac" x1="511.9" x2="523.1" y1="351" y2="351"/><linearGradient xlink:href="#f" id="ad" x1="505.6" x2="530.5" y1="380.7" y2="380.7"/><linearGradient xlink:href="#f" id="ae" x1="496.2" x2="538.8" y1="386.9" y2="386.9"/><linearGradient xlink:href="#f" id="af" x1="358.8" x2="358.8" y1="204.7" y2="128.7"/><linearGradient xlink:href="#f" id="ag" x1="313.6" x2="403.8" y1="166.8" y2="166.8"/><linearGradient xlink:href="#f" id="b" x1="313.6" x2="403.8" y1="138.3" y2="138.3"/><linearGradient xlink:href="#f" id="ai" x1="320.8" x2="396.6" y1="157.2" y2="157.2"/><linearGradient xlink:href="#f" id="aj" x1="320.8" x2="376.1" y1="170.7" y2="170.7"/><linearGradient xlink:href="#f" id="ak" x1="320.8" x2="356.7" y1="176.3" y2="176.3"/><linearGradient xlink:href="#f" id="al" x1="320.8" x2="368.2" y1="181.9" y2="181.9"/><linearGradient xlink:href="#f" id="am" x1="320.8" x2="376.1" y1="187.4" y2="187.4"/><linearGradient xlink:href="#f" id="an" x1="320.8" x2="339.3" y1="193" y2="193"/><linearGradient xlink:href="#f" id="ao" x1="505.9" x2="505.9" y1="279.9" y2="185.8"/><linearGradient xlink:href="#f" id="ap" x1="449.9" x2="561.6" y1="233" y2="233"/><linearGradient xlink:href="#f" id="aq" x1="449.9" x2="561.6" y1="197.7" y2="197.7"/><linearGradient xlink:href="#f" id="ar" x1="458.8" x2="552.7" y1="221.1" y2="221.1"/><linearGradient xlink:href="#f" id="as" x1="458.8" x2="527.4" y1="237.9" y2="237.9"/><linearGradient xlink:href="#f" id="at" x1="458.8" x2="503.3" y1="244.8" y2="244.8"/><linearGradient xlink:href="#f" id="au" x1="458.8" x2="517.5" y1="251.7" y2="251.7"/><linearGradient xlink:href="#f" id="av" x1="458.8" x2="527.4" y1="258.6" y2="258.6"/><linearGradient xlink:href="#f" id="aw" x1="458.8" x2="481.7" y1="265.5" y2="265.5"/><linearGradient xlink:href="#f" id="ax" x1="463.7" x2="490.4" y1="220.9" y2="220.9"/><linearGradient xlink:href="#f" id="ay" x1="121.1" x2="365.7" y1="472.9" y2="472.9"/><linearGradient xlink:href="#f" id="az" x1="365.7" x2="610.4" y1="472.9" y2="472.9"/><linearGradient xlink:href="#f" id="aA" x1="0" x2="366.4" y1="448.2" y2="448.2"/><linearGradient xlink:href="#f" id="a" x1="366.4" x2="734" y1="448.2" y2="448.2"/><linearGradient xlink:href="#f" id="aC" x1="279.9" x2="279.9" y1="417.6" y2="253.2"/><linearGradient xlink:href="#f" id="aD" x1="306.8" x2="306.8" y1="455.6" y2="291.2"/><linearGradient xlink:href="#f" id="aE" x1="398.5" x2="398.5" y1="493.9" y2="312.5"/><linearGradient xlink:href="#f" id="aF" x1="632.3" x2="632.3" y1="432.4" y2="406.5"/><linearGradient xlink:href="#f" id="aG" x1="518.7" x2="518.7" y1="403.6" y2="335.6"/><linearGradient xlink:href="#f" id="aH" x1="751.7" x2="751.7" y1="432.8" y2="413.1"/><linearGradient xlink:href="#f" id="aI" x1="450.8" x2="450.8" y1="68" y2="0"/><linearGradient xlink:href="#f" id="aJ" x1="683.8" x2="683.8" y1="97.2" y2="77.5"/><linearGradient xlink:href="#f" id="aK" x1="361.3" x2="361.3" y1="203" y2="127.6"/><linearGradient xlink:href="#f" id="aL" x1="507.2" x2="507.2" y1="277.6" y2="184.2"/></defs><g opacity=".7"><use xlink:href="#g"/><use xlink:href="#g" opacity=".1"/><use xlink:href="#h"/><use xlink:href="#h" opacity=".2"/><path fill="url(#i)" d="m366 308 126-104 242 62-125 100-243-58z"/><use xlink:href="#j"/><use xlink:href="#j" opacity=".1"/><rect width="179.7" height="165.8" x="187" y="255" fill="url(#k)" opacity=".5" rx="4.5" ry="4.5"/><rect width="175.6" height="161.8" x="189" y="257" fill="url(#l)" rx="4.5" ry="4.5"/><rect width="29.6" height="26.6" x="203" y="283" fill="url(#m)" rx="4.5" ry="4.5"/><rect width="117.7" height="3" x="241" y="283" fill="url(#n)" rx=".8" ry=".8"/><rect width="117.7" height="3" x="241" y="292" fill="url(#o)" rx=".8" ry=".8"/><rect width="159.2" height="3" x="200" y="324" fill="url(#p)" rx=".8" ry=".8"/><rect width="159.2" height="3" x="200" y="333" fill="url(#q)" rx=".8" ry=".8"/><rect width="159.2" height="3" x="200" y="345" fill="url(#r)" rx=".8" ry=".8"/><rect width="91.8" height="3" x="200" y="354" fill="url(#s)" rx=".8" ry=".8"/><rect width="159.2" height="3" x="200" y="366" fill="url(#t)" rx=".8" ry=".8"/><rect width="159.2" height="3" x="200" y="375" fill="url(#u)" rx=".8" ry=".8"/><rect width="159.2" height="3" x="200" y="387" fill="url(#v)" rx=".8" ry=".8"/><rect width="91.8" height="3" x="200" y="396" fill="url(#w)" rx=".8" ry=".8"/><rect width="179.7" height="165.8" x="214" y="294" fill="url(#x)" opacity=".5" rx="4.5" ry="4.5"/><rect width="175.6" height="161.8" x="216" y="295" fill="url(#y)" rx="4.5" ry="4.5"/><rect width="29.6" height="26.6" x="230" y="322" fill="url(#z)" rx="4.5" ry="4.5"/><rect width="117.7" height="3" x="268" y="322" fill="url(#A)" rx=".8" ry=".8"/><rect width="117.7" height="3" x="268" y="331" fill="url(#B)" rx=".8" ry=".8"/><rect width="159.2" height="3" x="227" y="363" fill="url(#C)" rx=".8" ry=".8"/><rect width="159.2" height="3" x="227" y="372" fill="url(#D)" rx=".8" ry=".8"/><rect width="159.2" height="3" x="227" y="384" fill="url(#E)" rx=".8" ry=".8"/><rect width="91.8" height="3" x="227" y="392" fill="url(#F)" rx=".8" ry=".8"/><rect width="159.2" height="3" x="227" y="404" fill="url(#G)" rx=".8" ry=".8"/><rect width="159.2" height="3" x="227" y="413" fill="url(#H)" rx=".8" ry=".8"/><rect width="159.2" height="3" x="227" y="425" fill="url(#I)" rx=".8" ry=".8"/><rect width="91.8" height="3" x="227" y="434" fill="url(#J)" rx=".8" ry=".8"/><path fill="url(#K)" d="M318 315h156v183H318z" opacity=".5"/><path fill="url(#L)" d="M323 318h148v176H323z"/><path fill="url(#M)" d="M638 414v-5h-16v5h-11v22h38v-22zm-14-3h12v3h-12z" opacity=".5" transform="translate(-233 -68)"/><path fill="url(#N)" d="M379 347h35v20h-35z"/><path fill="url(#O)" d="M390 343v5h1v-4h12v4h1v-5h-14z"/><path fill="url(#P)" d="M345 395h104v4H345z"/><path fill="url(#Q)" d="M345 424h104v4H345z"/><path fill="url(#R)" d="M345 432h104v4H345z"/><path fill="url(#S)" d="M345 417h44v4h-44z"/><path fill="url(#T)" d="M416 417h33v4h-33z" opacity=".6"/><path fill="url(#U)" d="M382 450h33v4h-33z"/><path fill="url(#V)" d="M124 366v336l242 63V431l-242-65z"/><use xlink:href="#W"/><use xlink:href="#W" opacity=".1"/><path fill="url(#X)" d="M512 590v110l97-27V563l-97 27z" opacity=".1"/><path fill="url(#Y)" d="M482 338h71v69h-71z"/><path fill="url(#Z)" d="M483 340h69v66h-69z"/><path fill="url(#aa)" d="M757 419v-3h-13v3h-8v17h29v-17zm-11-2h9v2h-9z" opacity=".5" transform="translate(-233 -68)"/><path fill="url(#ab)" d="M504 352h27v15h-27z" opacity=".6"/><path fill="url(#ac)" d="M512 349v4h1v-3h9v3h1v-4h-11z" opacity=".6"/><path fill="url(#ad)" d="M506 379h25v3h-25z" opacity=".6"/><path fill="url(#ae)" d="M496 385h43v3h-43z"/><path fill="url(#af)" d="M313 129h93v76h-93z" opacity=".5"/><path fill="url(#ag)" d="M314 130h90v73h-90z"/><use xlink:href="#ah"/><use xlink:href="#ah" opacity=".1"/><path fill="url(#ai)" d="M321 152h76v10h-76z"/><path fill="url(#aj)" d="M321 169h55v3h-55z"/><path fill="url(#ak)" d="M321 175h36v3h-36z"/><path fill="url(#al)" d="M321 180h47v3h-47z"/><path fill="url(#am)" d="M321 186h55v3h-55z"/><path fill="url(#an)" d="M321 191h19v3h-19z"/><path fill="url(#ao)" d="M449 186h115v94H449z" opacity=".5"/><path fill="url(#ap)" d="M450 188h112v91H450z"/><path fill="url(#aq)" d="M450 188h112v20H450z"/><path fill="url(#ar)" d="M459 215h94v12h-94z"/><path fill="url(#as)" d="M459 236h69v4h-69z"/><path fill="url(#at)" d="M459 243h45v4h-45z"/><path fill="url(#au)" d="M459 250h59v4h-59z"/><path fill="url(#av)" d="M459 257h69v4h-69z"/><path fill="url(#aw)" d="M459 264h23v4h-23z"/><path fill="url(#ax)" d="M464 219h27v4h-27z"/><path fill="url(#ay)" d="m121 541 136 34 109-89v-54l-242-61-3 170z" opacity=".1"/><path fill="url(#az)" d="m610 541-135 34-109-89v-54l242-61 2 170z" opacity=".1"/><path fill="url(#aA)" d="M124 366 0 469l242 61 124-99-242-65z"/><use xlink:href="#aB"/><use xlink:href="#aB" opacity=".1"/></g><path fill="#535461" d="m609 363-240-57v452l240-63V363z"/><path d="m609 363-240-57v452l240-63V363z" opacity=".1"/><path fill="#535461" d="m129 363 240-57v452l-240-62V363z"/><path d="m129 361 240-57v454l-240-62V361z" opacity=".2"/><path fill="#535461" d="m367 308 126-106 240 62-126 101-240-57z"/><path fill="#535461" d="m8 267 123 98 240-57-122-104L8 267z"/><path d="m6 265 126 100 240-57-125-106L6 265z" opacity=".1"/><rect width="178.2" height="164.4" x="191" y="253" fill="url(#aC)" opacity=".5" rx="4.5" ry="4.5"/><rect width="174.1" height="160.4" x="193" y="255" fill="#f5f5f5" rx="4.5" ry="4.5"/><rect width="29.4" height="26.4" x="206" y="281" fill="#0560ff" rx="4.5" ry="4.5"/><rect width="116.7" height="2.9" x="245" y="281" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="116.7" height="2.9" x="245" y="290" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="157.8" height="2.9" x="204" y="322" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="157.8" height="2.9" x="204" y="331" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="157.8" height="2.9" x="204" y="342" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="91" height="2.9" x="204" y="351" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="157.8" height="2.9" x="204" y="363" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="157.8" height="2.9" x="204" y="372" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="157.8" height="2.9" x="204" y="383" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="91" height="2.9" x="204" y="392" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="178.2" height="164.4" x="218" y="291" fill="url(#aD)" opacity=".5" rx="4.5" ry="4.5"/><rect width="174.1" height="160.4" x="220" y="293" fill="#fff" rx="4.5" ry="4.5"/><rect width="29.4" height="26.4" x="233" y="319" fill="#0560ff" rx="4.5" ry="4.5"/><rect width="116.7" height="2.9" x="272" y="319" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="116.7" height="2.9" x="272" y="328" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="157.8" height="2.9" x="230" y="360" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="157.8" height="2.9" x="230" y="369" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="157.8" height="2.9" x="230" y="380" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="91" height="2.9" x="230" y="389" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="157.8" height="2.9" x="230" y="401" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="157.8" height="2.9" x="230" y="410" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="157.8" height="2.9" x="230" y="421" fill="#e0e0e0" rx=".8" ry=".8"/><rect width="91" height="2.9" x="230" y="430" fill="#e0e0e0" rx=".8" ry=".8"/><path fill="url(#aE)" d="M321 313h154v181H321z" opacity=".5"/><path fill="#fff" d="M326 315h146v175H326z"/><path fill="url(#aF)" d="M640 411v-4h-16v4h-11v21h38v-21zm-14-3h12v3h-12z" opacity=".5" transform="translate(-233 -68)"/><path fill="#0560ff" d="M382 344h35v20h-35z"/><path fill="#0560ff" d="M392 340v5h2v-4h11v4h2v-5h-15z"/><path fill="#e0e0e0" d="M348 392h103v4H348zm0 29h103v4H348zm0 8h103v4H348zm0-16h43v4h-43z"/><path fill="#3ad29f" d="M418 413h33v4h-33z" opacity=".6"/><path fill="#0560ff" d="M384 446h33v4h-33z"/><path fill="#535461" d="M129 363v333l240 62 3-331-243-64z"/><path fill="#535461" d="m609 695-240 63V427l240-64v332z"/><path d="m609 695-240 63V427l240-64v332z" opacity=".1"/><path d="M513 585v109l96-26V558l-96 27z" opacity=".1"/><path fill="url(#aG)" d="M483 336h71v68h-71z"/><path fill="#f5f5f5" d="M484 337h69v65h-69z"/><path fill="url(#aH)" d="M758 416v-3h-12v3h-9v17h29v-17zm-11-2h9v2h-9z" opacity=".5" transform="translate(-233 -68)"/><path fill="#0560ff" d="M505 349h27v15h-27z" opacity=".6"/><path fill="#0560ff" d="M513 346v4h2v-3h8v3h1v-4h-11zm-6 30h25v3h-25z" opacity=".6"/><path fill="#bdbdbd" d="M498 382h42v3h-42z"/><path fill="url(#aI)" d="M415 0h71v68h-71z"/><path fill="#f5f5f5" d="M417 2h69v65h-69z"/><path fill="url(#aJ)" d="M690 81v-4h-12v4h-9v16h29V81zm-11-2h9v2h-9z" opacity=".5" transform="translate(-233 -68)"/><path fill="#0560ff" d="M438 14h27v15h-27zm7-3v3h2v-2h8v2h1v-3h-11zm-6 29h25v3h-25z" opacity=".6"/><path fill="#bdbdbd" d="M430 46h42v3h-42z"/><path fill="url(#aK)" d="M316 128h92v75h-92z" opacity=".5"/><path fill="#f2f2f2" d="M317 129h89v73h-89z"/><path fill="#0560ff" d="M317 129h89v16h-89z"/><path d="M317 129h89v16h-89z" opacity=".1"/><path fill="#e0e0e0" d="M324 151h75v9h-75zm0 17h55v3h-55zm0 5h36v3h-36zm0 6h47v3h-47zm0 5h55v3h-55zm0 6h18v3h-18z"/><path fill="url(#aL)" d="M450 184h114v93H450z" opacity=".5"/><path fill="#fff" d="M452 186h111v90H452z"/><path fill="#0560ff" d="M452 186h111v20H452z"/><path fill="#f5f5f5" d="M461 213h93v12h-93z"/><path fill="#e0e0e0" d="M461 234h68v4h-68zm0 7h44v4h-44zm0 7h58v4h-58zm0 6h68v4h-68zm0 7h23v4h-23z"/><path fill="#69f0ae" d="M465 217h27v4h-27z"/><path d="m126 536 134 34 108-88v-54l-240-60-2 168zm485 0-135 34-108-88v-54l240-60 3 168z" opacity=".1"/><path fill="#535461" d="M129 363 6 465l240 60 123-98-240-64zm480 0 124 102-238 60-126-98 240-64z"/><path d="m609 363 124 102-238 60-126-98 240-64z" opacity=".1"/></svg>\ No newline at end of filediff --git a/apps/web/src/assets/email.svg b/apps/web/src/assets/email.svgnew file mode 100644index 000000000..4bbc13ae8--- /dev/null+++ b/apps/web/src/assets/email.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 570 511.67"><path fill="#3f3d56" d="M565 195.67a1 1 0 0 1-.57-.17L287.87 2.9a5.02 5.02 0 0 0-5.73 0L7.57 195.5a1 1 0 0 1-1.14-1.64L280.99 1.26a7.02 7.02 0 0 1 8.02 0l276.56 192.6a1 1 0 0 1-.57 1.81Z"/><path fill="#e6e6e6" d="M23.26 202.5 285.28 8.32l264 208-250.5 148.5-136-31L23.26 202.5z"/><path fill="#e5e5e5" d="M174.26 456.54H44.82a6.05 6.05 0 1 1 0-12.1h129.44a6.05 6.05 0 1 1 0 12.1Zm-83-26H44.82a6.05 6.05 0 1 1 0-12.1h46.44a6.05 6.05 0 1 1 0 12.1Z"/><path fill="#fff" d="M288.96 310.66a7.56 7.56 0 0 1-2.87-.56L124.5 243.05V33.17a7 7 0 0 1 7-7h310a7 7 0 0 1 7 7V243.2l-.3.13-156.28 66.73a7.62 7.62 0 0 1-2.96.6Z"/><path fill="#3f3d56" d="M288.96 311.16a8.07 8.07 0 0 1-3.06-.6L124 243.38V33.18a7.5 7.5 0 0 1 7.5-7.5h310a7.5 7.5 0 0 1 7.5 7.5v210.35l-156.89 67a8.11 8.11 0 0 1-3.15.63ZM126 242.05l160.66 66.66a6.12 6.12 0 0 0 4.67-.03L447 242.2V33.17a5.5 5.5 0 0 0-5.5-5.5h-310a5.5 5.5 0 0 0-5.5 5.5Z"/><path fill="#3f3d56" d="M563 193.67h-.2L448 242.7l-157.07 67.07a5.07 5.07 0 0 1-3.88.02L125 242.55 7.38 193.75l-.18-.08H7a7 7 0 0 0-7 7v304a7 7 0 0 0 7 7h556a7 7 0 0 0 7-7v-304a7 7 0 0 0-7-7Zm5 311a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5v-304a5.01 5.01 0 0 1 4.81-5L125 244.71l161.28 66.92a7.12 7.12 0 0 0 5.44-.03L448 244.86l115.2-49.19a5.02 5.02 0 0 1 4.8 5Z"/><path fill="#e5e5e5" d="M287.35 251.15a27.5 27.5 0 0 1-16.55-5.5l-.3-.22-62.3-47.7a27.68 27.68 0 1 1 33.67-43.96l40.36 30.95L377.6 60.33a27.68 27.68 0 0 1 38.82-5.12l-.6.8.61-.79a27.71 27.71 0 0 1 5.13 38.81l-112.2 146.31a27.7 27.7 0 0 1-22.01 10.8Z"/></svg>\ No newline at end of filediff --git a/apps/web/src/common/dialogcontroller.js b/apps/web/src/common/dialogcontroller.jsindex 6b79aaec6..87f741704 100644--- a/apps/web/src/common/dialogcontroller.js+++ b/apps/web/src/common/dialogcontroller.js@@ -598,9 +598,9 @@ export function showImportDialog() {));}-export function showOnboardingDialog() {+export function showOnboardingDialog(type) {return showDialog((Dialogs, perform) => (- <Dialogs.OnboardingDialog onClose={(res) => perform(res)} />+ <Dialogs.OnboardingDialog type={type} onClose={(res) => perform(res)} />));}diff --git a/apps/web/src/components/dialogs/featuredialog.js b/apps/web/src/components/dialogs/featuredialog.jsindex 41af962ad..696e850f8 100644--- a/apps/web/src/components/dialogs/featuredialog.js+++ b/apps/web/src/components/dialogs/featuredialog.js@@ -5,96 +5,12 @@ import * as Icon from "../icons";import { getHomeRoute, hardNavigate } from "../../navigation";const features = {- monographs: {- title: "Introducing Monographs",- subtitle: "A simple & secure way to share your notes.",- help: {- title: "What is a monograph & how it works?",- link: "https://docs.notesnook.com/monographs",- },- cta: { title: "Start publishing", icon: Icon.Rocket },- subFeatures: [- {- title: "Publish unlimited notes for free",- subtitle: "Publish any note you want. Completely free. No limits.",- icon: Icon.Publish,- },- {- title: "Share a note with anyone in the world",- subtitle:- "It just takes 2 taps to publish a note to a public URL and anyone with the link can view it.",- icon: Icon.Share,- },- {- title: "Put a password to make it private",- subtitle:- "Turn on password protection so only people with the password can unlock and view it.",- icon: Icon.Password,- },- {- title: "Self destruct for one time notes",- subtitle:- "Share one-time sensitive notes with self destruct on; the note will be destroyed after the first person views it.",- icon: Icon.Destruct,- },- ],- },- welcome: {- title: "Thank you for signing up!",- subtitle: "Please confirm your email",-- subFeatures: [- {- title: "Unlimited notes & notebooks",- icon: Icon.Note,- },- {- title: "Unlimited file & image attachments",- icon: Icon.Attachment,- },- {- title: "Lock any note with a password",- icon: Icon.Vault,- },- {- title: "Automatic encrypted backups",- icon: Icon.Backup,- },- ],- help: {- title: "What else is included in the free trial?",- link: "https://notesnook.com/pricing",- },- cta: { title: "Start taking notes", icon: Icon.Write },- },confirmed: {title: "Email confirmed!",- subtitle: "",- subFeatures: [- {- title: "Unlimited notes & notebooks",- icon: Icon.Note,- },- {- title: "Unlimited file & image attachments",- icon: Icon.Attachment,- },- {- title: "Lock any note with a password",- icon: Icon.Vault,- },- {- title: "Automatic encrypted backups",- icon: Icon.Backup,- },- ],- help: {- title: "What else is included in the free trial?",- link: "https://notesnook.com/pricing",- },+ subtitle: "You can now sync your notes to unlimited devices.",cta: {- title: "Start taking notes",- icon: Icon.Write,+ title: "Continue",+ icon: Icon.ArrowRight,action: () => hardNavigate(getHomeRoute()),},},@@ -124,7 +40,7 @@ function FeatureDialog(props) {}}><Flex flexDirection="column" overflowY="auto">- {feature.subFeatures.map((feature) => (+ {feature.subFeatures?.map((feature) => (<Flexmy={feature.subtitle ? 2 : 1}bg="bgSecondary"diff --git a/apps/web/src/components/dialogs/onboarding-dialog.js b/apps/web/src/components/dialogs/onboarding-dialog.jsindex 06957c598..4794356a5 100644--- a/apps/web/src/components/dialogs/onboarding-dialog.js+++ b/apps/web/src/components/dialogs/onboarding-dialog.js@@ -1,10 +1,9 @@-import React, { useState } from "react";import { Text, Flex, Button, Image, Box } from "rebass";import Dialog from "./dialog";import * as Icon from "../icons";-import { getHomeRoute, hardNavigate } from "../../navigation";import { ReactComponent as E2E } from "../../assets/e2e.svg";import { ReactComponent as Note } from "../../assets/note2.svg";+import { ReactComponent as Nomad } from "../../assets/nomad.svg";import LightUI from "../../assets/light1.png";import DarkUI from "../../assets/dark1.png";import GooglePlay from "../../assets/play.png";@@ -13,8 +12,13 @@ import { useStore as useThemeStore } from "../../stores/theme-store";import { Checkbox, Label } from "@rebass/forms";import { Features } from "../announcements/body";import { showBuyDialog } from "../../common/dialog-controller";+import { TaskManager } from "../../common/task-manager";+import { db } from "../../common/db";+import { usePersistentState } from "../../utils/hooks";+import accents from "../../theme/accents";+import AccentItem from "../accent-item";-const steps = [+const newUserSteps = [{title: "Safe & encrypted notes",subtitle: "Write with freedom. Never compromise on privacy again.",@@ -45,15 +49,42 @@ const steps = [},];-function OnboardingDialog(props) {- const [step, setStep] = useState(0);+const proUserSteps = [+ {+ title: "Welcome to Notesnook Pro",+ subtitle: "Let's make Notesnook your new private note taking home",+ buttonText: "Next",+ image: <Nomad width={120} />,+ component: AccentSelector,+ },+ {+ title: "High priority support",+ subtitle: "If you face any issue, you can reach out to us anytime.",+ buttonText: "Next",+ component: Support,+ },+ {+ title: "Import your notes",+ subtitle: "You can import your notes from most other note taking apps.",+ component: Importer,+ },+];++const onboarding = {+ new: newUserSteps,+ pro: proUserSteps,+};++function OnboardingDialog({ onClose, type }) {+ const [step, setStep] = usePersistentState(type, 0);const {title,subtitle,image,component: Component,buttonText,- } = steps[step];+ } = onboarding[type][step];+return (<Dialog isOpen={true} width={500}><Flex flexDirection="column" overflowY="auto" alignItems={"center"}>@@ -64,7 +95,7 @@ function OnboardingDialog(props) {<Text variant={"body"} color="fontTertiary" textAlign={"center"}>{subtitle}</Text>- {Component && <Component onClose={props.onClose} />}+ {Component && <Component onClose={onClose} />}{buttonText && (<Buttonsx={{ borderRadius: 50, px: 30, mb: 4 }}@@ -79,6 +110,129 @@ function OnboardingDialog(props) {}export default OnboardingDialog;+const importers = [+ { title: "Evernote" },+ { title: "Simplenote" },+ { title: "HTML" },+ { title: "Markdown" },+ { title: "Text" },+ { title: "Google Keep" },+ { title: "Standard Notes" },+];+function Importer({ onClose }) {+ return (+ <Flex my={4} flexDirection={"column"}>+ <Box+ sx={{ display: "grid", gridTemplateColumns: "1fr 1fr 1fr 1fr", gap: 1 }}+ >+ {importers.map((importer) => (+ <Flex+ sx={{+ display: "flex",+ flexDirection: "row",+ borderRadius: "default",+ border: "1px solid var(--border)",+ alignItems: "center",+ p: 1,+ }}+ >+ <Text variant={"body"} ml={1}>+ {importer.title}+ </Text>+ </Flex>+ ))}+ </Box>+ <Button+ as="a"+ href="https://importer.notesnook.com/"+ target="_blank"+ mt={4}+ variant={"primary"}+ sx={{ borderRadius: 50, alignSelf: "center", width: "40%" }}+ >+ Start importing now+ </Button>+ <Button+ variant={"anchor"}+ color="fontTertiary"+ mt={2}+ onClick={() => onClose()}+ >+ Skip for now+ </Button>+ </Flex>+ );+}++function AccentSelector() {+ return (+ <Flex my={4}>+ <Box+ sx={{+ display: "grid",+ gridTemplateColumns: "1fr 1fr 1fr 1fr 1fr 1fr",+ }}+ >+ {accents.map((color) => (+ <AccentItem key={color.code} code={color.code} label={color.label} />+ ))}+ </Box>+ </Flex>+ );+}++const supportChannels = [+ {+ key: "email",+ url: "mailto:[email protected]",+ title: "Email us",+ icon: Icon.Email,+ },+ {+ key: "discord",+ url: "https://discord.com/invite/zQBK97EE22",+ title: "Join the community",+ icon: Icon.Discord,+ },+ {+ key: "twitter",+ url: "https://twitter.com/notesnook",+ title: "Follow us @notesnook",+ icon: Icon.Twitter,+ },+ {+ key: "github",+ url: "https://github.com/streetwriters/notesnook",+ title: "Create an issue",+ icon: Icon.Github,+ },+];++function Support() {+ return (+ <Box my={4} sx={{ display: "grid", gridTemplateColumns: "1fr 1fr" }}>+ {supportChannels.map((channel) => (+ <Button+ as="a"+ href={channel.url}+ variant={"icon"}+ sx={{+ display: "flex",+ flexDirection: "row",+ borderRadius: "default",+ alignItems: "center",+ }}+ >+ <channel.icon size={16} />+ <Text variant={"body"} ml={1}>+ {channel.title}+ </Text>+ </Button>+ ))}+ </Box>+ );+}+const themes = [{ key: "light", name: "Light", image: LightUI },{ key: "dark", name: "Dark", image: DarkUI },@@ -135,9 +289,19 @@ function ThemeSelector() {}function TrackingConsent() {+ const [enableTelemetry, setEnableTelemetry] = usePersistentState(+ "telemetry",+ true+ );return (<Label variant="text.subBody" my={4} width="80%">- <Checkbox width={14} checked />+ <Checkbox+ width={14}+ checked={enableTelemetry}+ onChange={(e) => {+ setEnableTelemetry(e.target.checked);+ }}+ /><Text>Help improve Notesnook by sending completely anonymized productanalytics.@@ -172,7 +336,7 @@ function TrialOffer({ onClose }) {p={1}sx={{ borderRadius: "default" }}>- <b>Note:</b> Upgrade now and get a flat 50% discount on all plans.+ <b>Note:</b> Upgrade now and get 50% discount on all plans.</Text><Flex mt={2} width="100%" justifyContent={"center"}><Button@@ -187,14 +351,30 @@ function TrialOffer({ onClose }) {<Buttonvariant={"secondary"}sx={{ borderRadius: 50, alignSelf: "center", width: "40%" }}- onClick={() => {+ onClick={async () => {onClose();+ await TaskManager.startTask({+ type: "modal",+ title: "Activating your trial",+ subtitle: "Please wait while we activate your 14 day trial.",+ action: (report) => {+ report({+ text: "This trial is completely free of charge. No credit card or other information is required on your part.",+ });+ return db.user.activateTrial();+ },+ });}}>Try free for 14 days</Button></Flex>- <Button variant={"anchor"} color="fontTertiary" mt={2} onClick={onClose}>+ <Button+ variant={"anchor"}+ color="fontTertiary"+ mt={2}+ onClick={() => onClose()}+ >Skip for now</Button></Flex>diff --git a/apps/web/src/components/dialogs/progress-dialog.js b/apps/web/src/components/dialogs/progress-dialog.jsindex 621a70a28..a6d088593 100644--- a/apps/web/src/components/dialogs/progress-dialog.js+++ b/apps/web/src/components/dialogs/progress-dialog.js@@ -28,7 +28,7 @@ function ProgressDialog(props) {><Flex flexDirection="column"><Text variant="body">{text}</Text>- {current > 0 && (+ {current > 0 ? (<><Text variant="subBody">{current} of {total}@@ -43,6 +43,8 @@ function ProgressDialog(props) {}}/></>+ ) : (+ <Flex my={1} />)}</Flex></Dialog>diff --git a/apps/web/src/navigation/hash-routes.js b/apps/web/src/navigation/hash-routes.jsindex 512d5f399..56b366549 100644--- a/apps/web/src/navigation/hash-routes.js+++ b/apps/web/src/navigation/hash-routes.js@@ -6,6 +6,7 @@ import {showEditTagDialog,showEmailVerificationDialog,showFeatureDialog,+ showOnboardingDialog,} from "../common/dialog-controller";import {showAddNotebookDialog,@@ -116,7 +117,7 @@ const hashroutes = {showBuyDialog(plan, code);},"/welcome": () => {- showFeatureDialog("welcome");+ showOnboardingDialog("new");},"/confirmed": () => {showFeatureDialog("confirmed");diff --git a/apps/web/src/navigation/index.js b/apps/web/src/navigation/index.jsindex 6c0bc9f26..11f39971c 100644--- a/apps/web/src/navigation/index.js+++ b/apps/web/src/navigation/index.js@@ -106,6 +106,6 @@ export function hardNavigate(route) {export function makeURL(route, hash) {const url = new URL(route, window.location.origin);- url.hash = hash || getCurrentHash();+ if (!url.hash) url.hash = hash || getCurrentHash();return url;}diff --git a/apps/web/src/stores/user-store.js b/apps/web/src/stores/user-store.jsindex 37e547e67..6ef5537b9 100644--- a/apps/web/src/stores/user-store.js+++ b/apps/web/src/stores/user-store.js@@ -4,10 +4,14 @@ import { store as appStore } from "./app-store";import BaseStore from "./index";import config from "../utils/config";import { EV, EVENTS } from "notes-core/common";-import { showAccountLoggedOutNotice } from "../common/dialog-controller";+import {+ showAccountLoggedOutNotice,+ showOnboardingDialog,+} from "../common/dialog-controller";import Config from "../utils/config";import { onPageVisibilityChanged } from "../utils/page-visibility";import { hashNavigate } from "../navigation";+import { isUserPremium } from "../hooks/use-is-user-premium";class UserStore extends BaseStore {isLoggedIn = false;@@ -49,7 +53,9 @@ class UserStore extends BaseStore {});EV.subscribe(EVENTS.userSubscriptionUpdated, (subscription) => {+ const wasUserPremium = isUserPremium();this.set((state) => (state.user.subscription = subscription));+ if (!wasUserPremium && isUserPremium()) showOnboardingDialog("pro");});EV.subscribe(EVENTS.userEmailConfirmed, () => {diff --git a/apps/web/src/views/settings.js b/apps/web/src/views/settings.jsindex a323f37e6..f6e4d4e41 100644--- a/apps/web/src/views/settings.js+++ b/apps/web/src/views/settings.js@@ -836,6 +836,7 @@ function AccountStatus(props) {remainingDays <= 0 ? (<Buttonvariant="primary"+ bg={user.isEmailConfirmed ? "primary" : "error"}mt={1}onClick={() => {if (user.isEmailConfirmed) showBuyDialog();@@ -844,7 +845,7 @@ function AccountStatus(props) {>{user.isEmailConfirmed? "Upgrade to Notesnook Pro"- : "Confirm your email to get 7 more days"}+ : "Confirm your email to sync your notes."}</Button>) : provider === "Streetwriters" ? (<>