1
0
Fork 0
pixelfed/resources/views/layouts/app.blade.php

72 lines
3.1 KiB
PHP
Raw Normal View History

2018-04-16 00:00:49 +00:00
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
2018-04-16 01:55:24 +00:00
2018-04-16 00:00:49 +00:00
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
2018-04-17 01:26:53 +00:00
<meta name="mobile-web-app-capable" content="yes">
2018-08-10 04:38:46 +00:00
<title>{{ $title ?? config('app.name', 'Laravel') }}</title>
<link rel="manifest" href="/manifest.json">
2018-08-10 04:38:46 +00:00
<meta property="og:site_name" content="{{ config('app.name', 'pixelfed') }}">
<meta property="og:title" content="{{ $title ?? config('app.name', 'pixelfed') }}">
<meta property="og:type" content="article">
<meta property="og:url" content="{{request()->url()}}">
2018-04-16 01:55:24 +00:00
@stack('meta')
2018-04-17 01:26:53 +00:00
<meta name="medium" content="image">
<meta name="theme-color" content="#10c5f8">
<meta name="apple-mobile-web-app-capable" content="yes">
2018-09-19 01:34:57 +00:00
<link rel="shortcut icon" type="image/png" href="/img/favicon.png?v=2">
<link rel="canonical" href="{{request()->url()}}">
2019-02-26 07:46:33 +00:00
<link href="{{ mix('css/app.css') }}" rel="stylesheet" data-stylesheet="light">
2018-04-16 01:55:24 +00:00
@stack('styles')
2018-11-09 03:58:54 +00:00
2018-04-16 00:00:49 +00:00
</head>
2018-11-20 02:44:27 +00:00
<body class="{{Auth::check()?'loggedIn':''}}">
2018-05-30 02:44:12 +00:00
@include('layouts.partial.nav')
2018-06-02 05:22:20 +00:00
<main id="content">
2018-05-30 02:44:12 +00:00
@yield('content')
</main>
2018-06-02 05:22:20 +00:00
@include('layouts.partial.footer')
<script type="text/javascript" src="{{ mix('js/app.js') }}"></script>
2018-11-09 03:58:54 +00:00
<script type="text/javascript" src="{{ mix('js/components.js') }}"></script>
2018-04-16 01:55:24 +00:00
@stack('scripts')
2018-08-10 04:38:46 +00:00
@if(Auth::check())
2019-03-04 20:37:57 +00:00
<div class="d-block d-sm-none mt-5"></div>
<div class="d-block d-sm-none fixed-bottom">
2019-03-10 07:32:57 +00:00
<div class="card card-body rounded-0 py-2 d-flex align-items-middle">
2019-03-10 07:13:10 +00:00
<ul class="nav nav-pills nav-fill">
<li class="nav-item">
2019-03-10 07:32:57 +00:00
<a class="nav-link {{request()->is('/')?'text-primary':'text-muted'}}" href="/"><i class="fas fa-home fa-lg"></i></a>
2019-03-10 07:13:10 +00:00
</li>
<li class="nav-item">
2019-03-10 07:32:57 +00:00
<a class="nav-link {{request()->is('timeline/public')?'text-primary':'text-muted'}}" href="/timeline/public"><i class="far fa-map fa-lg"></i></a>
2019-03-10 07:13:10 +00:00
</li>
<li class="nav-item">
<a class="nav-link text-primary" data-toggle="modal" data-target="#composeModal"><i class="fas fa-camera-retro fa-2x"></i></a>
</li>
<li class="nav-item">
2019-03-10 07:32:57 +00:00
<a class="nav-link {{request()->is('discover')?'text-primary':'text-muted'}}" href="{{route('discover')}}"><i class="far fa-compass fa-lg"></i></a>
2019-03-10 07:13:10 +00:00
</li>
<li class="nav-item">
2019-03-10 07:32:57 +00:00
<a class="nav-link {{request()->is(Auth::user()->username)?'text-primary':'text-muted'}}" href="{{Auth::user()->url()}}"><i class="far fa-user fa-lg"></i></a>
2019-03-10 07:13:10 +00:00
</li>
</ul>
2019-03-04 20:37:57 +00:00
</div>
2019-03-04 19:43:25 +00:00
</div>
2018-08-10 04:38:46 +00:00
<div class="modal" tabindex="-1" role="dialog" id="composeModal">
<div class="modal-dialog" role="document">
<div class="modal-content">
@include('timeline.partial.new-form')
</div>
</div>
</div>
@endif
2018-04-16 00:00:49 +00:00
</body>
</html>