-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #114 from motohiro-mm/feature/add_css
CSSを追加した(初回)
- Loading branch information
Showing
37 changed files
with
746 additions
and
409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,4 +36,4 @@ RSpec/MultipleExpectations: | |
Enabled: false | ||
|
||
Layout/LineLength: | ||
Max: 150 | ||
Max: 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
# frozen_string_literal: true | ||
|
||
module MealsHelper | ||
def format_memo(meal) | ||
safe_join(meal.memo.split("\n"), tag.br) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails | ||
import "fontawesome"; | ||
import "@hotwired/turbo-rails"; | ||
import "controllers"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div> | ||
<div class="mx-auto p-4 w-full"> | ||
<h1>使い方</h1> | ||
<p> | ||
今後文章画像追加する!!! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,69 @@ | ||
<div class="w-full"> | ||
<% if notice.present? %> | ||
<p class="py-2 px-3 bg-green-50 mb-5 text-green-500 font-medium rounded-lg inline-block" id="notice"><%= notice %></p> | ||
<% end %> | ||
|
||
<div class="flex justify-between items-center"> | ||
<h1 class="font-bold text-4xl text-stone-800">ごはんサミット</h1> | ||
<div class="mx-auto p-4 w-full text-center"> | ||
<div class="m-4"> | ||
ロゴ!おきかえる | ||
</div> | ||
<p> | ||
ごはんサミットへようこそ! | ||
</p> | ||
<p> | ||
ログインして家族で献立を相談しよう! | ||
<p class="mx-4 my-8"> | ||
ごはんサミットへようこそ!<br> | ||
ごはんサミットは、<br> | ||
献立の相談と献立表の共有ができるアプリです。 | ||
</p> | ||
<p> | ||
献立表を作ろう! | ||
</p> | ||
<div> | ||
<%= button_to 'Googleでログイン', google_oauth2_path, method: :post, data: { turbo: false }, class: 'login-button' %> | ||
<div class="m-4"> | ||
<%= button_to 'Googleでログイン', google_oauth2_path, method: :post, data: { turbo: false }, class: 'rounded-full py-3 px-4 bg-red-400 inline-block text-white' %> | ||
</div> | ||
<div class="mb-8"> | ||
<span> | ||
<%= link_to '利用規約', terms_path, class: 'hover:underline' %> | ||
・ | ||
<%= link_to 'プライバシーポリシー', terms_path, class: 'hover:underline' %> | ||
に<br>同意した上でログインしてください。 | ||
</span> | ||
</div> | ||
<div> | ||
<%= link_to '利用規約', terms_path, class: 'ml-4 text-stone-800 hover:underline' %> | ||
<%= link_to 'プライバシーポリシー', terms_path, class: 'ml-4 text-stone-800 hover:underline' %> | ||
<div class="my-8"> | ||
<h2 class="m-4 text-xl">家族で献立を相談しよう</h2> | ||
<div class="flex justify-between items-center m-4"> | ||
<p class="w-2/3 mr-6 text-left"> | ||
食べたいものを提案しましょう。食べたいものが決まってなくても、その日の気分や希望をコメントできます。相談して献立を決めていきましょう。 | ||
</p> | ||
<div class="w-1/3 mx-auto"> | ||
<%#= image_tag('home/chat.png') %> | ||
画像をはる | ||
</div> | ||
</div> | ||
</div> | ||
<div class="my-8"> | ||
<h2 class="m-4 text-xl">献立表に登録しよう</h2> | ||
<div class="flex justify-between items-center m-4"> | ||
<p class="w-2/3 mr-6 text-left"> | ||
食べたいものが決まったら献立表に登録しましょう。会議で提案した料理をそのまま献立表に登録することができます。会議をせずに献立を登録することもできます。 | ||
</p> | ||
<div class="w-1/3 mx-auto"> | ||
<%#= image_tag('home/chat.png') %> | ||
画像をはる | ||
</div> | ||
</div> | ||
</div> | ||
<div class="my-8"> | ||
<h2 class="m-4 text-xl">献立表を共有しよう</h2> | ||
<div class="flex justify-between items-center m-4"> | ||
<p class="w-2/3 mr-6 text-left"> | ||
登録した献立は一覧で見ることができます。献立表は家族で共有していつでも確認できます。 | ||
</p> | ||
<div class="w-1/3 mx-auto"> | ||
<%#= image_tag('home/chat.png') %> | ||
画像をはる | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="mt-8 m-4"> | ||
<%= button_to 'Googleでログイン', google_oauth2_path, method: :post, data: { turbo: false }, class: 'rounded-full py-3 px-4 bg-red-400 inline-block text-white' %> | ||
</div> | ||
<div> | ||
<p> | ||
ここに使い方を書く! | ||
</p> | ||
<div class="mb-8"> | ||
<span> | ||
<%= link_to '利用規約', terms_path, class: 'hover:underline' %> | ||
・ | ||
<%= link_to 'プライバシーポリシー', terms_path, class: 'hover:underline' %> | ||
に<br>同意した上でログインしてください。 | ||
</span> | ||
</div> | ||
</div> |
Oops, something went wrong.