Skip to content

Commit

Permalink
[docs] Add banner pointing to "Whats new" in MUI X page (#36074)
Browse files Browse the repository at this point in the history
  • Loading branch information
joserodolfofreitas committed Feb 6, 2023
1 parent fad62e6 commit 435680d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions docs/src/components/banner/AppFrameBanner.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import * as React from 'react';
import Link from 'docs/src/modules/components/Link';
import ROUTES from 'docs/src/route';
import FEATURE_TOGGLE from 'docs/src/featureToggle';
import { alpha } from '@mui/material/styles';

export default function AppFrameBanner() {
return FEATURE_TOGGLE.enable_docsnav_banner ? (
<Link
href={ROUTES.careers} // Fix me!
href="https://next.mui.com/x/whats-new/"
target="_blank"
variant="caption"
sx={(theme) => ({
Expand Down Expand Up @@ -40,8 +39,7 @@ export default function AppFrameBanner() {
},
})}
>
🚀&#160;&#160;We&apos;re hiring a Designer, Full-stack Engineer, React Support Engineer, and
more!&nbsp;
🚀 MUI X v6-beta is out! Discover what&apos;s new and get started now!
<br />
</Link>
) : null;
Expand Down
2 changes: 1 addition & 1 deletion docs/src/featureToggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
module.exports = {
enable_website_banner: false,
enable_toc_banner: true,
enable_docsnav_banner: false,
enable_docsnav_banner: true,
};

0 comments on commit 435680d

Please sign in to comment.