Skip to content

Commit

Permalink
adjust each page's Head component
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Dec 13, 2023
1 parent 3d9fb44 commit 8b3f41e
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 11 deletions.
1 change: 1 addition & 0 deletions docs/pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default function About() {
title="About us - MUI"
description="MUI is a 100% remote globally distributed team, supported by a community of thousands
of developers all across the world."
card="/static/social-previews/about-preview.png"
/>
<AppHeaderBanner />
<AppHeader />
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/base-ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function Core() {
title="Base UI: Ship accessible & sleek components"
description={`Base UI is a library of headless ("unstyled") React UI components and low-level hooks.
You can style them with any CSS solutions like PostCSS or Tailwind CSS.`}
card="/static/blog/introducing-base-ui/card.png"
card="/static/social-previews/baseui-preview.png"
>
{/* eslint-disable-next-line @next/next/no-page-custom-font */}
<link
Expand Down
1 change: 1 addition & 0 deletions docs/pages/blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ export default function Blog(props: InferGetStaticPropsType<typeof getStaticProp
<Head
title="Blog - MUI"
description="Follow the MUI blog to learn about new product features, latest advancements in UI development, and business initiatives."
card="/static/social-previews/blog-preview.png"
disableAlternateLocale
/>
<AppHeader />
Expand Down
1 change: 1 addition & 0 deletions docs/pages/careers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ export default function Careers() {
<Head
title="Careers - MUI"
description="Interested in joining MUI? Learn about the roles we're hiring for."
card="/static/social-previews/careers-preview.png"
/>
<AppHeaderBanner />
<AppHeader />
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/core.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ export default function Core() {
return (
<BrandingCssVarsProvider>
<Head
title="MUI Core: Ready to use components, free forever"
title="MUI Core: Ready-to-use foundational React components, free forever."
description="Get a growing list of React components, ready-to-use, free forever and with accessibility always in mind."
card="/static/social-previews/core-preview.jpg"
card="/static/social-previews/core-preview.png"
/>
<AppHeaderBanner />
<AppHeader gitHubRepository="https://github.com/mui/material-ui" />
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/design-kits.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function DesignKits() {
<Head
title="Material UI in your favorite design tool"
description="Pick your favorite design tool to enjoy and use Material UI components. Boost consistency and facilitate communication when working with developers."
card="/static/social-previews/designkits-preview.jpg"
card="/static/social-previews/designkits-preview.png"
/>
<AppHeaderBanner />
<AppHeader gitHubRepository="https://github.com/mui/mui-design-kits" />
Expand Down
7 changes: 5 additions & 2 deletions docs/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ export default function Home() {
return (
<BrandingCssVarsProvider>
<Head
title="MUI: The React component library you always wanted"
description="MUI provides a simple, customizable, and accessible library of React components. Follow your own design system, or start with Material Design."
title="MUI: Move faster with intuitive React UI tools"
description="MUI offers a comprehensive suite of free UI tools to help you ship new features faster.
Start with Material UI, our fully-loaded component library, or bring your own design
system to our production-ready components."
card="/static/social-previews/home-preview.png"
>
<script
type="application/ld+json"
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/material-ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export default function Core() {
return (
<BrandingCssVarsProvider>
<Head
title="Material UI: React components based on Material Design"
title="Material UI: Ready to use Material Design components"
description="Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box."
card="/static/social-previews/core-preview.jpg"
card="/static/social-previews/materialui-preview.jpg"
/>
<AppHeaderBanner />
<AppHeader gitHubRepository="https://github.com/mui/material-ui" />
Expand Down
1 change: 1 addition & 0 deletions docs/pages/pricing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default function Pricing() {
<Head
title="Pricing - MUI"
description="The community edition lets you get going right away. Switch to a commercial plan for more components & technical support."
card="/static/social-previews/pricing-preview.png"
/>
<AppHeaderBanner />
<AppHeader />
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/templates.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function Templates() {
<Head
title="Fully built Material UI templates - MUI"
description="A collection of 4.5 average rating templates, selected and curated by MUI's team of maintainers to get your projects up and running today."
card="/static/social-previews/templates-preview.jpg"
card="/static/social-previews/templates-preview.png"
/>
<AppHeaderBanner />
<AppHeader />
Expand Down
4 changes: 2 additions & 2 deletions docs/src/components/productMaterial/MaterialHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ export default function MaterialHero() {
components
</Typography>
<Typography color="text.secondary" sx={{ mb: 3, maxWidth: 500 }}>
Material UI is beautiful by design and features a suite of customization options that
make it easy to implement your own custom design system.
Material UI is an open-source React component library that implements Google&apos;s
Material Design. It&apos;s comprehensive and can be used in production out of the box.
</Typography>
<GetStartedButtons
primaryUrl={ROUTES.materialDocs}
Expand Down

0 comments on commit 8b3f41e

Please sign in to comment.