From bdea060765b2456254ac7fcff857bb5a6609f455 Mon Sep 17 00:00:00 2001 From: Yasuhito Takamiya Date: Sun, 13 Feb 2022 13:37:16 +0900 Subject: [PATCH] fix broken html --- apps/www/app/views/cirq/show.html.erb | 54 ++++++++++++++++----------- 1 file changed, 32 insertions(+), 22 deletions(-) diff --git a/apps/www/app/views/cirq/show.html.erb b/apps/www/app/views/cirq/show.html.erb index 69e1b45c8..5c3a74407 100644 --- a/apps/www/app/views/cirq/show.html.erb +++ b/apps/www/app/views/cirq/show.html.erb @@ -1,32 +1,36 @@ - +<% content_for :meta_ogp do %> - - - - - - - - - + + <% if @json %> + + + <% end %> + <% if @circuit&.social_image&.attached? %> + + <% end %> +<% end %>
-
- - +
+ <%= share_modal %> + <%= menu %>
- + <%= icon :mixer_horizontal %>
- + <%= palette_md %>
- - + <%= + run_circuit_button class: + 'run-circuit-button--mobile inline-block md:hidden w-10 h-10 shrink-0 mr-2 bg-white rounded-full drop-shadow-md' + %> + <%= palette %>
- + <%= circle_notation %> - + <%= + run_circuit_button class: + 'hidden md:inline-block fixed bottom-0 right-0 mr-6 mb-8 w-16 h-16 text-white bg-purple-500 rounded-full drop-shadow-md z-40' + %>
- +<%= palette_help_templates %>