summaryrefslogtreecommitdiff
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
parent5375e22de976b74f5f04d800014c30d9c66f0fe5 (diff)
downloadgyraf1gov-07494fb1f4a6c5bbbb5aee8c9347517effd4556c.tar.gz
gyraf1gov-07494fb1f4a6c5bbbb5aee8c9347517effd4556c.tar.bz2
gyraf1gov-07494fb1f4a6c5bbbb5aee8c9347517effd4556c.zip
summer-09 theme added
-rw-r--r--public/app/views/components/theme.php10
-rw-r--r--public/assets/css/themes/summer-09.css7
-rw-r--r--public/assets/media/credits.txt7
-rw-r--r--public/assets/media/summer-09.webpbin0 -> 93798 bytes
4 files changed, 18 insertions, 6 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 -->
diff --git a/public/assets/css/themes/summer-09.css b/public/assets/css/themes/summer-09.css
new file mode 100644
index 0000000..bcd65b8
--- /dev/null
+++ b/public/assets/css/themes/summer-09.css
@@ -0,0 +1,7 @@
+:root {
+ --background-image: url(/assets/media/summer-09.webp);
+ --bs-heading-color: #132;
+ --menu-hover-bgr: #f4e4d4;
+ --info-text-color: #432;
+ --img-credit-hover-color: #432;
+}
diff --git a/public/assets/media/credits.txt b/public/assets/media/credits.txt
index adcf74d..546529f 100644
--- a/public/assets/media/credits.txt
+++ b/public/assets/media/credits.txt
@@ -16,9 +16,9 @@ https://unsplash.com/photos/2s3fI3M1lO0
++ https://unsplash.com/photos/KhhOAsE5M6Y : Damaraland, Namibia
++ https://unsplash.com/photos/yQ9NNBelr0Y : Cape Town
++ https://unsplash.com/photos/EQ_MuV5pfe0 : Eureka Sand Dunes, California
-++ https://unsplash.com/photos/j8PfDO_mT3c : Maasai Mara National Reserve, Kenya
+++ https://unsplash.com/photos/j8PfDO_mT3c : Maasai Mara National Reserve, Kenya ++
+? https://unsplash.com/photos/FspSQm4mPbg : Ngorongoro, Tanzania
-++ https://unsplash.com/photos/9zlTSybQKzY : Malawi, Africa
+++ https://unsplash.com/photos/9zlTSybQKzY : Malawi, Africa ++
+? https://unsplash.com/photos/0QTsC9YtovE : Cape Town
++ https://unsplash.com/photos/DYxsvMWAnj8
+? https://unsplash.com/photos/L6EP96_w1Fc : Cape Town
@@ -29,12 +29,11 @@ https://unsplash.com/photos/2s3fI3M1lO0
++ https://unsplash.com/photos/dg4AfLITDH8 : Hạ Long Bay, Vietnam
++ https://unsplash.com/photos/prBOww8R1Js : Mining Town, Ipoh, Malaysia
++ https://unsplash.com/photos/o3Z8qhsWdiU : Bhigwan, India -> text:#fed
-++ https://unsplash.com/photos/cIYep5O1pn8 : Java, Indonesië
+++ https://unsplash.com/photos/cIYep5O1pn8 : Java, Indonesië ++
++ https://unsplash.com/photos/r7DTD91MEUQ : Siargao Island, Philippines
++ https://unsplash.com/photos/fO_PNFXw434 : Bagan, Myanmar (Birmania) -> text:#543
+? https://unsplash.com/photos/BOj8Py1IcbU : Santa Cruz, Argentina
+? https://unsplash.com/photos/biIqtNDjlqY : Mendoza, Argentina
-++ https://unsplash.com/photos/cNagAGEok9k : Huacachina, Peru ->text:#432
++ https://unsplash.com/photos/HO-uMoDyjA8 : Lima District, Peru
++ https://unsplash.com/photos/1YfXF2Rgzs4 : Vale do Colca, Chivay, Peru
++ https://unsplash.com/photos/NOgn3fA94N4 : Cataratas do Iguaçu, Brazil
diff --git a/public/assets/media/summer-09.webp b/public/assets/media/summer-09.webp
new file mode 100644
index 0000000..be34f14
--- /dev/null
+++ b/public/assets/media/summer-09.webp
Binary files differ