#home-headline.home-headline - if request.base_url.match(/pin|my|fireside/) %h1 Your own public tendy zone 🍗 - else %h1 Web3 Social Gaming
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 :javascript function destroyDoodad(doodad_id) { return fetch("/doodads/" + doodad_id, { method: 'DELETE', headers: { "Content-Type": "application/json", "Accept": "application/json" } }) .then(response => response) }; // var s2 = Swiped.init({ query: '.bar li', list: true, left: 200, right: 200 }); var index_doodad_swiped = Swiped.init({ query: '#doodads .doodad', list: true, left: 200, right: 200, onOpen: function() { var doodad_id = this.elem.className.split("-")[1]; destroyDoodad(doodad_id) .then(results => console.log(results)); this.destroy(true) } }); -# #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