Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here’s a generated Pull Request (PR) message based on your description for GitHub:
Pull Request: Custom 404 Page Implementation
Issue: #168
Description:
This Pull Request (PR) introduces a custom 404 "Not Found" page for the CodeIt application, enhancing the user experience when navigating to non-existent pages. The new design ensures a seamless and visually consistent experience.
Key Features:
User-Friendly Design:
The custom 404 page presents a clear message indicating that the requested page could not be found. It includes suggestions for next steps, such as returning to the homepage or exploring other sections of the website.
Consistent Branding:
The page follows the overall branding of CodeIt, maintaining aesthetic consistency throughout the application.
Dynamic Logo Display:
The logo dynamically switches between light and dark modes, based on user preferences, by using the
next-themes
package. The appropriate logo is shown based on the active theme, ensuring a cohesive look.Implementation Details:
/pages/error404.html
and the css and js files are located in/resources/error404.css
and/resources/error404.js
./images/Nomenclature.png
.next-themes
package, allowing the correct logo to be displayed in light or dark mode.Testing:
.htlaccess
Please review the changes and merge this PR at your earliest convenience.
Thank you!
This PR message is structured to explain the changes clearly for easy review and provides all necessary information for merging into the main branch.