Skip to content

Conversation

@Jared-Dev
Copy link
Contributor

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)!

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)!
@Jared-Dev Jared-Dev requested a review from a team March 16, 2019 23:51
@sidharthachatterjee sidharthachatterjee requested a review from fk March 18, 2019 15:42
Copy link
Contributor

@sidharthachatterjee sidharthachatterjee left a 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)`,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Lg: `(min-width: 1050px)`,
Lg: `(min-width: 1000px)`,

Can we avoid changing the breakpoint?

Copy link
Contributor Author

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.

Copy link
Contributor

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]).

Copy link
Contributor

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:

image

@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.

Copy link
Contributor Author

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)`,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
lg: `@media (min-width: 1050px)`,
lg: `@media (min-width: 1000px)`,

@fk
Copy link
Contributor

fk commented Mar 18, 2019

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!

@Jared-Dev
Copy link
Contributor Author

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).

@KyleAMathews
Copy link
Contributor

I'd rather not add more items to the top nav — there's quite a few there already.

An alternative proposal #12767

@LekoArts
Copy link
Contributor

@KyleAMathews Can we close this PR as #12767 was fixed?

@KyleAMathews
Copy link
Contributor

Yup! Thanks @LekoArts for following up on this and for others who worked on fixing this issue.

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.

5 participants