Fix: Ensure footer links work across all pages#331
Fix: Ensure footer links work across all pages#331sresandhya wants to merge 2 commits intoopensource-society:mainfrom
Conversation
There was a problem hiding this comment.
Greptile Summary
This PR addresses broken footer links across the CodeClip application by updating them to use absolute paths with the /CodeClip/ prefix. The changes are specifically made to fix navigation issues that occur when the site is deployed on GitHub Pages, where the repository name becomes part of the URL path structure.
The main changes include:
- Converting footer navigation links from relative paths (like
/for home) to absolute paths with the/CodeClip/prefix (e.g.,/CodeClip/index.html) - Replacing placeholder community links (
#) with actual URLs for GitHub, Discord, and Twitter - Ensuring consistent path structure for footer links to work properly in the hosted environment
This change fits into the broader codebase architecture by addressing a common deployment concern. The CodeClip application is designed to be hosted on GitHub Pages, which serves repositories at a subpath (username.github.io/CodeClip/). Without proper absolute paths, navigation would break when users try to access different pages from the footer links.
Confidence score: 2/5
- This PR has significant issues that need to be addressed before merging, particularly HTML structure problems and navigation inconsistencies.
- The score is low due to invalid HTML structure in the community section where anchor tags are placed directly inside a
<ul>element without<li>wrappers, and inconsistent navigation paths between header and footer. - The
pages/challenges.htmlfile needs more attention to fix the HTML structure issues and ensure navigation consistency across the entire page.
1 file reviewed, 1 comment
|
Hi! I've fixed the HTML structure issues and updated the community links using proper |
No description provided.