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

content/issue 75 final content and site review #127

Merged
merged 12 commits into from
Nov 7, 2024

Conversation

thescientist13
Copy link
Member

@thescientist13 thescientist13 commented Nov 3, 2024

Related Issue

resolves #75

Summary of Changes

  1. Final content walk throughs (formatting, examples, grammar, typos, etc)
  2. Audit all links and make sure they don't 404 (created a little link checker script)
  3. Thin out inline style highlighting (shifts text too awkwardly)
  4. ToC menu on mobile doesn't have enough contrast when floating above the content
  5. "Edit on GitHub" button was little big on mobile

TODO

  1. Just hide "Edit on GitHub" button on mobile / tablet breakpoints?

@thescientist13 thescientist13 added enhancement New feature or request content Non Greenwood specific content like home page copy text, blog posts, etc labels Nov 3, 2024
Copy link

netlify bot commented Nov 3, 2024

Deploy Preview for super-tapioca-5987ce ready!

Name Link
🔨 Latest commit 5cccdef
🔍 Latest deploy log https://app.netlify.com/sites/super-tapioca-5987ce/deploys/672c0844f48224000823bf19
😎 Deploy Preview https://deploy-preview-127--super-tapioca-5987ce.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.

@thescientist13 thescientist13 added docs Greenwood specific content like docs and guides content Non Greenwood specific content like home page copy text, blog posts, etc question Further information is requested and removed content Non Greenwood specific content like home page copy text, blog posts, etc labels Nov 3, 2024
@thescientist13 thescientist13 linked an issue Nov 6, 2024 that may be closed by this pull request

links.forEach((link) => {
if (!route.startsWith("/blog/") && link.getAttribute("href").startsWith("/")) {
const linkUrl = new URL(`https://www.greenwoodjs.dev${link.getAttribute("href")}`);
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit pick.. the URL() class can take 2 arguments, which would avoid the string concat.

Suggested change
const linkUrl = new URL(`https://www.greenwoodjs.dev${link.getAttribute("href")}`);
const linkUrl = new URL(link.getAttribute("href"), 'https://www.greenwoodjs.dev');

https://developer.mozilla.org/en-US/docs/Web/API/URL/URL#parameters

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh right, I always forget about that lol. Next time! (Or happy to accept a PR for it 👍)

@thescientist13 thescientist13 merged commit 5415d00 into main Nov 7, 2024
5 checks passed
@thescientist13 thescientist13 deleted the content/issue-75-final-content-and-site-review branch November 7, 2024 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Non Greenwood specific content like home page copy text, blog posts, etc docs Greenwood specific content like docs and guides enhancement New feature or request question Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wrong link on beta site final site and content review
2 participants