Skip to content
Open
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
9 changes: 6 additions & 3 deletions app/controllers/public/home_controller.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
class Public::HomeController < Public::ApplicationController
# Redirect `/` to either `ENV["MARKETING_SITE_URL"]` or the sign-in page.
# If you'd like to customize the action for `/`, you can remove this and define `def index ... end ` below.
include RootRedirect
# Uncomment `include RootRedirect` and comment out `def index ... end` to
# redirect `/` to either `ENV["MARKETING_SITE_URL"]` or the sign-in page.
# include RootRedirect

# Allow your application to disable public sign-ups and be invitation only.
include InviteOnlySupport

# Make Bullet Train's documentation available at `/docs`.
include DocumentationSupport

def index
end
end
5 changes: 4 additions & 1 deletion app/views/public/home/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

<div class="h-screen w-full flex items-center justify-center">
<div class="h-2/3 py-10">
<%= render 'account/shared/notices' %>

<div data-controller="scroll-reveal">
<div class="grid grid-cols-1">
<%= link_to "https://bullettrain.co/", class: "col-span-1", target: '_blank' do %>
Expand All @@ -22,7 +24,8 @@
</div>

<p class="text-slate-600 text-lg text-left p-5">
Welcome to Bullet Train! Please read the <%= link_to "documentation", "/docs", target: '_blank' %> to get started.
Welcome to Bullet Train! Please read the <%= link_to "documentation", "/docs", target: '_blank' %> to get started.<br/>
You can view this page at app/views/public/home/index.html.erb.
</p>

<div class="py-2 text-center">
Expand Down