forked from aymanaboghonim/elmentor-landing-page-clean
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
The current Elmentor Program website is incomplete and deviates from the previously approved clean version. This issue focuses on rebuilding the site using the clean, structured version as the base and incorporating essential enhancements.
Better Version
This update should:
- Replace the current structure with the clean implementation
- Add the two missing Gathering images to the clean version
- Review and update all relevant internal and external links (e.g., DevOps Visions, Community Blog)
- Ensure full alignment with the latest information shared here:
DevOps Visions Blog – About Section
Objectives
- Restore the clean version of the Elmentor website
- Incorporate missing elements and fix inconsistencies
- Ensure all pages and links (e.g., DevOps Visions, Community Blog) are accurate and functional
- Prepare the updated version for public use
Checklist
- Restore the clean version of the website
- Add the two Gathering images
- Review and update all internal/external links
- Match visual and content alignment with the blog’s latest “About” section
Related
Deliverables
Action Taken
1. Update Vite Configuration
- Set the
baseinvite.config.tsto'/':export default defineConfig(() => ({ // ...existing code... base: '/' }))
2. TypeScript Installation
- Install TypeScript as a dev dependency:
npm install --save-dev typescript
3. Manual Root Deployment
- Build your project:
npm run build
- Copy the contents of the
distfolder to the root of your repository (this will overwrite your source files):cp -r dist/* .
- Commit and push to the
mainbranch:git add . git commit -m "Deploy production build to root" git push origin main
- On GitHub, go to Settings → Pages and set the source to the
mainbranch (root). - Your site will be live at: https://elmentorprogram.github.io
4. GitHub Actions Workflow
- The GitHub Actions deployment workflow was initially giving errors
- To prevent it from being triggered on every push, it was converted into a manual workflow dispatch.
5. Submodule Error Fix
- If you see an error about a missing submodule (e.g.,
.temp/pr-fixes/devops-step-by-step):- Remove the submodule reference:
git rm --cached .temp/pr-fixes/devops-step-by-step rm -rf .temp/pr-fixes/devops-step-by-step git commit -m "Remove broken submodule reference" git push
- Remove the submodule reference:
6. Notes
- The
gh-pagesbranch is not needed for this repository name because GitHub Pages for user/organization sites (repos namedusername.github.io) always serves from the root of the main branch. Thegh-pagesbranch is only required for project sites (repos named something other thanusername.github.io).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
🔖 Ready