summaryrefslogtreecommitdiff
path: root/public/app
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-06-12 01:37:53 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-06-12 01:37:53 +0300
commit07494fb1f4a6c5bbbb5aee8c9347517effd4556c (patch)
treee4653a43f5e054f3f36d8c8afac9c07dccb01f45 /public/app
parent5375e22de976b74f5f04d800014c30d9c66f0fe5 (diff)
downloadgyraf1gov-07494fb1f4a6c5bbbb5aee8c9347517effd4556c.tar.gz
gyraf1gov-07494fb1f4a6c5bbbb5aee8c9347517effd4556c.tar.bz2
gyraf1gov-07494fb1f4a6c5bbbb5aee8c9347517effd4556c.zip
summer-09 theme added
Diffstat (limited to 'public/app')
-rw-r--r--public/app/views/components/theme.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/public/app/views/components/theme.php b/public/app/views/components/theme.php
index a769dce..af05bda 100644
--- a/public/app/views/components/theme.php
+++ b/public/app/views/components/theme.php
@@ -67,6 +67,12 @@ $theme_def = [
'label' => 'Mohammad Arfa Affan: 3d Vectors (@Vecteezy)'
],
+ 's9' => [
+ 'css' => 'summer-09',
+ 'url' => 'https://unsplash.com/photos/cNagAGEok9k',
+ 'label' => 'Willian Justen de Vasconcellos: Desert, Huacachina, Peru'
+ ],
+
# --- fall ---
'f8' => [
@@ -135,7 +141,7 @@ $theme_def = [
$themes = [
- 'summer' => [ 's1', 's2', 's5', 'g9', 'g1' ],
+ 'summer' => [ 's1', 's2', 's5', 'g9', 'g1', 's9' ],
'fall' => [ 'f8', 's5', 'g4', 's2', 'f9' ],
@@ -156,7 +162,7 @@ if ($mo == 6 && $day == 1) { $day == 2; }
$imageID = intdiv( ( ( $mo*31 + $day) % $themesLen*4 ), 4 );
define('THEME', $theme_def[ $themes[ $season ][ $imageID ] ]);
-// testing: define('THEME', $theme_def[ $themes[ 'winter' ][ 1 ] ]);
+// testing: define('THEME', $theme_def[ $themes[ 'summer' ][ 5 ] ]);
?>
<!-- theme overides -->