Update Help Center

This commit is contained in:
Daniel Supernault 2019-03-17 01:01:22 -06:00
parent 854d7b5730
commit e6143b750d
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
3 changed files with 18 additions and 17 deletions

View File

@ -13,6 +13,7 @@ return [
'discover' => 'Discover', 'discover' => 'Discover',
'directMessages' => 'Direct Messages', 'directMessages' => 'Direct Messages',
'timelines' => 'Timelines', 'timelines' => 'Timelines',
'embed' => 'Embed',
'communityGuidelines' => 'Community Guidelines', 'communityGuidelines' => 'Community Guidelines',
'whatIsTheFediverse' => 'What is the fediverse?', 'whatIsTheFediverse' => 'What is the fediverse?',

View File

@ -43,7 +43,7 @@
<p class="py-1 text-center"> <p class="py-1 text-center">
<i class="fas fa-hashtag text-lighter fa-2x"></i> <i class="fas fa-hashtag text-lighter fa-2x"></i>
</p> </p>
<p class="text-center text-muted font-weight-bold h4 mb-0">Hashtags</p> <p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.hashtags')}}</p>
<div class="text-center pt-3"> <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>
<p class="small text-dark font-weight-bold mb-0">&nbsp;</p> <p class="small text-dark font-weight-bold mb-0">&nbsp;</p>

View File

@ -1,66 +1,66 @@
<div class="col-12 col-md-3 py-3" style="border-right:1px solid #ccc;"> <div class="col-12 col-md-3 py-3" style="border-right:1px solid #ccc;">
<ul class="nav flex-column settings-nav"> <ul class="nav flex-column settings-nav">
<li class="nav-item {{request()->is('*/getting-started')?'active':''}}"> <li class="nav-item {{request()->is('*/getting-started')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.getting-started')}}">Getting Started</a> <a class="nav-link font-weight-light text-muted" href="{{route('help.getting-started')}}">{{__('helpcenter.gettingStarted')}}</a>
</li> </li>
<li class="nav-item {{request()->is('*/sharing-media')?'active':''}}"> <li class="nav-item {{request()->is('*/sharing-media')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.sharing-media')}}">Sharing Photos & Videos</a> <a class="nav-link font-weight-light text-muted" href="{{route('help.sharing-media')}}">{{__('helpcenter.sharingMedia')}}</a>
</li> </li>
<li class="nav-item {{request()->is('*/your-profile')?'active':''}}"> <li class="nav-item {{request()->is('*/your-profile')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.your-profile')}}">Your Profile</a> <a class="nav-link font-weight-light text-muted" href="{{route('help.your-profile')}}">{{__('helpcenter.profile')}}</a>
</li> </li>
<li class="nav-item {{request()->is('*/stories')?'active':''}}"> <li class="nav-item {{request()->is('*/stories')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.stories')}}">Stories</a> <a class="nav-link font-weight-light text-muted" href="{{route('help.stories')}}">{{__('helpcenter.stories')}}</a>
</li> </li>
<li class="nav-item {{request()->is('*/hashtags')?'active':''}}"> <li class="nav-item {{request()->is('*/hashtags')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.hashtags')}}">Hashtags</a> <a class="nav-link font-weight-light text-muted" href="{{route('help.hashtags')}}">{{__('helpcenter.hashtags')}}</a>
</li> </li>
<li class="nav-item {{request()->is('*/discover')?'active':''}}"> <li class="nav-item {{request()->is('*/discover')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.discover')}}">Discover</a> <a class="nav-link font-weight-light text-muted" href="{{route('help.discover')}}">{{__('helpcenter.discover')}}</a>
</li> </li>
<li class="nav-item {{request()->is('*/direct-messages')?'active':''}}"> <li class="nav-item {{request()->is('*/direct-messages')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.dm')}}">Direct Messages</a> <a class="nav-link font-weight-light text-muted" href="{{route('help.dm')}}">{{__('helpcenter.directMessages')}}</a>
</li> </li>
<li class="nav-item {{request()->is('*/timelines')?'active':''}}"> <li class="nav-item {{request()->is('*/timelines')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.timelines')}}">Timelines</a> <a class="nav-link font-weight-light text-muted" href="{{route('help.timelines')}}">{{__('helpcenter.timelines')}}</a>
</li> </li>
<li class="nav-item {{request()->is('*/embed')?'active':''}}"> <li class="nav-item {{request()->is('*/embed')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.embed')}}">Embed</a> <a class="nav-link font-weight-light text-muted" href="{{route('help.embed')}}">{{__('helpcenter.embed')}}</a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<hr> <hr>
</li> </li>
<li class="nav-item {{request()->is('*/community-guidelines')?'active':''}}"> <li class="nav-item {{request()->is('*/community-guidelines')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.community-guidelines')}}"> <a class="nav-link font-weight-light text-muted" href="{{route('help.community-guidelines')}}">
Community Guidelines {{__('helpcenter.communityGuidelines')}}
</a> </a>
</li> </li>
<li class="nav-item {{request()->is('*/what-is-the-fediverse')?'active':''}}"> <li class="nav-item {{request()->is('*/what-is-the-fediverse')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.what-is-fediverse')}}">What is the fediverse?</a> <a class="nav-link font-weight-light text-muted" href="{{route('help.what-is-fediverse')}}">{{__('helpcenter.whatIsTheFediverse')}}</a>
</li> </li>
<li class="nav-item {{request()->is('*/controlling-visibility')?'active':''}}"> <li class="nav-item {{request()->is('*/controlling-visibility')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.controlling-visibility')}}"> <a class="nav-link font-weight-light text-muted" href="{{route('help.controlling-visibility')}}">
Controlling Visibility {{__('helpcenter.controllingVisibility')}}
</a> </a>
</li> </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 {{__('helpcenter.blockingAccounts')}}
</a> </a>
</li> </li>
<li class="nav-item {{request()->is('*/safety-tips')?'active':''}}"> <li class="nav-item {{request()->is('*/safety-tips')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.safety-tips')}}"> <a class="nav-link font-weight-light text-muted" href="{{route('help.safety-tips')}}">
Safety Tips {{__('helpcenter.safetyTips')}}
</a> </a>
</li> </li>
<li class="nav-item {{request()->is('*/report-something')?'active':''}}"> <li class="nav-item {{request()->is('*/report-something')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.report-something')}}"> <a class="nav-link font-weight-light text-muted" href="{{route('help.report-something')}}">
Report Something {{__('helpcenter.reportSomething')}}
</a> </a>
</li> </li>
<li class="nav-item {{request()->is('*/data-policy')?'active':''}}"> <li class="nav-item {{request()->is('*/data-policy')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.data-policy')}}"> <a class="nav-link font-weight-light text-muted" href="{{route('help.data-policy')}}">
Data Policy {{__('helpcenter.dataPolicy')}}
</a> </a>
</li> </li>
</ul> </ul>