-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Basic Welcome & Contact Us Pages with Links
- Loading branch information
Showing
4 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<h1>Contact</h1> | ||
|
||
<p>We are always happy to hear from our customers !</p> | ||
|
||
<p>Phone: <%= @phone_number %></p> | ||
|
||
<p>Press: <a href="mailto:[email protected]">[email protected]</a></p> | ||
<p>Or Press: <%= mail_to('[email protected]') %></p> | ||
|
||
<%= link_to('Go to Welcome Page', {:action => 'welcome_page'}) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
<h1>Guitars#welcomePage</h1> | ||
<h1>Welcome to My Guitar Store</h1> | ||
|
||
<%= link_to('Go to Contact Us (us)', {:action => 'contact', :country => 'us'}) %><br /> | ||
<%= link_to('Go to Contact Us (uk)', {:action => 'contact', :country => 'uk'}) %><br /> | ||
<%= link_to('Go to Contact Us (no query parameter)', {:action => 'contact'}) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters