Skip to content

Comments

Fixed seo meta for pages#319

Merged
geoff-maddock merged 1 commit intomainfrom
seo-flavortext-improvements-B
Dec 3, 2025
Merged

Fixed seo meta for pages#319
geoff-maddock merged 1 commit intomainfrom
seo-flavortext-improvements-B

Conversation

@geoff-maddock
Copy link
Owner

No description provided.

@vercel
Copy link

vercel bot commented Dec 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
arcane-city-frontend Ready Ready Preview Comment Dec 3, 2025 7:47am

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

📦 Build Size Report

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

✅ PR Checks Complete

Tests Status: success
Node.js Version: 20.x
Commit: c2ca5f5

All tests in src/__tests__ have been executed.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR consolidates SEO meta tag management by moving meta tags from static HTML to router-managed configuration in src/routes/root.tsx. This enables dynamic meta tag generation for different routes while maintaining consistent SEO properties across the application.

  • Moved meta tags (Open Graph, Twitter Card, keywords) from index.html to the root route configuration
  • Added og:url and twitter:url meta tags for better social media sharing
  • Enhanced site.webmanifest description to be more specific about Pittsburgh focus

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
index.html Removed static meta tags (title, description, Open Graph, Twitter Card) and replaced with comment indicating router-managed content
src/routes/root.tsx Added keywords meta tag and og:url/twitter:url properties to router-managed meta tags
public/site.webmanifest Updated description to emphasize Pittsburgh music and arts focus

{ property: 'og:title', content: SITE_NAME },
{ property: 'og:description', content: SITE_DESCRIPTION },
{ property: 'og:image', content: DEFAULT_IMAGE },
{ property: 'og:url', content: 'https://arcane.city/' },
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The URL is hardcoded instead of using the existing SITE_ORIGIN constant. This should be changed to content: SITE_ORIGIN + '/' to maintain consistency with the rest of the codebase and avoid hardcoding URLs. The SITE_ORIGIN constant is already imported from '../lib/seo' and handles both client-side and server-side rendering.

Copilot uses AI. Check for mistakes.
Copy link
Owner Author

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback

{ name: 'twitter:title', content: SITE_NAME },
{ name: 'twitter:description', content: SITE_DESCRIPTION },
{ name: 'twitter:image', content: DEFAULT_IMAGE },
{ name: 'twitter:url', content: 'https://arcane.city/' },
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The URL is hardcoded instead of using the existing SITE_ORIGIN constant. This should be changed to content: SITE_ORIGIN + '/' to maintain consistency with the rest of the codebase and avoid hardcoding URLs. The SITE_ORIGIN constant is already imported from '../lib/seo' and handles both client-side and server-side rendering.

Copilot uses AI. Check for mistakes.
Copy link
Owner Author

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback

Copy link
Contributor

Copilot AI commented Dec 3, 2025

@geoff-maddock I've opened a new pull request, #320, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI commented Dec 3, 2025

@geoff-maddock I've opened a new pull request, #321, to work on those changes. Once the pull request is ready, I'll request review from you.

@geoff-maddock geoff-maddock merged commit b60134f into main Dec 3, 2025
15 checks passed
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