chore: commit current workspace changes
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
$hero_description = "We're always grateful for volunteers who want to help.";
|
||||
$center_content = true;
|
||||
$center_max = '3xl';
|
||||
$errors = $errors ?? new \Illuminate\Support\ViewErrorBag();
|
||||
@endphp
|
||||
|
||||
@section('page-content')
|
||||
|
||||
@@ -15,6 +15,12 @@
|
||||
$seo = \App\Support\Seo\SeoDataBuilder::fromArray(
|
||||
app(\App\Support\Seo\SeoFactory::class)->fromViewData(get_defined_vars())
|
||||
)->build();
|
||||
$communityActivityManifestPath = public_path('build/manifest.json');
|
||||
$communityActivityManifest = is_file($communityActivityManifestPath)
|
||||
? json_decode((string) file_get_contents($communityActivityManifestPath), true)
|
||||
: null;
|
||||
$communityActivityViteReady = is_array($communityActivityManifest)
|
||||
&& array_key_exists('resources/js/Pages/Community/CommunityActivityPage.jsx', $communityActivityManifest);
|
||||
|
||||
$initialFilterLabel = match (($initialFilter ?? 'all')) {
|
||||
'comments' => 'Comments',
|
||||
@@ -243,6 +249,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@vite(['resources/js/Pages/Community/CommunityActivityPage.jsx'])
|
||||
@if ($communityActivityViteReady)
|
||||
@vite(['resources/js/Pages/Community/CommunityActivityPage.jsx'])
|
||||
@endif
|
||||
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user