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 @@

Finally

-

A Giggle a day keeps the demons away.

+

A Giggle a day keeps the demons at bay

- <%= random_giggle_image_tag(class: 'image-meme image-responsive max-500 pad-5P') %> +
diff --git a/app/views/users/_history.html.erb b/app/views/users/_history.html.erb index 8995b99..ddee519 100644 --- a/app/views/users/_history.html.erb +++ b/app/views/users/_history.html.erb @@ -17,7 +17,7 @@

Youth

<%= link_to image_tag("tractor1.jpg", :alt => "Farm Life", class: "image-responsive max-200"), "https://www.google.com/maps/place/30%C2%B005'10.3%22N+83%C2%B015'28.5%22W/@30.0861812,-83.2666748,2808m/data=!3m2!1e3!4b1!4m14!1m7!3m6!1s0x88eecb929a115edb:0x15ea2893f8ab024c!2sMayo,+FL+32066!3b1!8m2!3d30.053001!4d-83.1748578!3m5!1s0x0:0x0!7e2!8m2!3d30.0861816!4d-83.2579202", target: :_blank %> -

Yes, A real farm.
With Cows and Chickens and everything.

+

Yes, A real farm.
With Cows and Chickens and everything

@@ -25,7 +25,7 @@

College Years

<%= image_tag("bw-college.jpg", :alt => "College Life", class: "image-responsive max-200") %> -

In a word they were,
interesting.

+

Apparently four years bouncing around majors was not 'winning'

@@ -35,7 +35,7 @@

Management

<%= image_tag("RP-Logo-Circle.png", :alt => "Renaissance Printing", class: "image-responsive max-200 pad-5P-down") %> -

8 Years navigating the victories & perils of operating a business

+

8 Years navigating the victories & perils of operating a business

@@ -43,8 +43,8 @@

Dev BootCamp

- <%= link_to image_tag("dbc-standard-logo-gray.png", :alt => "DevBootCamp", class: "image-responsive max-200 pad-10P-down"), "https://www.youtube.com/watch?v=fPoj6s8S-FE", target: :_blank %> -

Serious Web Development Training Seriously

+ <%= link_to image_tag("dbc-standard-logo-gray.png", :alt => "DevBootCamp", class: "image-responsive max-200 pad-10P-down"), "https://www.youtube.com/watch?v=Lqmg9bI8-RA", target: :_blank %> +

Serious Web Dev training for folks serious about affecting positive change

diff --git a/app/views/users/_interests.html.erb b/app/views/users/_interests.html.erb index 8b70d26..8cb6d8d 100644 --- a/app/views/users/_interests.html.erb +++ b/app/views/users/_interests.html.erb @@ -15,38 +15,36 @@
-

Robotics

+

Robotics

<%= image_tag("robo-logo2.png", :alt => "Roboto", class: "image-responsive max-200") %> -

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.


-
-
-

A.I.

- <%= image_tag("ai4.png", :alt => "A.I.", class: "image-responsive max-200") %> -

If the internet is a giant series of tubes then A.I. is for sure a giant(er) series of gates.

-
-
-
-
-

Electric Vehicles

+

Electric Vehicles

<%= link_to image_tag("EV-2.png", :alt => "EV Bus Conversion", class: "image-responsive max-200"), "https://www.youtube.com/watch?v=M96c2vpPjPo", target: :_blank %> -

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.


+
+
+

A.I.

+ <%= image_tag("ai6.png", :alt => "A.I.", class: "image-responsive max-200") %> +

If the internet is a giant series of tubes then A.I. is just a giant series of gates.

+
+
+
+
-

"Auto"-Mobiles

+

"Auto"-Mobiles

<%= image_tag("automobile.png", :alt => "Self Drive", class: "image-responsive max-200") %> -

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.