71 lines
3.5 KiB
PHP
71 lines
3.5 KiB
PHP
<!doctype html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
|
|
<head>
|
|
@yield('title')
|
|
<meta charset="utf-8">
|
|
<meta content="Morblox" property="og:title" />
|
|
<meta content="MORBLOX is a work in progress revival." property="og:description" />
|
|
<meta content="https://thomasluigi07.github.io/MORBLOX-WEBSITE/" property="og:url" />
|
|
<meta content="https://thomasluigi07.github.io/MORBLOX-WEBSITE/MORBLOXlogo.png" property="og:image" />
|
|
<meta content="#4b4b4b" data-react-helmet="true" name="theme-color" />
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
<link rel="apple-touch-icon" href="MORBLOX.png" />
|
|
<link rel="apple-touch-startup-image" href="MORBLOXSplash.png" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
|
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
|
|
<script src="{{ asset('js/main.js') }}"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="navbar">
|
|
<a id="logo_full" href="{{ route('index') }}"><img alt="MORBLOX Logo"
|
|
src="{{ asset('img/MORBLOXlogo.png') }}" width="200" height="40" /></a>
|
|
<a id="logo_small" class="invisible" href="{{ route('index') }}"><img alt="MORBLOX Logo"
|
|
src="{{ asset('img/MORBLOXlogoshort.png') }}" width="45" height="40" /></a>
|
|
<div class="navbarbuttoncontainer">
|
|
<a class="navbarbutton" id="smallbtn5" href="games.html">Games</a>
|
|
<a class="navbarbutton" id="smallbtn4" href="catalog.html">Catalog</a>
|
|
<a class="navbarbutton" id="smallbtn0" href="build.html">Build</a>
|
|
<a class="navbarbutton" id="smallbtn1" href="forum.html">Forum</a>
|
|
<a class="navbarbutton" id="smallbtn2" href="@guest {{ route('login') }} @else {{ route('profile', Auth::id()) }} @endguest">Profile</a>
|
|
<a class="navbarbutton" id="smallbtn3" href="forum.html">Settings</a>
|
|
</div>
|
|
@guest
|
|
<div id="navbarlogincontainer">
|
|
<p><a href="{{ route('register') }}">Sign Up</a> or <a href="{{ route('login') }}">Log In</a>
|
|
</div>
|
|
@else
|
|
<div id="navbarsignedincontainer">
|
|
<p class="nonbolded" id="navbarusername">Logged in as: {{ Auth::user()->name }} <a href="{{ route('logout') }}" onclick="event.preventDefault();
|
|
document.getElementById('logout-form').submit();">Log out...</a></p>
|
|
</div>
|
|
|
|
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display:none">
|
|
@csrf
|
|
</form>
|
|
@endguest
|
|
</div>
|
|
<div class="smallnav">
|
|
<div class="smallnavbarbuttoncontainer">
|
|
<a class="smallnavbarbutton" href="friends.html">Friends</a>
|
|
<a class="smallnavbarbutton" href="avatar.html">Avatar</a>
|
|
<a class="smallnavbarbutton" href="Settings.html">Transactions</a>
|
|
</div>
|
|
</div>
|
|
@yield('alert')
|
|
|
|
<div class="content">
|
|
@yield('content')
|
|
</div>
|
|
<div id="footer">
|
|
<p>MORBLOX is not affiliated with Roblox Corp, Lego, Sony, SEGA, Microsoft, Nintendo and Morbius. It's Morbin time!</p>
|
|
<p><a href="{{ route('privacy') }}">Privacy Policy</a> <a href="{{ route('tos') }}">Terms of Service</a></p>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|