Skip to content

Commit

Permalink
thusfar
Browse files Browse the repository at this point in the history
  • Loading branch information
bobmagicii committed Oct 4, 2024
1 parent 6b32489 commit 73a9852
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/www/themes/default/design.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// not the entire scope that the application may have built, unlike the
// design.phtml file which can access all the things scoped in.

$Surface->Queue('Atlantis.Config', function(Nether\Atlantis\Engine $App) {
$Surface->QueueOnce('Atlantis.Config', function(Nether\Atlantis\Engine $App) {

$PageThemeMode = match(TRUE) {
(isset($_COOKIE['theme']))
Expand All @@ -19,6 +19,8 @@
=> 'dark'
};

$PageMainCSS = ($App->IsDev() ? 'css/styles.php' : 'css/styles.css');

($App->Surface)
->AddScriptURL('https://www.google.com/recaptcha/api.js')
->AddScriptURL('/themes/default/lib/js/swiper-bundle.min.js')
Expand All @@ -29,7 +31,7 @@
'Page.Theme.Mode' => $PageThemeMode,
'Page.Theme.FavIconURL' => '/themes/default/gfx/favicon.ico',

'Theme.Page.MainCSS' => ($App->IsDev() ? 'css/styles.php' : 'css/styles.css'),
'Theme.Page.MainCSS' => $PageMainCSS,
'Theme.Header.Contain' => FALSE,
'Theme.Header.Logo.ImageURL' => '/themes/default/gfx/atlantis-word.png',
'Theme.SiteMenu.Icons' => TRUE,
Expand Down

0 comments on commit 73a9852

Please sign in to comment.