-
Notifications
You must be signed in to change notification settings - Fork 119
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
feat(page-header): add PageHeaderSeparator, also use page header on docs site #3731
Conversation
|
🦋 Changeset detectedLatest commit: 77d9bd8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 77d9bd8:
|
Size Change: +59 B (0%) Total Size: 1.01 MB
ℹ️ View Unchanged
|
Passing run #7492 ↗︎Details:
Review all test suite changes for PR #3731 ↗︎ |
Passing run #7494 ↗︎Details:
Review all test suite changes for PR #3731 ↗︎ |
packages/paste-website/src/component-examples/PageHeaderExamples.ts
Outdated
Show resolved
Hide resolved
packages/paste-website/src/components/shortcodes/generic-header/index.tsx
Outdated
Show resolved
Hide resolved
packages/paste-website/src/pages/components/page-header/index.mdx
Outdated
Show resolved
Hide resolved
packages/paste-website/src/components/shortcodes/generic-header/index.tsx
Show resolved
Hide resolved
@@ -4,6 +4,8 @@ export const meta = { | |||
slug: '/blog/', | |||
}; | |||
|
|||
import {PageHeader, PageHeaderDetails, PageHeaderHeading} from '@twilio-paste/page-header'; | |||
|
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.
suggestion(non-blocking): unsure on feasibility, but... similarly to what I did for Component pages, which you haven't had to update the mdx files for, if we were going to make a big improvement, we could explore layouts for pattern pages, foundation pages, content pages etc, use the page meta
object to pass in the data needed to the layout to render the page header for each.
then you wouldn't need to import any of the page header compoents into the mdx pages.
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.
yeah that would be ideal...
287f807
to
ae88a26
Compare
c2f58ca
to
77d9bd8
Compare
No description provided.