Skip to content

Commit

Permalink
Modified the subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
yatish27 committed Apr 22, 2024
1 parent 8a0b454 commit c022b31
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
POSTGRES_HOST=localhost # May need to be changed to `DB_HOST=db` if using devcontainer
POSTGRES_PORT=5432
POSTGRES_PASSWORD=postgres
POSTGRES_USER=postgres
POSTGRES_USER=postgres

RAILS_HOSTNAME=
1 change: 1 addition & 0 deletions app/controllers/home_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
class HomeController < ApplicationController
def index
@subtitle = "An opinionated and modern Ruby on Rails template with pragmatic defaults to start your next project 🚀"
end
end
2 changes: 1 addition & 1 deletion app/views/home/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="py-24">
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
<h1 class="scroll-m-20 text-4xl font-bold tracking-tight">Shore</h1>
<p class=" max-w-2xl text-lg text-gray-600">An opinionated template with pragmatic defaults to start your Ruby on Rails project 🚀</p>
<p class=" max-w-2xl text-lg text-gray-600"><%= @subtitle %></p>
<p class="text-lg text-gray-600 mt-6">
Stimulus says,
<i class="text-indigo-600" data-controller="hello">Stimulus not loaded 😥</i>
Expand Down

0 comments on commit c022b31

Please sign in to comment.