Skip to content

Commit

Permalink
enable_website_banner on marketing pages
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Aug 26, 2024
1 parent 9391a7b commit 421aea9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions docs/src/components/banner/AppHeaderBanner.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as React from 'react';
import Typography from '@mui/material/Typography';
import { Link } from '@mui/docs/Link';
import ROUTES from 'docs/src/route';
import FEATURE_TOGGLE from 'docs/src/featureToggle';

function getSurveyMessage() {
Expand Down Expand Up @@ -29,10 +28,9 @@ function getSurveyMessage() {
function getDefaultHiringMessage() {
return (
<React.Fragment>
🚀&#160;&#160;We&apos;re hiring a Designer, Full-stack Engineer, React Community Engineer, and
more!&nbsp;&#160;
🎉&#160;Material UI v6 is out now! Check out the&#160;
<Link
href={ROUTES.careers} // Fix me!
href="https://mui.com/blog/material-ui-v6-is-out"
target="_blank"
color="inherit"
underline="always"
Expand All @@ -42,8 +40,9 @@ function getDefaultHiringMessage() {
},
}}
>
Check the careers page
announcement blog post
</Link>
.
</React.Fragment>
);
}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/featureToggle.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// need to use commonjs export so that @mui/internal-markdown can use
module.exports = {
enable_website_banner: false,
enable_website_banner: true,
enable_toc_banner: true,
enable_docsnav_banner: true,
enable_job_banner: false,
Expand Down

0 comments on commit 421aea9

Please sign in to comment.