diff --git a/app/assets/stylesheets/application.css.sass b/app/assets/stylesheets/application.css.sass
index 5fd2c10a..0f0cbb82 100644
--- a/app/assets/stylesheets/application.css.sass
+++ b/app/assets/stylesheets/application.css.sass
@@ -123,20 +123,32 @@ header
position: absolute
top: 0
// background-color: hotpink
- border-radius: 300px
+ border-radius: 10em
overflow: hidden
- transition: background-color 0.2s, box-shadow 0.2s
+ &.icypepe
+ border-radius: 600em
+ padding: 1em 5em 1em 2em
+ cursor: pointer
+ transition: background-color 0.2s, box-shadow 0.2s
+ svg
+ zoom: 80%
+ &:hover
+ background-color: gold
+ box-shadow: 1px 1px 8px 4px gold
+ img
+ cursor: pointer
+ transition: background-color 0.2s, box-shadow 0.2s
+ &:hover
+ background-color: gold
+ box-shadow: 1px 1px 8px 4px gold
img
width: 4rem
- cursor: pointer
- &:hover
- background-color: gold
- box-shadow: 1px 1px 8px 4px gold
+ padding: 0.2em
&.clicked
+ img, &.icypepe
background-color: #00ffff
box-shadow: 0px 0px 8px 4px #00ffff
-
li
list-style: none
diff --git a/app/models/user.rb b/app/models/user.rb
index eff04513..9070412f 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -35,6 +35,10 @@ class User < ActiveRecord::Base
!soft_user?
end
+ def to_s
+ display_name
+ end
+
def display_name
self.email.split("@")[0] || "Guest#{self.soft_token[0..5]}"
end
diff --git a/app/views/layouts/_navigation_links.html.erb b/app/views/layouts/_navigation_links.html.erb
index 59f01b65..ba673739 100644
--- a/app/views/layouts/_navigation_links.html.erb
+++ b/app/views/layouts/_navigation_links.html.erb
@@ -1,9 +1,17 @@
diff --git a/app/views/visitors/index.html.haml b/app/views/visitors/index.html.haml
index 879311de..6283f184 100644
--- a/app/views/visitors/index.html.haml
+++ b/app/views/visitors/index.html.haml
@@ -1,38 +1,39 @@
#home-headline
- if request.base_url.match(/pin|my|fireside/)
- %h1 My own private tendy zone
+ %h1 My own public tendy zone
- else
%h1 Web3 Social Gaming
Crypto Rewards
+#canisters
+ = render @canisters
#main-menu
- - if policy(:table).play_now?
- = link_to 'Play', play_now_path
- - else
- Soon
+ -# - if policy(:table).play_now?
+ = link_to 'Play 13 Now', play_now_path
+ -# - else
+ Soon
-# = link_to 'Browse Tables', tables_path
-# = link_to 'Tutorial', tutorial_path
-# = link_to 'About', page_path('about')
-
-- if !request.base_url.match(/pin|my|fireside/)
+-# - if !request.base_url.match(/pin|my|fireside/)
+.eyecandy.icypepe
+ = inline_svg_tag "Icy Pepe.svg"
+- 5.times do |i|
.eyecandy
- = 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"
+ = image_tag "gongo-logo.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