pleroma/priv/static/packs/flavours/glitch/async/onboarding_modal.js

2 lines
9.8 KiB
JavaScript
Raw Normal View History

2019-06-26 12:06:28 -07:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[70],{668:function(e,a,o){"use strict";o.r(a),o.d(a,"default",function(){return I});var t,i=o(2),d=o(6),s=o(1),c=o(0),n=o(3),r=o.n(n),l=o(21),b=o(7),u=o(201),g=o.n(u),m=o(12),p=o.n(m),v=o(317),f=o(644),j=o(964),O=o(965),h=o(601),_=o(29),w=function(){},y=Object(b.f)({home_title:{id:"column.home",defaultMessage:"Home"},notifications_title:{id:"column.notifications",defaultMessage:"Notifications"},local_title:{id:"column.community",defaultMessage:"Local timeline"},federated_title:{id:"column.public",defaultMessage:"Federated timeline"}}),M=function(e){var a=e.acct,o=e.domain;return Object(c.a)("div",{className:"onboarding-modal__page onboarding-modal__page-one"},void 0,Object(c.a)("div",{style:{flex:"0 0 auto"}},void 0,Object(c.a)("div",{className:"onboarding-modal__page-one__elephant-friend"})),Object(c.a)("div",{},void 0,Object(c.a)("h1",{},void 0,Object(c.a)(b.b,{id:"onboarding.page_one.welcome",defaultMessage:"Welcome to {domain}!",values:{domain:o}})),Object(c.a)("p",{},void 0,Object(c.a)(b.b,{id:"onboarding.page_one.federation",defaultMessage:'{domain} is an "instance" of Mastodon. Mastodon is a network of independent servers joining up to make one larger social network. We call these servers instances.',values:{domain:o}})),Object(c.a)("p",{},void 0,Object(c.a)(b.b,{id:"onboarding.page_one.handle",defaultMessage:"You are on {domain}, so your full handle is {handle}",values:{domain:o,handle:Object(c.a)("strong",{},void 0,"@",a,"@",o)}}))))},k=function(e){e.intl;var a=e.myAccount;return Object(c.a)("div",{className:"onboarding-modal__page onboarding-modal__page-two"},void 0,Object(c.a)("div",{className:"figure non-interactive"},void 0,Object(c.a)("div",{className:"pseudo-drawer"},void 0,Object(c.a)(j.a,{account:a}),Object(c.a)(f.a,{privacy:"public",text:"Awoo! #introductions",spoilerText:"",suggestions:[]}))),Object(c.a)("p",{},void 0,Object(c.a)(b.b,{id:"onboarding.page_two.compose",defaultMessage:"Write posts from the compose column. You can upload images, change privacy settings, and add content warnings with the icons below."})))},x=function(e){e.intl;var a=e.myAccount;return Object(c.a)("div",{className:"onboarding-modal__page onboarding-modal__page-three"},void 0,Object(c.a)("div",{className:"figure non-interactive"},void 0,Object(c.a)(O.a,{value:"",onChange:w,onSubmit:w,onClear:w,onShow:w}),Object(c.a)("div",{className:"pseudo-drawer"},void 0,Object(c.a)(j.a,{account:a}))),Object(c.a)("p",{},void 0,Object(c.a)(b.b,{id:"onboarding.page_three.search",defaultMessage:"Use the search bar to find people and look at hashtags, such as {illustration} and {introductions}. To look for a person who is not on this instance, use their full handle.",values:{illustration:Object(c.a)(v.a,{to:"/timelines/tag/illustration",href:"/tags/illustration"},void 0,"#illustration"),introductions:Object(c.a)(v.a,{to:"/timelines/tag/introductions",href:"/tags/introductions"},void 0,"#introductions")}})),Object(c.a)("p",{},void 0,Object(c.a)(b.b,{id:"onboarding.page_three.profile",defaultMessage:"Edit your profile to change your avatar, bio, and display name. There, you will also find other preferences."})))},N=function(e){var a=e.domain,o=e.intl;return Object(c.a)("div",{className:"onboarding-modal__page onboarding-modal__page-four"},void 0,Object(c.a)("div",{className:"onboarding-modal__page-four__columns"},void 0,Object(c.a)("div",{className:"row"},void 0,Object(c.a)("div",{},void 0,Object(c.a)("div",{className:"figure non-interactive"},void 0,Object(c.a)(h.a,{icon:"home",type:o.formatMessage(y.home_title)})),Object(c.a)("p",{},void 0,Object(c.a)(b.b,{id:"onboarding.page_four.home",defaultMessage:"The home timeline shows posts from people you follow."}))),Object(c.a)("div",{},void 0,Object(c.a)("div",{className:"figure non-interactive"},void 0,Object(c.a)(h.a,{icon:"bell",type:o.formatMessage(y.notifications_title)})),Object(c.a)("p",{},void 0,Object(c.a)(b.b,{id:"onboarding.page_four.notifications",defaultMessage:"The notifications column shows when someone interacts with you."})))),Obj
2018-09-16 14:17:34 -07:00
//# sourceMappingURL=onboarding_modal.js.map