-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Add a nav link to the Gatsby Starters #12622
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
Conversation
I consistently have to do a search via a search engine to get to the starters. Using the Algolia search ends up taking me to the docs which will finally get me to the starters. I find the starters to be a huge benefit to Gatsby and think having a nav link directly to them would be a benefit to people starting out with Gatsby (or that just want an easier way to get to them)!
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.
Seems like a useful link to add! Left a small comment
@fk What do you think?
| md: `@media (min-width: 750px)`, | ||
| Lg: `(min-width: 1000px)`, | ||
| lg: `@media (min-width: 1000px)`, | ||
| Lg: `(min-width: 1050px)`, |
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.
| Lg: `(min-width: 1050px)`, | |
| Lg: `(min-width: 1000px)`, |
Can we avoid changing the breakpoint?
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.
You can, but it causes a horizontal scroll-bar.
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.
I agree with @sidharthachatterjee — we shouldn't adjust the breakpoint constant, but instead opt-out of using it to define when the mobile navigation is hidden/shown, and instead use a bespoke media query (@media (min-width: [whatever value we actually need]).
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.
On another note, I worked on #12603 over the weekend, which (among other stuff) changes how the main navigation items look, which gains us a bit of space:
@sidharthachatterjee #12603 is ready to go — maybe we merge that, and then check how things look here with the "Starters" item added? Happy to merge master here.
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.
Dropping the uppercase does seem to fix the spacing issue even with the breakpoint reset to 1000px and leaving starters in place.
| Lg: `(min-width: 1000px)`, | ||
| lg: `@media (min-width: 1000px)`, | ||
| Lg: `(min-width: 1050px)`, | ||
| lg: `@media (min-width: 1050px)`, |
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.
| lg: `@media (min-width: 1050px)`, | |
| lg: `@media (min-width: 1000px)`, |
|
Good call @Jared-Dev! FWIW, we discussed grouping "Plugins" and "Starters" in a new (already existing) landing page "Ecosystem" (https://www.gatsbyjs.org/ecosystem/) last year, which could replace the current "Plugins" item in the main navigation, and would resolve the space issue — but I can see how it helps having both "Plugins" and "Starters" in the main navigation. I'll bring that question up with the team again! |
|
Not sure how I missed that! I didn't even realize Starters existed until @kkemple introduced them to me (I was looking for a TypeScript based setup). I personally would prefer a direct link in the main nav! If you guys have an A/B framework in place however it could be a really interesting test to see how the two options get used though (Plugins + Starters vs. Ecosystem). |
|
I'd rather not add more items to the top nav — there's quite a few there already. An alternative proposal #12767 |
|
@KyleAMathews Can we close this PR as #12767 was fixed? |
|
Yup! Thanks @LekoArts for following up on this and for others who worked on fixing this issue. |

Description
I consistently have to do a search via a search engine to get to the
starters. Using the Algolia search ends up taking me to the docs
which will finally get me to the starters. I find the starters to be a
huge benefit to Gatsby and think having a nav link directly to them
would be a benefit to people starting out with Gatsby (or that just
want an easier way to get to them)!