Changes: - Added api/responses/notFound.js, an updated version of the notFound response built into Sails that sets a `hideFooter` page local variable to hide the website footer on the 404 page. - Updated the styles and layout of the 404 page to match the latest wireframes. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **New Features** * Completely redesigned the 404 error page with refreshed content and a more modern layout. * Added new visual styling, including animated interactive elements on the 404 page. * **Bug Fixes** * Improved 404 response handling to consistently return the correct status for JSON requests and render the 404 page when available. * Ensures the 404 page can render cleanly even if view rendering fails, and hides the footer for a cleaner error-page presentation. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
21 lines
844 B
Plaintext
Vendored
21 lines
844 B
Plaintext
Vendored
<div id="404">
|
||
<div purpose="page-container">
|
||
<div purpose="page-content">
|
||
<div purpose="404-image">
|
||
<img alt="404" src="/images/404-774x486@2x.png">
|
||
</div>
|
||
<h2>404: We can’t find that page!</h2>
|
||
<p>The page you are looking for has either moved, or doesn’t exist.</p>
|
||
<div>
|
||
<a purpose="animated-arrow-button" href="/support" no-underline>
|
||
Get help with Fleet
|
||
<svg purpose="animated-arrow" xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12">
|
||
<path purpose="arrow-line" d="M1 6H9" stroke-width="2" stroke-linecap="round"/>
|
||
<path purpose="chevron" d="M1.35712 1L5.64283 6L1.35712 11" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||
</svg>
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|