pixelfed/public/js/help.bundle.4157e6be875557d...

1 line
5.6 KiB
JavaScript

"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[7004],{75966:(t,s,a)=>{a.r(s),a.d(s,{default:()=>i});const i={data:function(){return{posts:[],profile:[]}},mounted:function(){this.init()},methods:{init:function(){var t=this;axios.get("/i/hc/category",{params:{id:1}}).then((function(s){t.profile=s.data})),axios.get("/i/hc/category",{params:{id:2}}).then((function(s){t.posts=s.data}))}}}},65684:(t,s,a)=>{a.r(s),a.d(s,{render:()=>i,staticRenderFns:()=>e});var i=function(){var t=this,s=t._self._c;return s("div",{staticClass:"help-center-component"},[s("div",{staticClass:"jumbotron"},[s("div",{staticClass:"container d-flex justify-content-center"},[s("div",{staticClass:"col-12 col-md-8"},[s("p",[s("router-link",{staticClass:"text-muted",attrs:{to:"/i/web"}},[s("i",{staticClass:"far fa-long-arrow-left"}),t._v(" "),s("span",{staticClass:"ml-2"},[t._v("Back to home")])])],1),t._v(" "),s("p",{staticClass:"h1 font-weight-bold text-narrow"},[t._v("Hi, how can we help you?")])])])]),t._v(" "),s("div",{staticClass:"d-none container mt-3"},[s("div",{staticClass:"row justify-content-center"},[t._m(0),t._v(" "),s("div",{staticClass:"col-md-10 px-md-0"},[s("div",{staticClass:"my-3"},[s("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("How can I get the app?")]),t._v(" "),s("router-link",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3",attrs:{to:"/i/web/kb/124"}},[t._v("How many hashtags can I use?")]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("What formats can I upload?")]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("Can I upload gifs?")]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("Is my location removed?")]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("How many photos can I add per post?")]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("What is Federation?")]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("How do I block someone?")]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("How do I report something?")])],1)])])]),t._v(" "),t._m(1),t._v(" "),s("div",{staticClass:"container mt-3 mb-5"},[s("div",{staticClass:"row justify-content-center"},[t._m(2),t._v(" "),t._m(3),t._v(" "),s("div",{staticClass:"col-md-10"},[s("div",{staticClass:"mt-2 row justify-content-center"},[s("div",{staticClass:"col-md-9"},[s("div",{staticClass:"card shadow-sm mb-4"},[t._m(4),t._v(" "),s("div",{staticClass:"card-body"},[s("div",t._l(t.profile,(function(a,i){return s("p",{staticClass:"font-weight-bold mb-1 text-truncate"},[s("i",{staticClass:"far fa-info-circle mr-2 text-lighter"}),t._v(" "),s("router-link",{staticClass:"text-dark",attrs:{to:"/i/web/kb/"+i}},[t._v(t._s(a.title))])],1)})),0)])]),t._v(" "),s("div",{staticClass:"card shadow-sm"},[t._m(5),t._v(" "),s("div",{staticClass:"card-body"},[s("div",t._l(t.posts,(function(a,i){return s("p",{staticClass:"font-weight-bold mb-1 text-truncate"},[s("i",{staticClass:"far fa-info-circle mr-2 text-lighter"}),t._v(" "),s("router-link",{staticClass:"text-dark",attrs:{to:"/i/web/kb/"+i}},[t._v(t._s(a.title))])],1)})),0)])])])])])])])])},e=[function(){var t=this._self._c;return t("div",{staticClass:"col-md-10"},[t("h3",{staticClass:"text-narrow mb-3"},[this._v("Popular Questions")])])},function(){var t=this._self._c;return t("div",{staticClass:"d-none container mt-3 mb-5"},[t("div",{staticClass:"row justify-content-center"},[t("div",{staticClass:"col-md-10"},[t("hr")])])])},function(){var t=this,s=t._self._c;return s("div",{staticClass:"col-md-10 mb-5 text-center"},[s("p",{staticClass:"lead mb-4"},[t._v("Welcome to the new Help Center!")]),t._v(" "),s("p",[s("span",{staticClass:"alert alert-warning"},[t._v("We are in the process of migrating articles from "),s("a",{attrs:{href:"/site/help"}},[t._v("old help center")]),t._v(".")])])])},function(){var t=this._self._c;return t("div",{staticClass:"col-md-10"},[t("h3",{staticClass:"font-weight-light mb-3 text-center"},[this._v("Categories")])])},function(){var t=this._self._c;return t("div",{staticClass:"card-header"},[t("p",{staticClass:"lead font-weight-bold mb-0"},[this._v("Profile")])])},function(){var t=this._self._c;return t("div",{staticClass:"card-header"},[t("p",{staticClass:"lead font-weight-bold mb-0"},[this._v("Posts")])])}]},44405:(t,s,a)=>{a.r(s),a.d(s,{default:()=>n});var i=a(1519),e=a.n(i)()((function(t){return t[1]}));e.push([t.id,".help-center-component .text-narrow[data-v-21378c28]{font-weight:900!important;letter-spacing:-.034em}.help-center-component .btn-light[data-v-21378c28]{border-radius:15px}",""]);const n=e},34688:(t,s,a)=>{a.r(s),a.d(s,{default:()=>r});var i=a(93379),e=a.n(i),n=a(44405),o={insert:"head",singleton:!1};e()(n.default,o);const r=n.default.locals||{}},94421:(t,s,a)=>{a.r(s),a.d(s,{default:()=>o});var i=a(3559),e=a(46220),n={};for(const t in e)"default"!==t&&(n[t]=()=>e[t]);a.d(s,n);a(48093);const o=(0,a(51900).default)(e.default,i.render,i.staticRenderFns,!1,null,"21378c28",null).exports},46220:(t,s,a)=>{a.r(s),a.d(s,{default:()=>n});var i=a(75966),e={};for(const t in i)"default"!==t&&(e[t]=()=>i[t]);a.d(s,e);const n=i.default},3559:(t,s,a)=>{a.r(s);var i=a(65684),e={};for(const t in i)"default"!==t&&(e[t]=()=>i[t]);a.d(s,e)},48093:(t,s,a)=>{a.r(s);var i=a(34688),e={};for(const t in i)"default"!==t&&(e[t]=()=>i[t]);a.d(s,e)}}]);