Update Help Center

This commit is contained in:
Daniel Supernault 2019-03-17 00:50:26 -06:00
parent 8131cc8712
commit 3a289ec80e
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
5 changed files with 256 additions and 101 deletions

View file

@ -0,0 +1,25 @@
<?php
return [
'helpcenter' => 'Help Center',
'whatsnew' => 'What\'s New',
'gettingStarted' => 'Getting Started',
'sharingMedia' => 'Sharing Media',
'profile' => 'Profile',
'stories' => 'Stories',
'hashtags' => 'Hashtags',
'discover' => 'Discover',
'directMessages' => 'Direct Messages',
'timelines' => 'Timelines',
'communityGuidelines' => 'Community Guidelines',
'whatIsTheFediverse' => 'What is the fediverse?',
'controllingVisibility' => 'Controlling Visibility',
'blockingAccounts' => 'Blocking Accounts',
'safetyTips' => 'Safety Tips',
'reportSomething' => 'Report Something',
'dataPolicy' => 'Data Policy'
];

View file

@ -3,94 +3,256 @@
@section('section') @section('section')
<div class="title"> <div class="title">
<h3 class="font-weight-bold">Help</h3> <h3 class="font-weight-bold">{{__('helpcenter.helpcenter')}}</h3>
</div> </div>
<hr> <hr>
<div class="row"> <div class="row pb-5">
<div class="col-12 col-md-6 mb-3"> <div class="col-12">
<div class="bg-light p-4"> <p class="font-weight-bold">{{__('helpcenter.whatsnew')}}</p>
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.getting-started')}}">Getting Started</a> <ul class="small">
</div> <li>
</div> <a href="#">Stories</a>
<div class="col-12 col-md-6 mb-3"> </li>
<div class="bg-light p-4"> <li>
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.hashtags')}}">Hashtags</a> <a href="#">Mobile Web UI updates</a>
</div> </li>
</div> </ul>
<div class="col-12 col-md-6 mb-3">
<div class="bg-light p-4">
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.sharing-media')}}">Sharing Photos & Videos</a>
</div>
</div>
<div class="col-12 col-md-6 mb-3">
<div class="bg-light p-4">
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.discover')}}">Discover</a>
</div>
</div>
<div class="col-12 col-md-6 mb-3">
<div class="bg-light p-4">
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.your-profile')}}">Your Profile</a>
</div>
</div>
<div class="col-12 col-md-6 mb-3">
<div class="bg-light p-4">
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.dm')}}">Direct Messaging</a>
</div>
</div>
<div class="col-12 col-md-6">
<div class="bg-light p-4">
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.stories')}}">Stories</a>
</div>
</div>
<div class="col-12 col-md-6">
<div class="bg-light p-4">
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.timelines')}}">Timelines</a>
</div>
</div> </div>
</div> </div>
<hr>
<div class="row"> <div class="row">
<div class="col-12 col-md-6 mb-3">
<a href="{{route('help.getting-started')}}" class="text-decoration-none">
<div class="card">
<div class="card-body">
<p class="py-1 text-center">
<i class="far fa-life-ring text-lighter fa-2x"></i>
</p>
<p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.gettingStarted')}}</p>
<div class="text-center pt-3">
<p class="small text-dark font-weight-bold mb-0">How can I create an account?</p>
<p class="small text-dark font-weight-bold mb-0">How can I change my bio?</p>
</div>
</div>
</div>
</a>
</div>
<div class="col-12 col-md-6 mb-3">
<a href="{{route('help.hashtags')}}" class="text-decoration-none">
<div class="card">
<div class="card-body">
<p class="py-1 text-center">
<i class="fas fa-hashtag text-lighter fa-2x"></i>
</p>
<p class="text-center text-muted font-weight-bold h4 mb-0">Hashtags</p>
<div class="text-center pt-3">
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
</div>
</div>
</div>
</a>
</div>
<div class="col-12 col-md-6 mb-3">
<a href="{{route('help.sharing-media')}}" class="text-decoration-none">
<div class="card">
<div class="card-body">
<p class="py-1 text-center">
<i class="far fa-plus-square text-lighter fa-2x"></i>
</p>
<p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.sharingMedia')}}</p>
<div class="text-center pt-3">
<p class="small text-dark font-weight-bold mb-0">How do I create a post?</p>
<p class="small text-dark font-weight-bold mb-0">How do I add a filter?</p>
</div>
</div>
</div>
</a>
</div>
<div class="col-12 col-md-6 mb-3">
<a href="{{route('help.discover')}}" class="text-decoration-none">
<div class="card">
<div class="card-body">
<p class="py-1 text-center">
<i class="far fa-compass text-lighter fa-2x"></i>
</p>
<p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.discover')}}</p>
<div class="text-center pt-3">
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
</div>
</div>
</div>
</a>
</div>
<div class="col-12 col-md-6 mb-3">
<a href="{{route('help.your-profile')}}" class="text-decoration-none">
<div class="card">
<div class="card-body">
<p class="py-1 text-center">
<i class="far fa-user text-lighter fa-2x"></i>
</p>
<p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.profile')}}</p>
<div class="text-center pt-3">
<p class="small text-dark font-weight-bold mb-0">How can I make my account private?</p>
<p class="small text-dark font-weight-bold mb-0">How can I secure my account?</p>
</div>
</div>
</div>
</a>
</div>
<div class="col-12 col-md-6 mb-3">
<a href="{{route('help.dm')}}" class="text-decoration-none">
<div class="card">
<div class="card-body">
<p class="py-1 text-center">
<i class="far fa-envelope text-lighter fa-2x"></i>
</p>
<p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.directMessages')}}</p>
<div class="text-center pt-3">
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
</div>
</div>
</div>
</a>
</div>
<div class="col-12 col-md-6 mb-3">
<a href="{{route('help.stories')}}" class="text-decoration-none">
<div class="card">
<div class="card-body">
<p class="py-1 text-center">
<i class="fas fa-pause-circle text-lighter fa-2x"></i>
</p>
<p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.stories')}}</p>
<div class="text-center pt-3">
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
</div>
</div>
</div>
</a>
</div>
<div class="col-12 col-md-6 mb-3">
<a href="{{route('help.timelines')}}" class="text-decoration-none">
<div class="card">
<div class="card-body">
<p class="py-1 text-center">
<i class="fas fa-home text-lighter fa-2x"></i>
</p>
<p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.timelines')}}</p>
<div class="text-center pt-3">
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
</div>
</div>
</div>
</a>
</div>
<div class="col-12 col-md-6 mb-3"> <div class="col-12 col-md-6 mb-3">
<div class="bg-light p-4"> <a href="{{route('help.community-guidelines')}}" class="text-decoration-none">
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.community-guidelines')}}">Community Guidelines</a> <div class="card">
</div> <div class="card-body">
<p class="py-1 text-center">
<i class="fas fa-user-shield text-lighter fa-2x"></i>
</p>
<p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.communityGuidelines')}}</p>
<div class="text-center pt-3">
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
</div>
</div>
</div>
</a>
</div> </div>
<div class="col-12 col-md-6 mb-3"> <div class="col-12 col-md-6 mb-3">
<div class="bg-light p-4"> <a href="{{route('help.blocking-accounts')}}" class="text-decoration-none">
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.blocking-accounts')}}">Blocking accounts</a> <div class="card">
</div> <div class="card-body">
<p class="py-1 text-center">
<i class="fas fa-ban text-lighter fa-2x"></i>
</p>
<p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.blockingAccounts')}}</p>
<div class="text-center pt-3">
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
</div>
</div>
</div>
</a>
</div> </div>
<div class="col-12 col-md-6 mb-3"> <div class="col-12 col-md-6 mb-3">
<div class="bg-light p-4"> <a href="{{route('help.what-is-fediverse')}}" class="text-decoration-none">
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.what-is-fediverse')}}">What is the fediverse?</a> <div class="card">
</div> <div class="card-body">
<p class="py-1 text-center">
<i class="fas fa-network-wired text-lighter fa-2x"></i>
</p>
<p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.whatIsTheFediverse')}}</p>
<div class="text-center pt-3">
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
</div>
</div>
</div>
</a>
</div> </div>
<div class="col-12 col-md-6 mb-3"> <div class="col-12 col-md-6 mb-3">
<div class="bg-light p-4"> <a href="{{route('help.safety-tips')}}" class="text-decoration-none">
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.safety-tips')}}">Safety Tips</a> <div class="card">
</div> <div class="card-body">
<p class="py-1 text-center">
<i class="fas fa-shield-alt text-lighter fa-2x"></i>
</p>
<p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.safetyTips')}}</p>
<div class="text-center pt-3">
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
</div>
</div>
</div>
</a>
</div> </div>
<div class="col-12 col-md-6 mb-3"> <div class="col-12 col-md-6 mb-3">
<div class="bg-light p-4"> <a href="{{route('help.controlling-visibility')}}" class="text-decoration-none">
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.controlling-visibility')}}">Controlling your visibility</a> <div class="card">
</div> <div class="card-body">
<p class="py-1 text-center">
<i class="far fa-eye-slash text-lighter fa-2x"></i>
</p>
<p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.controllingVisibility')}}</p>
<div class="text-center pt-3">
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
</div>
</div>
</div>
</a>
</div> </div>
<div class="col-12 col-md-6 mb-3"> <div class="col-12 col-md-6 mb-3">
<div class="bg-light p-4"> <a href="{{route('help.report-something')}}" class="text-decoration-none">
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.report-something')}}">Report Something</a> <div class="card">
</div> <div class="card-body">
<p class="py-1 text-center">
<i class="far fa-flag text-lighter fa-2x"></i>
</p>
<p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.reportSomething')}}</p>
<div class="text-center pt-3">
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p>
</div>
</div>
</div>
</a>
</div> </div>
<div class="col-12 col-md-6 mb-3"> <div class="col-12 col-md-6 mb-3">
<div class="bg-light p-4"> <a href="{{route('help.data-policy')}}" class="text-decoration-none">
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.abusive-activity')}}">Abuse/malicious activity</a> <div class="card">
</div> <div class="card-body">
</div> <p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.dataPolicy')}}</p>
<div class="col-12 col-md-6 mb-3"> </div>
<div class="bg-light p-4"> </div>
<a class="text-muted mb-0 h5 font-weight-bold" href="{{route('help.data-policy')}}">Data Policy</a> </a>
</div>
</div> </div>
</div> </div>
{{-- <div class="card mb-3"> {{-- <div class="card mb-3">

View file

@ -1,26 +0,0 @@
@extends('site.help.partial.template', ['breadcrumb'=>'Abusive/Malicious Activity'])
@section('section')
<div class="title">
<h3 class="font-weight-bold">Abusive/Malicious Activity</h3>
</div>
<hr>
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-12 col-md-3 text-center">
<div class="icon-wrapper">
<i class="far fa-question-circle fa-3x text-light"></i>
</div>
</div>
<div class="col-12 col-md-9 d-flex align-items-center">
<div class="text-center">
<p class="h3 font-weight-bold mb-0">This page isn't available</p>
<p class="font-weight-light mb-0">We haven't finished it yet, it will be updated soon!</p>
</div>
</div>
</div>
</div>
</div>
@endsection

View file

@ -43,11 +43,6 @@
Controlling Visibility Controlling Visibility
</a> </a>
</li> </li>
<li class="nav-item {{request()->is('*/abusive-activity')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.abusive-activity')}}">
Abusive Activity
</a>
</li>
<li class="nav-item {{request()->is('*/blocking-accounts')?'active':''}}"> <li class="nav-item {{request()->is('*/blocking-accounts')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.blocking-accounts')}}"> <a class="nav-link font-weight-light text-muted" href="{{route('help.blocking-accounts')}}">
Blocking Accounts Blocking Accounts

View file

@ -252,7 +252,6 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::get('community-guidelines', 'SiteController@communityGuidelines')->name('help.community-guidelines'); Route::get('community-guidelines', 'SiteController@communityGuidelines')->name('help.community-guidelines');
Route::view('controlling-visibility', 'site.help.controlling-visibility')->name('help.controlling-visibility'); Route::view('controlling-visibility', 'site.help.controlling-visibility')->name('help.controlling-visibility');
Route::view('abusive-activity', 'site.help.abusive-activity')->name('help.abusive-activity');
Route::view('blocking-accounts', 'site.help.blocking-accounts')->name('help.blocking-accounts'); Route::view('blocking-accounts', 'site.help.blocking-accounts')->name('help.blocking-accounts');
Route::view('report-something', 'site.help.report-something')->name('help.report-something'); Route::view('report-something', 'site.help.report-something')->name('help.report-something');
Route::view('data-policy', 'site.help.data-policy')->name('help.data-policy'); Route::view('data-policy', 'site.help.data-policy')->name('help.data-policy');