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

fix: remove date from whitepaper page #13645 #13687

Closed
wants to merge 1 commit into from

Conversation

gks2022004
Copy link
Contributor

@gks2022004 gks2022004 commented Aug 20, 2024

remove date from the whitepaper page

Description

This pull request modifies the Static Layout component to hide the "Page last updated" text specifically on the Whitepaper page. The change involves adding a conditional check to prevent rendering the timestamp for the /whitepaper route.

The main changes include:

  1. Added a condition to check both the slug and asPath before rendering the "Last Updated" text.
  2. The text will now only render if the page is not the Whitepaper page.

Issue link

#13645
Fixes 13645 - remove date from whitepaper

Copy link

netlify bot commented Aug 20, 2024

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 104b730
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/66c431298d76a70008dd3f92
😎 Deploy Preview https://deploy-preview-13687--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 45 (🔴 down 4 from production)
Accessibility: 93 (no change from production)
Best Practices: 83 (🔴 down 9 from production)
SEO: 93 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

@gks2022004 gks2022004 changed the title Resolves: Bug report: remove date from whitepaper page #13645 fix: remove date from whitepaper page #13645 Aug 20, 2024
@gks2022004 gks2022004 closed this Aug 23, 2024
@github-actions github-actions bot added the abandoned This has been abandoned or will not be implemented label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
abandoned This has been abandoned or will not be implemented
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant