summaryrefslogtreecommitdiff
path: root/public/app
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-06-14 14:27:54 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-06-14 14:27:54 +0300
commitc55470793a19bdaf689bbbe6d9eb285eff579d98 (patch)
treec563badae563eb8a41dc472dcc8dc78c4ca27caf /public/app
parentfc3bef390c1a215f4c6110b0b6996c004436ae0b (diff)
downloadgyraf1gov-c55470793a19bdaf689bbbe6d9eb285eff579d98.tar.gz
gyraf1gov-c55470793a19bdaf689bbbe6d9eb285eff579d98.tar.bz2
gyraf1gov-c55470793a19bdaf689bbbe6d9eb285eff579d98.zip
themes organized; project is in alfa-2 version
Diffstat (limited to 'public/app')
-rw-r--r--public/app/views/components/theme.php69
1 files changed, 40 insertions, 29 deletions
diff --git a/public/app/views/components/theme.php b/public/app/views/components/theme.php
index 7f8ca95..1723a99 100644
--- a/public/app/views/components/theme.php
+++ b/public/app/views/components/theme.php
@@ -123,29 +123,6 @@ $theme_def = [
'label' => 'Sergey Pesterev: Sunset in the mountains (Hurghada International Airport, Egypt)'
],
- /**
-
- !!! winter-12
- https://unsplash.com/photos/RsRTIofe0HE
- John Fowler: Near sunset at White Sands National Monument, New Mexico, USA
-
- !!! spring-11
- https://unsplash.com/photos/87MIF4vqHWg
- Kent Pilcher: Selective focus photography of plant
-
- !!! winter-15
- https://unsplash.com/photos/dTSaC-S-7fs
- Ricardo Gomez Angel: Silhouette of mountains during daytime
-
-
- !!! winter-16
- https://unsplash.com/photos/twukN12EN7c
- Simon Berger: Altmünster am Traunsee, Neukirchen bei Altmünster, Oberösterreich, Österreich
-
-
- ++++ https://unsplash.com/s/photos/landscape-nature-light?orientation=landscape
- **/
-
# --- winter ---
@@ -173,6 +150,25 @@ $theme_def = [
'label' => 'Vidar Nordli-Mathisen: Skogsøya, Norway'
],
+ 'w12' => [
+ 'css' => 'winter-12',
+ 'url' => 'https://unsplash.com/photos/RsRTIofe0HE',
+ 'label' => 'John Fowler: Near sunset at White Sands National Monument, New Mexico, USA'
+ ],
+
+ 'w15' => [
+ 'css' => 'winter-15',
+ 'url' => 'https://unsplash.com/photos/dTSaC-S-7fs',
+ 'label' => 'Ricardo Gomez Angel: Silhouette of mountains during daytime'
+ ],
+
+ 'w16' => [
+ 'css' => 'winter-16',
+ 'url' => 'https://unsplash.com/photos/twukN12EN7c',
+ 'label' => 'Simon Berger: Altmünster am Traunsee, Neukirchen bei Altmünster, Oberösterreich, Österreich'
+ ],
+
+
# --- spring ---
@@ -192,24 +188,39 @@ $theme_def = [
'css' => 'spring-09',
'url' => 'https://www.flickr.com/photos/112072356@N06/14882252902/',
'label' => 'auimeesri: banana leaf; blur green of banana leaf with water drop'
- ]
+ ],
+ 'g11' => [
+ 'css' => 'spring-11',
+ 'url' => 'https://unsplash.com/photos/87MIF4vqHWg',
+ 'label' => 'Kent Pilcher: Selective focus photography of plant'
+ ],
+
+ 'g12' => [
+ 'css' => 'spring-12',
+ 'url' => 'https://unsplash.com/photos/n7a2OJDSZns',
+ 'label' => 'Harli Marten: Photo of blue and pink sea'
+ ]
];
$themes = [
- 'summer' => [ 's1', 's2', 's5', 's0', 'g9', 'g1', 's9', 's10' ],
+ 'summer' => [ 's1', 's2', 's5', 'g1', 's9', 's10', 's0' ],
+ // 'g9', 'w16', 'g12'
- 'fall' => [ 'f8', 's5', 'f9', 'f10', 'g4', 'f11', 'f12', 'f14' ],
+ 'fall' => [ 'f10', 'f8', 's5', 'f9', 'f12', 'f14', 'f11' ],
+ // 'g4', 's2', 's9', 'w16'
- 'winter' => [ 'w3', 'w8', 'w9', 'w10' ],
+ 'winter' => [ 'w3', 'w8', 'w9', 'w10', 'w12', 'w15', 'w16' ],
+ // 'f14', 'f10', 'f14'
- 'spring' => [ 'g1', 'g4', 'w3', 'g9', 'f9' ]
+ 'spring' => [ 'g1', 'g4', 'w16', 'g9', 'f9', 'g11', 'g12' ]
+ // 'f10', 'f8', 'f14'
];
@@ -222,7 +233,7 @@ $imageID = intdiv( ( ( $mo*31 + $day) % $themesLen*4 ), 4 );
// define('THEME', $theme_def[ $themes[ $season ][ $imageID ] ]);
// testing:
-define('THEME', $theme_def[ $themes[ 'fall' ][ 7 ] ]);
+define('THEME', $theme_def[ $themes[ 'spring' ][ 1 ] ]);
?>
<!-- theme overides -->