Skip to content

Commit

Permalink
Index page improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
the-teacher committed Jan 27, 2023
1 parent 82baba0 commit 6557c5c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/views/demo/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section>
<div class="header-warning">
We are in: controller &mdash; <b>Articles</b>. Action &mdash; <b>index</b>.
We are in: controller &mdash; <b>Demo</b>. Action &mdash; <b>index</b>.
</div>
</section>

Expand Down
13 changes: 9 additions & 4 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@
<body>
<div class="articles-wrapper">
<header>
<div>
<h1 class="page-header"><a href="https://github.com/the-teacher/rails7-startkit">Rails 7. StartKit</a></h1>
<p class="section-description">
Please tell your friends about this project.
<div style="text-align:center">
<h1 class="page-header">
<a href="https://github.com/the-teacher/rails7-startkit#rails-7-start-kit">
<img width="300px" src="/Rails7.StartKit.jpg" />
</a>
</h1>
<p>
<a href="https://github.com/the-teacher/rails7-startkit#rails-7-start-kit">Rails 7. StartKit.</a> Please tell your friends about this project.
</p>
<br>
</div>
</header>
<main class="articles-block"><%= yield %></main>
Expand Down
Binary file added public/Rails7.StartKit.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6557c5c

Please sign in to comment.