- Implement header and footer partials for better layout - Create a full_title helper method for dynamic page titles - Update application layout to use new header and footer - Add typography styles for improved text presentation These changes enhance the overall structure of the application by introducing reusable header and footer components, which improves maintainability. The full_title helper method allows for dynamic titles across different pages, providing a consistent user experience. Additionally, typography styles have been added to improve readability and aesthetics.
13 lines
382 B
Plaintext
13 lines
382 B
Plaintext
<footer class="footer">
|
|
<small>
|
|
The <a href="https://www.railstutorial.org">Ruby on Rails Tutorial</a>
|
|
by <a href="https://www.michaelhartl.com">Michael Hartl</a>
|
|
</small>
|
|
<nav>
|
|
<ul>
|
|
<li><%= link_to "About", '#' %></li>
|
|
<li><%= link_to "Contact", '#' %></li>
|
|
<li><a href="https://news.railstutorial.org">News</a></li>
|
|
</ul>
|
|
</nav>
|
|
</footer> |