Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated job urls to show names instead of id # #122

Merged
merged 1 commit into from
Oct 24, 2024
Merged

Updated job urls to show names instead of id # #122

merged 1 commit into from
Oct 24, 2024

Conversation

gxjansen
Copy link
Member

For better SEO, I updated the URL/slug to use the persons name instead of their database ID

Copy link

netlify bot commented Oct 24, 2024

Deploy Preview for spryker-community ready!

Name Link
🔨 Latest commit b186cd1
🔍 Latest deploy log https://app.netlify.com/sites/spryker-community/deploys/671a9970167fbc0008931340
😎 Deploy Preview https://deploy-preview-122--spryker-community.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@gxjansen gxjansen merged commit 9c87205 into main Oct 24, 2024
5 checks passed
@gxjansen gxjansen deleted the jobs-slug branch October 24, 2024 19:05
@@ -31,9 +31,26 @@ function hasSprykerCertifications(certifications: SprykerCertifications): boolea
return certifications.backEndDeveloper || certifications.solutionArchitect;
}

// Generate URL-friendly slug from first and last name
function generateNameSlug(firstName: string, lastName: string): string {
Copy link
Contributor

@fsmeier fsmeier Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for next time a small suggestion: generateSlugByFirstnameLastname()
the current name does not really tell what it is about; good function/method names are better than comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants