-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[material-ui] Replace the Album template with a landing page #37557
Conversation
Netlify deploy previewBundle size report |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
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.
docs/data/material/getting-started/templates/landing-page/components/AppAppBar.js
Show resolved
Hide resolved
docs/data/material/getting-started/templates/landing-page/getLPTheme.tsx
Outdated
Show resolved
Hide resolved
ToggleCustomTheme.propTypes = { | ||
showCustomTheme: PropTypes.shape({ | ||
valueOf: PropTypes.func.isRequired, | ||
}).isRequired, | ||
toggleCustomTheme: PropTypes.func.isRequired, | ||
}; |
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.
Should we remove the proptypes? It's not for everyone especially people who use TypeScript.
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.
It's from docs:typescript:formatted
, isn't it? Also, this is in the js.
file, users who use Typescript will use the .tsx
file, won't they?
Anyway, I leave the decision to you @siriwatknp :)
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.
👍 This is awesome! left one minor comment regarding proptypes.
31afc63
to
11d46c7
Compare
docs/data/material/getting-started/templates/landing-page/getLPTheme.tsx
Show resolved
Hide resolved
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.
Woohoo, I think we're good to go — any further tweaks can come iteratively from this point on. Let's 🚢 it; fantastic work!
Co-authored-by: Diego Andai <diego@mui.com> Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Co-authored-by: siriwatknp <siriwatkunaporn@gmail.com>
Part of #37555
The idea is to transform the existing Album template into a Landing Page template. It's part of our initiative to review and enhance the free templates we offer.
👉 https://deploy-preview-37557--material-ui.netlify.app/material-ui/getting-started/templates/landing-page/