Files
HeimerdingerLoL/resources/views/layouts/app.blade.php
Rico van Zelst 3e9fbc05ff feat(layouts): update app.blade.php and add new sections
- Updated the meta description tag in `app.blade.php` to fix formatting.
- Added `@stack('top_scripts')` and `@stack('bottom_scripts')` sections in `app.blade.php`.
- Extended the `layouts.app` template in `skins/index.blade.php` and `skins/show.blade.php`.
- Added title and description sections in both files.
- Removed duplicate meta tags from both files.
- Added content section with appropriate components in both files.
- Added a new script file, 'vert-scroll.js', to be loaded at the bottom of the page in `skins/show.blade.php`.
2023-12-08 17:30:23 +01:00

52 lines
2.1 KiB
PHP

<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="/img/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png">
<link rel="manifest" href="/img/icons/site.webmanifest">
<link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#e6855e">
<link rel="shortcut icon" href="/img/icons/favicon.ico">
<meta name="msapplication-TileColor" content="#ff7c47">
<meta name="msapplication-config" content="/img/icons/browserconfig.xml">
<meta name="theme-color" content="#ff7c47">
<title>@yield('title')</title>
<meta name="description" content="@yield('description')">
<!-- OpenGraph -->
<meta property="og:site_name" content="Heimerdinger.LoL">
<meta property="og:title" content="@yield('title')">
<meta property="og:description" content="@yield('description')">
<meta property="og:locale" content="en">
<meta property="og:type" content="website">
<meta property="og:image" content="{{asset('img/og_image.png')}}">
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="heimerdinger.lol">
<meta property="twitter:title" content="@yield('title')">
<meta property="twitter:description" content="@yield('description')">
<meta property="twitter:image" content="{{asset('img/og_image.png')}}">
<link rel="preconnect" href="https://rsms.me/">
<link rel="preload" href="https://rsms.me/inter/inter.css" as="style">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" media="print" onload="this.media='all'">
@vite(['resources/css/app.css', 'resources/js/app.js'])
@stack('top_scripts')
</head>
<body class="antialiased bg-stone-900 dark scroll-smooth">
<x-navbar/>
@yield('content')
<x-footer/>
@stack('bottom_scripts')
</body>
</html>