Add head component for html page head tag
This commit is contained in:
parent
612b782c9b
commit
e664255d7c
|
@ -0,0 +1,12 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
|
||||
|
||||
<title>{{ session()->get('title') }} | {{ config('app.name') }}</title>
|
||||
<meta name="socketport" content="{{env('SOCKET_PORT')}}" />
|
||||
<meta name="adrema_base_url" content="/">
|
||||
@if(auth()->id())
|
||||
<meta name="meilisearch_key" content="{{config('scout.meilisearch.key')}}" />
|
||||
@endif
|
||||
@vite('resources/livewire-js/app.js')
|
||||
</head>
|
|
@ -1,17 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="h-full" lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
|
||||
|
||||
<title>{{ session()->get('title') }} | {{ config('app.name') }}</title>
|
||||
<meta name="socketport" content="{{env('SOCKET_PORT')}}" />
|
||||
<meta name="adrema_base_url" content="/">
|
||||
@if(auth()->id())
|
||||
<meta name="meilisearch_key" content="{{config('scout.meilisearch.key')}}" />
|
||||
@endif
|
||||
@vite('resources/livewire-js/app.js')
|
||||
</head>
|
||||
<x-head></x-head>
|
||||
<body class="min-h-full flex flex-col">
|
||||
<livewire:page.sidebar />
|
||||
{{ $slot }}
|
||||
|
|
Loading…
Reference in New Issue