Skip to content

Commit

Permalink
Better asset paths
Browse files Browse the repository at this point in the history
  • Loading branch information
pat committed May 11, 2019
1 parent 47e7946 commit 0a1941b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/pages/_notice.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section class="divider-1 text-white py-6 justify-center" style="background-image: url(<%= asset_url('/assets/roro-pattern.png') %>)">
<section class="divider-1 text-white py-6 justify-center" style="background-image: url(<%= asset_url('roro-pattern.png') %>)">
<div class="md:ml-10 max-w-md mx-4 justify-center text-center">
<a class="border-pink border-2 text-pink font-mono no-underline hover:bg-pink hover:text-white text-bold bg-white py-2 px-5 shadow-md" href="<%= url %>" title="<%= title %>">
<%= text %>
Expand Down
6 changes: 3 additions & 3 deletions app/views/pages/welcome.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<a href="#about" class="cta">About Us</a>
</article>

<div class="divider-2" style="background-image: url(<%= asset_url('/assets/roro-pattern.png') %>)">&nbsp;</div>
<div class="divider-2" style="background-image: url(<%= asset_url('roro-pattern.png') %>)">&nbsp;</div>

<article id="in-person" class="welcome md:ml-10">
<h2>Meeting in Person</h2>
Expand All @@ -63,7 +63,7 @@
</ul>
</article>

<div class="divider-3" style="background-image: url(<%= asset_url('/assets/roro-pattern.png') %>)">&nbsp;</div>
<div class="divider-3" style="background-image: url(<%= asset_url('roro-pattern.png') %>)">&nbsp;</div>

<article id="online" class="welcome md:ml-10">
<h2>Connecting Online</h2>
Expand All @@ -77,7 +77,7 @@
</p>
</article>

<div class="divider-4" style="background-image: url(<%= asset_url('/assets/roro-pattern.png') %>)">&nbsp;</div>
<div class="divider-4" style="background-image: url(<%= asset_url('roro-pattern.png') %>)">&nbsp;</div>

<article id="about" class="welcome md:ml-10">
<h2>About Us</h2>
Expand Down

0 comments on commit 0a1941b

Please sign in to comment.