diff --git a/Dockerfile b/Dockerfile index 5922bbb..82892d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,7 +56,7 @@ COPY --from=build /rails /rails # Run and own only the runtime files as a non-root user for security RUN useradd rails --create-home --shell /bin/bash && \ - chown -R rails:rails db log storage tmp + chown -R rails:rails db log tmp # Deployment options ENV RAILS_LOG_TO_STDOUT="1" \ diff --git a/app/assets/images/arrow_smartphone.png b/app/assets/images/arrow_smartphone.png new file mode 100644 index 0000000..475c89a Binary files /dev/null and b/app/assets/images/arrow_smartphone.png differ diff --git a/app/views/welcome/index.html.slim b/app/views/welcome/index.html.slim index 2ce2e2c..1e5441b 100644 --- a/app/views/welcome/index.html.slim +++ b/app/views/welcome/index.html.slim @@ -12,14 +12,14 @@ = button_to '登録して抽選会を開催', '/users/sign_up', method: :get, class: 'p-4 bg-blue-800 font-bold h-10 m-auto text-white rounded flex items-center justify-center hover:bg-blue-900' .text-center.m-auto.mt-2.text-gray.text-sm.mt-6 = button_to '登録済みの方はこちらからログイン', '/users/sign_in', method: :get, class: 'text-blue-900 underline hover:no-underline' - .flex.justify-center.mt-11 + .mt-11.md:flex.md:justify-center .mt-11 h2.text-center.font-bold.text-xl.text-blue-900 | こんな手間ありませんか? .mt-2.flex div = image_tag 'tired.png', class: 'mx-auto', alt: 'tired_image' - .mt-6 + .mt-6.text-sm.md:text-base ul li.mt-2 | 応募フォームを作成して、 @@ -28,14 +28,15 @@ li.mt-2 | 当選者にメールを送って、 .flex.items-center.mx-8 - = image_tag 'arrow.png', class: 'mx-auto', alt: 'arrow_image' + = image_tag 'arrow.png', class: 'hidden md:block mx-auto', alt: 'arrow_image' + = image_tag 'arrow_smartphone.png', class: 'mt-3 block md:hidden mx-auto', alt: 'arrow_image' .mt-11 h2.text-center.font-bold.text-xl.text-blue-900 | その手間を解決します! .mt-2.flex div = image_tag 'happy.png', class: 'mx-auto', alt: 'happy_image' - .mt-6 + .mt-6.text-sm.md:text-base ul li.mt-2 | 簡単に応募フォーム作成