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

SEO Improvements #172

Merged
merged 12 commits into from
Feb 28, 2025
Merged

SEO Improvements #172

merged 12 commits into from
Feb 28, 2025

Conversation

Yensid10
Copy link
Contributor

This pull request includes several changes aimed at improving the codebase, primarily focusing on enhancing SEO, adding image alt attributes for better accessibility, and updating configurations. The most important changes include updates to the Astro configuration, the addition of alt attributes to images, and SEO improvements.

Configuration Updates:

  • astro.config.ts: Added the sitemap integration and updated the inspectUrls configuration to use single quotes. [1] [2]
  • .prettierrc.js: Included mdx files in the Prettier configuration.
  • .prettierignore: Ignored a specific MDX file with JSX comments.

Accessibility Improvements:

SEO Improvements:

Content Updates:

Code Style and Formatting:

They were fixed by commenting out an old link to a "training.html" that doesn't exist anymore (retaining the rest of the page), and changing a link to use mailto for an email address (same as what was used in the careers page)
Added an "s" to an http link, fixed a broken link and found that when on a blog and selecting the category (which will then filter the blogs for that category), it doesn't display anything, this needs to be fixed in the future or the functionality should just be removed.
Integrated @astrojs/sitemap with a filter to exclude pages with query parameters. Added robots meta tag to blog posts to prevent indexing, subsequently updating the Layout.astro to support optional robots meta tag configuration. Finally, I compressed some blog post images to ensure they are not too large when turned into webp's.
For indexing purposes, there can only be a single h1 per page, for most blog posts since there was a title in h1 already, I had to adjust the rest to the rest of the subtitles to be h2 and below, For the careers page, each position listing had an h1, so I changed this. For the "Team" pages,  there were two h1's within the greetings that needed to be adjusted. Finally, an adjustment to prettierignore had to be made to avoid a formatting problem.
I've added meta titles, titles, descriptions and h1's to help enhance the SEO of multiple pages.
Added meta descriptions to various pages that were missing them (with the help of ai). Prettier also helped to format multiple files.
I increased or decreased the size for meta descriptions to best fit their ability within SEO scores, usually between 100-150 characters. There are also some code formatting adjustments.
Added and modified the length of title metadata in critical pages on the astro website.
Most of these errors were due to the footer not having proper alt text, which is found on most pages. The same can be said for the recommended blog cards and author images, so they now have text too. Two contact us pages also needed alt text for company images.
Had accidently used ' 3 times within descriptions, which I've not adjusted to use ", fixing the error.
I've adjusted the h1's so that they span the whole greetings title, allowing them to include the important SEO info!
@Yensid10 Yensid10 added the enhancement New feature or request label Feb 28, 2025
@Yensid10 Yensid10 self-assigned this Feb 28, 2025
Copy link

netlify bot commented Feb 28, 2025

Deploy Preview for juxt-website ready!

Name Link
🔨 Latest commit 1399ec6
🔍 Latest deploy log https://app.netlify.com/sites/juxt-website/deploys/67c1d5f7bfabc50007f31dfd
😎 Deploy Preview https://deploy-preview-172--juxt-website.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.

@Yensid10 Yensid10 merged commit d1d2348 into juxt:main Feb 28, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant