added og_image and touch_icon into admin appearance panel

This commit is contained in:
Peter Papp
2021-03-27 11:33:42 +01:00
parent bb3f4d4bda
commit 4d5cd3d80f
8 changed files with 75 additions and 7 deletions

View File

@@ -793,6 +793,14 @@ class SetupDevEnvironment extends Command
'name' => 'app_favicon',
'value' => 'system/favicon.png',
],
[
'name' => 'app_og_image',
'value' => 'system/og-image.jpg',
],
[
'name' => 'app_touch_icon',
'value' => 'system/touch-icon.png',
],
[
'name' => 'google_analytics',
'value' => '',
@@ -869,7 +877,7 @@ class SetupDevEnvironment extends Command
});
// Get system images
collect(['logo.svg', 'logo-horizontal.svg', 'favicon.png'])
collect(['logo.svg', 'logo-horizontal.svg', 'favicon.png', 'og-image.jpg', 'touch-icon.png'])
->each(function ($file) {
\File::copy(storage_path("demo/app/$file"), storage_path("app/system/$file"));
});