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

Migrated logo page to app router #3649

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Migrated logo page to app router #3649

wants to merge 3 commits into from

Conversation

babakamyljanovssw
Copy link
Member

@babakamyljanovssw babakamyljanovssw commented Feb 26, 2025

image
Figure: /logo page

image
Figure: /logo/ssw page

@babakamyljanovssw babakamyljanovssw marked this pull request as draft February 26, 2025 06:14
Copy link
Contributor

github-actions bot commented Feb 26, 2025

Coverage report

St.
Category Percentage Covered / Total
🔴 Statements 0.19% 69/36817
🔴 Branches 5.97% 24/402
🔴 Functions 0.79% 3/381
🔴 Lines 0.19% 69/36817

Test suite run success

13 tests passing in 1 suite.

Report generated by 🧪jest coverage report action from 9dbab6b

@babakamyljanovssw babakamyljanovssw marked this pull request as ready for review February 26, 2025 08:12
Copy link
Contributor

Deployed changes to https://app-sswwebsite-9eb3-pr-3649.azurewebsites.net

Copy link
Contributor

PageSpeed Insights

Category Score
Accessibility 95
Best practices 96
Performance 69
SEO 69

View the full report https://pagespeed.web.dev/report?url=https://app-sswwebsite-9eb3-pr-3649.azurewebsites.net

Copy link
Contributor

Deployed changes to https://app-sswwebsite-9eb3-pr-3649.azurewebsites.net

Copy link
Contributor

PageSpeed Insights

Category Score
Accessibility 95
Best practices 96
Performance 54
SEO 69

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}`;
Copy link
Member

@amankumarrr amankumarrr Feb 26, 2025

Choose a reason for hiding this comment

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

Suggested change
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

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.

♻️ App Router migration - Logo
2 participants