ফটো গ্যালারি

ফটো গ্যালারি 1

ফটো গ্যালারি 2

ফটো গ্যালারি 3

ফটো গ্যালারি 4

ফটো গ্যালারি 5

ফটো গ্যালারি 6

ফটো গ্যালারি 7

ফটো গ্যালারি 8
Route::get('/manifest.json', function () {
$settings = class_exists(\App\Models\Setting::class)
? \App\Models\Setting::pluck('value', 'key')
: collect();
$siteName = trim((string) $settings->get('site_name', config('app.name', 'News App')));
$favicon = trim((string) $settings->get('favicon', 'favicon.png'));
$faviconUrl = \Illuminate\Support\Str::startsWith($favicon, ['http://', 'https://', '//'])
? $favicon
: asset(ltrim($favicon, '/'));
return response()->json([
'name' => $siteName,
'short_name' => \Illuminate\Support\Str::limit($siteName, 15, ''),
'description' => $siteName.' মোবাইল অ্যাপ',
'start_url' => '/',
'scope' => '/',
'display' => 'standalone',
'orientation' => 'portrait',
'background_color' => '#ffffff',
'theme_color' => '#c40016',
'icons' => [
[
'src' => $faviconUrl,
'sizes' => '192x192',
'type' => 'image/png',
],
[
'src' => $faviconUrl,
'sizes' => '512x512',
'type' => 'image/png',
],
],
], 200, [
'Content-Type' => 'application/json; charset=UTF-8',
'Content-Disposition' => 'inline',
'Cache-Control' => 'no-cache',
], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
})->name('pwa.manifest');