Custom home page per domain

This commit is contained in:
Jesse C. Fisher 2023-09-17 17:49:31 +00:00 committed by icwizardmonke
parent d7ed50c5a4
commit 46fa3c712d

View File

@ -1,5 +1,9 @@
#home-headline
%h1 Web3 Social Gaming <br/>Crypto Rewards
- if request.base_url.match(/pin|my|fireside/)
%h1 My own private tendy zone
- else
%h1 Web3 Social Gaming <br/>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