-
Notifications
You must be signed in to change notification settings - Fork 9
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
Migrated logo page to app router #3649
base: main
Are you sure you want to change the base?
Conversation
Coverage report
Test suite run success13 tests passing in 1 suite. Report generated by 🧪jest coverage report action from 9dbab6b |
Deployed changes to https://app-sswwebsite-9eb3-pr-3649.azurewebsites.net |
PageSpeed Insights
View the full report https://pagespeed.web.dev/report?url=https://app-sswwebsite-9eb3-pr-3649.azurewebsites.net |
Deployed changes to https://app-sswwebsite-9eb3-pr-3649.azurewebsites.net |
PageSpeed Insights
View the full report https://pagespeed.web.dev/report?url=https://app-sswwebsite-9eb3-pr-3649.azurewebsites.net |
const seo = tinaProps.props.seo; | ||
|
||
if (seo && !seo.canonical) { | ||
seo.canonical = `${tinaProps.props.header.url}logo/${params.filename}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seo.canonical = `${tinaProps.props.header.url}logo/${params.filename}`; | |
seo.canonical = `${tinaProps.props.header.url}logo${params.filename ? `/${params.filename}`: ""}`; |
this is when the canonical is empty and params.filename is undefined for index page
Affected routes: /logo and /logo/*
Fixed ♻️ App Router migration - Logo #3166
If adding a new page, I have followed the 📃 New Webpage issue template
Include done video or screenshots
Figure: /logo page
Figure: /logo/ssw page