Update blade views

This commit is contained in:
Daniel Supernault 2021-08-31 01:12:16 -06:00
parent bc2d664fdb
commit f575fd4d76
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
4 changed files with 24 additions and 24 deletions

View file

@ -60,24 +60,24 @@
@stack('scripts') @stack('scripts')
<div class="mobile-footer-spacer d-block d-sm-none mt-5"></div> <div class="mobile-footer-spacer d-block d-sm-none mt-5"></div>
<div class="mobile-footer d-block d-sm-none fixed-bottom"> <div class="mobile-footer d-block d-sm-none fixed-bottom">
<div class="card card-body rounded-0 py-2 box-shadow" style="border-top:1px solid #F1F5F8"> <div class="card card-body rounded-0 pt-2 pb-4 box-shadow" style="border-top:1px solid #F1F5F8">
<ul class="nav nav-pills nav-fill d-flex align-items-middle"> <ul class="nav nav-pills nav-fill d-flex align-items-middle">
<li class="nav-item"> <li class="nav-item">
<a class="nav-link text-dark" href="/"><i class="fas fa-home fa-lg"></i></a> <a class="nav-link text-dark" href="/"><i class="fal fa-home fa-2x"></i></a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link text-dark" href="/discover"><i class="fas fa-search fa-lg"></i></a> <a class="nav-link text-dark" href="/discover"><i class="fal fa-search fa-2x"></i></a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<div class="nav-link cursor-pointer text-dark" onclick="App.util.compose.post()"> <div class="nav-link cursor-pointer text-dark" onclick="App.util.compose.post()">
<i class="far fa-plus-square fa-2x"></i> <i class="fal fa-plus-circle fa-2x"></i>
</div> </div>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link text-dark" href="/account/activity"><i class="far fa-bell fa-lg"></i></a> <a class="nav-link text-dark" href="/account/activity"><i class="fal fa-bell fa-2x"></i></a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link text-dark" href="/i/me"><i class="far fa-user fa-lg"></i></a> <a class="nav-link text-dark" href="/i/me"><i class="fal fa-user fa-2x"></i></a>
</li> </li>
</ul> </ul>
</div> </div>

View file

@ -2,9 +2,9 @@
@section('content') @section('content')
@if (session('error')) @if (session('error'))
<div class="alert alert-danger text-center font-weight-bold mb-0"> <div class="alert alert-danger text-center font-weight-bold mb-0">
{{ session('error') }} {{ session('error') }}
</div> </div>
@endif @endif
<profile profile-id="{{$profile->id}}" profile-username="{{$profile->username}}" :profile-settings="{{json_encode($settings)}}" profile-layout="{{$profile->profile_layout ?? 'metro'}}"></profile> <profile profile-id="{{$profile->id}}" profile-username="{{$profile->username}}" :profile-settings="{{json_encode($settings)}}" profile-layout="{{$profile->profile_layout ?? 'metro'}}"></profile>
@ -13,23 +13,23 @@
@endif @endif
<noscript> <noscript>
<div class="container"> <div class="container">
<p class="pt-5 text-center lead">Please enable javascript to view this content.</p> <p class="pt-5 text-center lead">Please enable javascript to view this content.</p>
</div> </div>
</noscript> </noscript>
@endsection @endsection
@push('meta')<meta property="og:description" content="{{$profile->bio}}"> @push('meta')<meta property="og:description" content="{{$profile->bio}}">
@if(false == $settings['crawlable'] || $profile->remote_url) @if(false == $settings['crawlable'] || $profile->remote_url)
<meta name="robots" content="noindex, nofollow"> <meta name="robots" content="noindex, nofollow">
@else <meta property="og:image" content="{{$profile->avatarUrl()}}"> @else <meta property="og:image" content="{{$profile->avatarUrl()}}">
<link href="{{$profile->permalink('.atom')}}" rel="alternate" title="{{$profile->username}} on Pixelfed" type="application/atom+xml"> <link href="{{$profile->permalink('.atom')}}" rel="alternate" title="{{$profile->username}} on Pixelfed" type="application/atom+xml">
<link href='{{$profile->permalink()}}' rel='alternate' type='application/activity+json'> <link href='{{$profile->permalink()}}' rel='alternate' type='application/activity+json'>
@endif @endif
@endpush @endpush
@push('scripts')<script type="text/javascript" src="{{ mix('js/profile.js') }}"></script> @push('scripts')<script type="text/javascript" src="{{ mix('js/profile.js') }}"></script>
<script type="text/javascript" defer>App.boot();</script> <script type="text/javascript" defer>App.boot();</script>
@endpush @endpush

View file

@ -1,11 +1,11 @@
@extends('layouts.app') @extends('layouts.blank')
@section('content') @section('content')
<story-viewer pid="{{$pid}}" redirect="{{$profile->url()}}"></story-viewer> <story-viewer pid="{{$pid}}" redirect-url="{{$profile->url()}}"></story-viewer>
@endsection @endsection
@push('scripts') @push('scripts')
<script type="text/javascript" src="{{mix('js/compose.js')}}"></script> <script type="text/javascript" src="{{mix('js/stories.js')}}"></script>
<script type="text/javascript" src="{{mix('js/profile.js')}}"></script> <script type="text/javascript" src="{{mix('js/profile.js')}}"></script>
<script type="text/javascript">App.boot();</script> <script type="text/javascript">App.boot();</script>
@endpush @endpush