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',
'directMessages' => 'Direct Messages',
'timelines' => 'Timelines',
'embed' => 'Embed',
'communityGuidelines' => 'Community Guidelines',
'whatIsTheFediverse' => 'What is the fediverse?',

View file

@ -43,7 +43,7 @@
<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>
<p class="text-center text-muted font-weight-bold h4 mb-0">{{__('helpcenter.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>

View file

@ -1,66 +1,66 @@
<div class="col-12 col-md-3 py-3" style="border-right:1px solid #ccc;">
<ul class="nav flex-column settings-nav">
<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 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 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 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 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 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 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 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 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 class="nav-item">
<hr>
</li>
<li class="nav-item {{request()->is('*/community-guidelines')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.community-guidelines')}}">
Community Guidelines
{{__('helpcenter.communityGuidelines')}}
</a>
</li>
<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 class="nav-item {{request()->is('*/controlling-visibility')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.controlling-visibility')}}">
Controlling Visibility
{{__('helpcenter.controllingVisibility')}}
</a>
</li>
<li class="nav-item {{request()->is('*/blocking-accounts')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.blocking-accounts')}}">
Blocking Accounts
{{__('helpcenter.blockingAccounts')}}
</a>
</li>
<li class="nav-item {{request()->is('*/safety-tips')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.safety-tips')}}">
Safety Tips
{{__('helpcenter.safetyTips')}}
</a>
</li>
<li class="nav-item {{request()->is('*/report-something')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.report-something')}}">
Report Something
{{__('helpcenter.reportSomething')}}
</a>
</li>
<li class="nav-item {{request()->is('*/data-policy')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('help.data-policy')}}">
Data Policy
{{__('helpcenter.dataPolicy')}}
</a>
</li>
</ul>