change env to config

This commit is contained in:
2024-04-22 20:32:36 +10:00
parent 3ea9cbda9e
commit d6a84e2496

View File

@@ -18,8 +18,8 @@
@vite('resources/css/app.css') @vite('resources/css/app.css')
</head> </head>
<body class="{{ $bodyClass ?? '' }} flex flex-col antialiased"> <body class="{{ $bodyClass ?? '' }} flex flex-col antialiased">
@if(env('APP_NOTICE')) @if(config('app.notice'))
<x-noticebar>{{ env('APP_NOTICE') }}</x-noticebar> <x-noticebar>{{ config('app.notice') }}</x-noticebar>
@endif @endif
<x-navbar /> <x-navbar />
<div {{ isset($id) ? 'id='.$id : '' }} class="flex-grow">{{ $slot }}</div> <div {{ isset($id) ? 'id='.$id : '' }} class="flex-grow">{{ $slot }}</div>