Skip to content

Commit

Permalink
Use trailing slash URL for backwards compatibility with WordPress and…
Browse files Browse the repository at this point in the history
… default server redirects for folder paths (gatsbyjs/gatsby#9207)
  • Loading branch information
johnnyoshika committed Sep 30, 2020
1 parent 89649ee commit 88e31f5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions src/components/layout/footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,19 @@ const Footer = ({ footerClass }) => {
<div className="footer-nav">
<ul>
<li>
<Link to="/about">About</Link>
<Link to="/about/">About</Link>
</li>
<li>
<Link to="/contact-us">Contact</Link>
<Link to="/contact-us/">Contact</Link>
</li>
<li>
<Link to="/jobcast-faq">FAQ</Link>
<Link to="/jobcast-faq/">FAQ</Link>
</li>
<li>
<Link to="/terms">Terms</Link>
<Link to="/terms/">Terms</Link>
</li>
<li>
<Link to="/privacy">Privacy</Link>
<Link to="/privacy/">Privacy</Link>
</li>
<li>
<a href="https://app.jobcast.net/developer">API</a>
Expand Down
18 changes: 9 additions & 9 deletions src/components/layout/header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,37 +50,37 @@ const Header = ({ headerClass }) => {
<a href="https://app.jobcast.net/dashboard/">Log In</a>
</li>
<li>
<Link to="/plans">Pricing</Link>
<Link to="/plans/">Pricing</Link>
</li>
<li>
<Link to="/job-sync">Job Sync</Link>
<Link to="/job-sync/">Job Sync</Link>
</li>
<li>
<Link to="/blog">Blog</Link>
<Link to="/blog/">Blog</Link>
</li>
<li>
<Link to="/jobcast-tutorials">Tutorials</Link>
<Link to="/jobcast-tutorials/">Tutorials</Link>
</li>
<li>
<a href="http://www.jobcast.net/category/resources/">
Resources
</a>
</li>
<li className="visible-xs">
<Link to="/about">About</Link>
<Link to="/about/">About</Link>
</li>
<li className="visible-xs">
<Link to="/contact-us">Contact</Link>
<Link to="/contact-us/">Contact</Link>
</li>
<li className="visible-xs">
<Link to="/jobcast-faq">FAQ</Link>
<Link to="/jobcast-faq/">FAQ</Link>
</li>

<li className="visible-xs">
<Link to="/terms">Terms</Link>
<Link to="/terms/">Terms</Link>
</li>
<li className="visible-xs">
<Link to="/privacy">Privacy</Link>
<Link to="/privacy/">Privacy</Link>
</li>
<li className="visible-xs">
<a href="https://app.jobcast.net/developer">API</a>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/job-sync/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ const JobSyncPage = () => {
<p>
It is sometimes possible to use Job Sync when the above
conditions are not met. Please{' '}
<Link to="/contact-us">contact us</Link> for consultation.
<Link to="/contact-us/">contact us</Link> for consultation.
</p>
<h2>Support:</h2>
<p>
Questions? <Link to="/contact-us">Contact us</Link> through
Questions? <Link to="/contact-us/">Contact us</Link> through
our in-app Live Chat or email us at{' '}
<a href="mailto:[email protected]">[email protected]</a>.
</p>
Expand Down

0 comments on commit 88e31f5

Please sign in to comment.