Show version dynamically on homepage, move under logo
This commit is contained in:
parent
1bb12ccb46
commit
6863db6c7d
2 changed files with 5 additions and 4 deletions
|
|
@ -5,6 +5,7 @@ return [
|
|||
'production' => false,
|
||||
'collections' => [],
|
||||
'config' => json_decode(file_get_contents(__DIR__ . '/tailwind.json'), true),
|
||||
'version' => json_decode(file_get_contents(__DIR__ . '/../package.json'), true)['version'],
|
||||
'colors' => ['red', 'orange', 'yellow', 'green', 'teal', 'blue', 'indigo', 'purple', 'pink'],
|
||||
'active' => function ($page, $path) {
|
||||
$pages = collect(array_wrap($page));
|
||||
|
|
@ -12,5 +13,5 @@ return [
|
|||
return $pages->contains(function ($page) use ($path) {
|
||||
return str_contains($page->getPath(), $path);
|
||||
});
|
||||
}
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue