Browse Source

readme production

main
pvincent 11 months ago
parent
commit
35e282d8b6
  1. 3
      README.md
  2. 4
      app/views/layouts/application.html.erb
  3. 2
      app/views/main/home.html.erb

3
README.md

@ -9,7 +9,8 @@
* [x] tailwindcss-rails
* [x] Max duration to complete in order to prevent long action
* [x] Devise
* [ ] PRODUCTION ready, not yet!!!
* [ ] test in PRODUCTION
## Interesting Gems to try out

4
app/views/layouts/application.html.erb

@ -9,11 +9,13 @@
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
<%= javascript_importmap_tags %>
</head>
<body class='bg-cyan-100'>
<body class='bg-yellow-50'>
<%= render 'layouts/navbar' %>
<div class='m-5'>
<p class="notice bg-green-300"><%= notice %></p>
<p class="alert bg-red-600"><%= alert %></p>
</div>
<div class="m-2">
<%= yield %>
</div>
</body>

2
app/views/main/home.html.erb

@ -1,5 +1,5 @@
<div class="p-5">
<h1 class="text-8xl font-bold">HOME</h1>
<h1 class="text-3xl font-bold">HOME</h1>
<div class="text-xl bg-blue-500 ">
value is <%=@value%>
</div>

Loading…
Cancel
Save