Comments (12)
I think it might be a slippery slope of follow up problems. Suddenly you are dealing with a change on every structure, also in typography, nested menus, etc.
I’m not confident enough yet to think about this change but it will definitely become more urgent. For now it should hold up ok for the time being as the navigation has enough anchors. But we will need to implement separate pages soon, I agree
from styled-components-website.
Well the menu would stay the same, it's just that the subanchors would link to pages and the main anchor would show a list of subpages with an overview or something?
from styled-components-website.
@mxstbr I think that could work, but frankly, it's tricky to pull off. You're disrupting the flow of the page, and you'll need an index page for them. I think we can do that, but we'll need to test it before we ship it, as I'm unsure whether it'll work well :/
from styled-components-website.
The flow of the page? It's three entirely separate tools put together on one massive page, there's no flow to that right now either!
from styled-components-website.
@mxstbr I’m referring to these sections being part of a page. Once we create sub pages we need to think about switching between them. But the NextPage component could actually help with that?
from styled-components-website.
I'm talking in terms of the layout as a user, not in terms of the code; no idea how the code is set up rn.
To me, having the Babel plugin, the stylelint processor, the Jest matchers all on one page is suuuper weird and hard to navigate. Those should just be their own pages where these tools can live.
from styled-components-website.
@mxstbr yea, I agree that we need to separate them, but also trying to bring up the problems around it :) there just seem to be a lot of questions that need to be answered before we can jump onto implementing it
from styled-components-website.
Once we create sub pages we need to think about switching between them.
Well I mean that's what the breadcrumbs in the sidebar are for, right? That's why we show all the subsections there, so you can jump between them!
from styled-components-website.
Yes, but we’ll need to think about switching to the next page vs the next “topic” I.e. basics → advanced. We can change the NextPage component to display the next page instead of just the next “topic”. That would solve all problems imho
Having just the option to switch to the next page in the sidebar isn’t enough imho, as it prevents people from just reading on, as they’d have to look at the sidebar first
from styled-components-website.
Ahhh yeah sure, that's a code thing though. Agreed.
from styled-components-website.
@mxstbr Well, I was referring to the UX problem, but yea, should we open a separate issue first to collect ideas, or rename this one? I think it already developed into a proper discussion 😆
from styled-components-website.
Let's keep this one about tooling, the NextPage component behaviour wouldn't actually change compared to how it works today until we add the tooling pages so it's more of a refactor than a UX change?
from styled-components-website.
Related Issues (20)
- spe
- Add [project] by [company] to showcase
- Add FAQ on NextJS 13 usage HOT 2
- Add [project] by [company] to showcase HOT 1
- Need a FAQ page added for this HOT 3
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Wrong Link in the docs for v6 migration
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- On the homepage live edit example, the cursor is off by 1 character HOT 1
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase ok
- Inaccurate `shouldForwardProp` description
- Add dark theme to documentation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from styled-components-website.