Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/assets/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ body {
margin: 0;
padding: 0;
}

.home-page {
background-color: #f00;
}
6 changes: 3 additions & 3 deletions app/views/home/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<%= turbo_stream_from "counter" %>

<main class="flex flex-col items-center justify-center min-h-screen bg-red-500 p-8">
<main class="home-page flex flex-col items-center justify-center min-h-screen p-8">
<div class="text-center mb-8">
<h1 class="text-5xl font-bold text-red-600 mb-2">Hello, World!</h1>
<p class="text-gray-500">Rails 8 Full Stack Demo</p>
<h1 class="text-5xl font-bold text-white mb-2">Hello, World!</h1>
<p class="text-white">Rails 8 Full Stack Demo</p>
</div>

<% if notice %>
Expand Down