pleroma/priv/static/packs/modals/onboarding_modal.js

2 lines
9 KiB
JavaScript
Raw Normal View History

2018-09-20 16:10:13 +00:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{717:function(e,o,a){"use strict";a.r(o),a.d(o,"default",function(){return U});var n,i=a(6),t=a.n(i),d=a(3),s=a.n(d),r=a(7),l=a.n(r),c=a(0),u=a.n(c),g=a(1),m=a.n(g),p=a(12),v=a(4),f=a(136),b=a.n(f),h=a(14),_=a.n(h),w=a(71),y=a(202),N=a(700),M=a(695),x=a(135),k=a(5),S=a(10),A=function(){},C=Object(v.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"}}),I=function(e){var o=e.acct,a=e.domain;return u()("div",{className:"onboarding-modal__page onboarding-modal__page-one"},void 0,u()("div",{className:"onboarding-modal__page-one__lead"},void 0,u()("h1",{},void 0,u()(v.b,{id:"onboarding.page_one.welcome",defaultMessage:"Welcome to Mastodon!"})),u()("p",{},void 0,u()(v.b,{id:"onboarding.page_one.federation",defaultMessage:"Mastodon is a network of independent servers joining up to make one larger social network. We call these servers instances."}))),u()("div",{className:"onboarding-modal__page-one__extra"},void 0,u()("div",{className:"display-case"},void 0,u()("div",{className:"display-case__label"},void 0,u()(v.b,{id:"onboarding.page_one.full_handle",defaultMessage:"Your full handle"})),u()("div",{className:"display-case__case"},void 0,"@",o,"@",a)),u()("p",{},void 0,u()(v.b,{id:"onboarding.page_one.handle_hint",defaultMessage:"This is what you would tell your friends to search for."}))))},T=function(e){var o=e.myAccount;return u()("div",{className:"onboarding-modal__page onboarding-modal__page-two"},void 0,u()("div",{className:"figure non-interactive"},void 0,u()("div",{className:"pseudo-drawer"},void 0,u()(M.a,{account:o}),u()(y.a,{text:"Awoo! #introductions",suggestions:Object(k.List)(),mentionedDomains:[],spoiler:!1,onChange:A,onSubmit:A,onPaste:A,onPickEmoji:A,onChangeSpoilerText:A,onClearSuggestions:A,onFetchSuggestions:A,onSuggestionSelected:A,showSearch:!0}))),u()("p",{},void 0,u()(v.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."})))},D=function(e){var o=e.myAccount;return u()("div",{className:"onboarding-modal__page onboarding-modal__page-three"},void 0,u()("div",{className:"figure non-interactive"},void 0,u()(N.a,{value:"",onChange:A,onSubmit:A,onClear:A,onShow:A}),u()("div",{className:"pseudo-drawer"},void 0,u()(M.a,{account:o}))),u()("p",{},void 0,u()(v.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:u()(w.a,{to:"/timelines/tag/illustration",href:"/tags/illustration"},void 0,"#illustration"),introductions:u()(w.a,{to:"/timelines/tag/introductions",href:"/tags/introductions"},void 0,"#introductions")}})),u()("p",{},void 0,u()(v.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."})))},P=function(e){var o=e.domain,a=e.intl;return u()("div",{className:"onboarding-modal__page onboarding-modal__page-four"},void 0,u()("div",{className:"onboarding-modal__page-four__columns"},void 0,u()("div",{className:"row"},void 0,u()("div",{},void 0,u()("div",{className:"figure non-interactive"},void 0,u()(x.a,{icon:"home",type:a.formatMessage(C.home_title)})),u()("p",{},void 0,u()(v.b,{id:"onboarding.page_four.home",defaultMessage:"The home timeline shows posts from people you follow."}))),u()("div",{},void 0,u()("div",{className:"figure non-interactive"},void 0,u()(x.a,{icon:"bell",type:a.formatMessage(C.notifications_title)})),u()("p",{},void 0,u()(v.b,{id:"onboarding.page_four.notifications",defaultMessage:"The notifications column shows when someone interacts with you."})))),u()("div",{className:"row"},void 0,u()("d
//# sourceMappingURL=onboarding_modal.js.map