62 lines
2.3 KiB
Plaintext
62 lines
2.3 KiB
Plaintext
#home-headline.home-headline
|
|
- if request.base_url.match(/pin|my|fireside/)
|
|
%h1 Your own public tendy zone 🍗
|
|
- else
|
|
%h1 Web3 Social Gaming <br/>Crypto Rewards
|
|
|
|
- if @feed_items.any?
|
|
.contain
|
|
%h2 Post feed
|
|
= render 'shared/feed'
|
|
.contain
|
|
#doodads
|
|
%h2 Doodads
|
|
- if current_user.signed_in?
|
|
%p= link_to '+ New Doodad', new_doodad_path
|
|
= render @doodads
|
|
|
|
-# #canisters
|
|
= render @canisters
|
|
- if current_user.signed_in?
|
|
= link_to '+ Add Existing Canister', new_canister_path
|
|
|
|
#main-menu
|
|
-# - 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/)
|
|
- unless current_user.signed_in?
|
|
.eyecandy.icypepe
|
|
= image_tag "icy pepe.png", style: 'width: 800px'
|
|
-# = inline_svg_tag "Icy Pepe.svg"
|
|
- 5.times do |i|
|
|
.eyecandy
|
|
= 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
|
|
= image_tag
|
|
|
|
-# %iframe#videoplayer{:allowfullscreen => "", :frameborder => "0", :height => "480", :mozallowfullscreen => "true", :src => "https://archive.org/embed/my-dinner-with-andre-conspiracy-theory-scene-hd", :webkitallowfullscreen => "true", :width => "640", :autostart => "true"}
|
|
-# %iframe{:allow => "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share", :allowfullscreen => "", :frameborder => "0", :height => "315", :src => "https://www.youtube.com/embed/kK-1axSGkXc", :title => "YouTube video player", :width => "560"}
|
|
-# %iframe#videoplayer{:allow => "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share", :allowfullscreen => "", :frameborder => "0", :height => "315", :src => "https://www.youtube.com/embed/PhIM5k_m_hs", :title => "YouTube video player", :width => "560"}
|
|
-# .video-cover
|
|
-# = video_tag "video.mp4", autoplay: true, id: "videoplayer", loop: true
|