diff --git a/app/assets/images/ai5.png b/app/assets/images/ai5.png new file mode 100644 index 0000000..9d97922 Binary files /dev/null and b/app/assets/images/ai5.png differ diff --git a/app/assets/images/ai6.png b/app/assets/images/ai6.png new file mode 100644 index 0000000..00b8269 Binary files /dev/null and b/app/assets/images/ai6.png differ diff --git a/app/assets/stylesheets/style.css b/app/assets/stylesheets/style.css index 24282f7..588113b 100755 --- a/app/assets/stylesheets/style.css +++ b/app/assets/stylesheets/style.css @@ -88,6 +88,14 @@ button.navbar-toggle { color: #fff; } +#navbar-toggle { + z-index: 1000; +} + +#debug-toggle { + z-index: 1000; +} + .responsive-navbar { width: 100%; } @@ -109,6 +117,10 @@ button.navbar-toggle { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='red' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"); } +#giggle_carousel { + min-height: 500px; +} + #bs-bugger { z-index: 1000; diff --git a/app/helpers/giggle_helper.rb b/app/helpers/giggle_helper.rb index 9f3cce3..6ec216a 100644 --- a/app/helpers/giggle_helper.rb +++ b/app/helpers/giggle_helper.rb @@ -9,4 +9,16 @@ def random_giggle_image_tag(**options) { alt: File.basename(logical, '.*'), class: 'image-meme image-responsive max-500 pad-5P' }.merge(options) end + + def giggle_images(**options) + root = Rails.root.join('app','assets','images') + glob = root.join('giggles','**','*.{png,jpg,jpeg,gif,webp,svg}') + files = Dir.glob(glob.to_s, File::FNM_CASEFOLD) + result = ['giggles/giggle_0.png'] + files.each do |file| + next if file.include?('giggle_0') + result << file.sub(root.to_s + '/', '') || 'giggles/giggle_0.png' + end + result + end end diff --git a/app/views/users/_funnies.html.erb b/app/views/users/_funnies.html.erb index fee4903..c757291 100644 --- a/app/views/users/_funnies.html.erb +++ b/app/views/users/_funnies.html.erb @@ -6,14 +6,22 @@
A Giggle a day keeps the demons away.
+A Giggle a day keeps the demons at bay
8 Years navigating the victories & perils of operating a business
+8 Years navigating the victories & perils of operating a business
When robots rule the world, at least I'll still be able to land a programming gig!
+IF/ELSE gates hit different when logic errors might actually crush your skull.
If the internet is a giant series of tubes then A.I. is for sure a giant(er) series of gates.
-ZoomZoom > VroomVroom
-Time to 'Power Up' globally. 🍄
-Fun Fact: I built my own from scratch before it was cool.
Would you link to know more?
ZoomZoom > VroomVroom
Fun Fact: I built one from scratch before it was cool.
If the internet is a giant series of tubes then A.I. is just a giant series of gates.
+26 Coast to Coast road trips under my belt.
I really enjoy a good drive.
I'd give up the steering wheel in an instant if...
it meant everyone else did too.
I'd give up the steering wheel in an instant if...
Everyone else did too.