Améliore l’usabilité mobile, le SEO technique et le partage des jobs#3
Draft
ERIC74SONG96 wants to merge 2 commits into
Draft
Améliore l’usabilité mobile, le SEO technique et le partage des jobs#3ERIC74SONG96 wants to merge 2 commits into
ERIC74SONG96 wants to merge 2 commits into
Conversation
Co-authored-by: ERIC74SONG96 <ERIC74SONG96@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: ERIC74SONG96 <ERIC74SONG96@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Résumé
Cette PR corrige les points d’usabilité/SEO et ajoute une solution au problème de partage des annonces jobs : chaque annonce possède désormais une URL de partage dédiée avec métadonnées spécifiques (titre/description/image).
Changements déjà inclus (itération précédente)
rel="canonical"par route ;aria-expanded;Escapeet clic hors menu.Nouveaux changements (partage des jobs)
/api/job-share(api/job-share.js) qui :idvia Supabase ;og:title,og:description,og:image,twitter:*,canonical;assets/js/student-jobs.mjs) :#job-...;https://www.studyalready.com/offres-etudiants/job/<id>.vercel.json) :/offres-etudiants/job/:id→/api/job-share?id=:id.Pourquoi c’est nécessaire
#job-...ne permettent pas un aperçu social spécifique (WhatsApp/Facebook ignorent les fragments hash).Validation
npm run build✅npm run check✅api/job-shareavec IDs d’annonces réelles : statut200+og:titlespécifique ✅