Skip to content

Commit

Permalink
Update default values.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivopetkov committed May 4, 2023
1 parent 54dc42a commit 12eaea5
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 15 deletions.
Binary file removed assets/1.jpg
Binary file not shown.
Binary file added assets/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 1 addition & 11 deletions bearcms.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,7 @@
},
"media": [
{
"filename": "/assets/1.jpg",
"width": 1416,
"height": 1062
},
{
"filename": "/assets/2.jpg",
"width": 1416,
"height": 1062
},
{
"filename": "/assets/3.jpg",
"filename": "/assets/4.jpg",
"width": 1416,
"height": 1062
}
Expand Down
7 changes: 4 additions & 3 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@

$context->assets
->addDir('assets')
->addDir('values/files');
->addDir('values/files') // for previous version files
->addDir('values/files2');

$theme->version = '1.26';
$theme->version = '1.27';

$theme->get = function (\BearCMS\Themes\Theme\Customizations $customizations, array $cntx) use ($app, $context) {
$language = isset($cntx['language']) ? $cntx['language'] : null;
Expand Down Expand Up @@ -58,7 +59,7 @@
];
$manifest->media = [
[
'filename' => $context->dir . '/assets/1.jpg',
'filename' => $context->dir . '/assets/4.jpg',
'width' => 1416,
'height' => 1062,
]
Expand Down
1 change: 1 addition & 0 deletions values/files2/1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions values/files2/2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions values/files2/3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions values/files2/4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions values/files2/5.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions values/files2/6.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions values/files2/7.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion values/values.json

Large diffs are not rendered by default.

0 comments on commit 12eaea5

Please sign in to comment.