From 46fa3c712de5b611f5a2332b9aee45fcdff80418 Mon Sep 17 00:00:00 2001 From: "Jesse C. Fisher" Date: Sun, 17 Sep 2023 17:49:31 +0000 Subject: [PATCH] Custom home page per domain --- app/views/visitors/index.html.haml | 39 +++++++++++++++++------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/app/views/visitors/index.html.haml b/app/views/visitors/index.html.haml index a2aa5c64..879311de 100644 --- a/app/views/visitors/index.html.haml +++ b/app/views/visitors/index.html.haml @@ -1,5 +1,9 @@ #home-headline - %h1 Web3 Social Gaming
Crypto Rewards + - if request.base_url.match(/pin|my|fireside/) + %h1 My own private tendy zone + - else + %h1 Web3 Social Gaming
Crypto Rewards + #main-menu - if policy(:table).play_now? @@ -11,23 +15,24 @@ -# = link_to 'About', page_path('about') -.eyecandy - = inline_svg_tag "Icy Pepe.svg" --# - 5.times do |i| +- if !request.base_url.match(/pin|my|fireside/) .eyecandy - = image_tag "GONGO-coin-white.png" -- 10.times do |i| - .eyecandy - = image_tag "ICYPEES-glass.png" -- 20.times do |i| - .eyecandy - = image_tag "chicken-tenders.png" -- 10.times do |i| - .eyecandy.roundcandy - = image_tag "tendy-logo.jpg" -- 10.times do |i| - .eyecandy - = image_tag "ICYPEES-coin.png" + = inline_svg_tag "Icy Pepe.svg" + -# - 5.times do |i| + .eyecandy + = image_tag "GONGO-coin-white.png" + - 10.times do |i| + .eyecandy + = image_tag "ICYPEES-glass.png" + - 20.times do |i| + .eyecandy + = image_tag "chicken-tenders.png" + - 10.times do |i| + .eyecandy.roundcandy + = image_tag "tendy-logo.jpg" + - 10.times do |i| + .eyecandy + = image_tag "ICYPEES-coin.png" -# - Dir.glob("app/assets/images/cards/png/**").each do |card_img| - puts card_img