Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[website] Add blog link to # table #43123

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 44 additions & 6 deletions docs/src/components/#/#Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Tooltip from '@mui/material/Tooltip';
import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined';
import { useRouter } from 'next/router';
import KeyboardArrowRightRounded from '@mui/icons-material/KeyboardArrowRightRounded';
import OpenInNewRoundedIcon from '@mui/icons-material/OpenInNewRounded';
import LaunchRounded from '@mui/icons-material/LaunchRounded';
import UnfoldMoreRounded from '@mui/icons-material/UnfoldMoreRounded';
import { Link } from '@mui/docs/Link';
Expand Down Expand Up @@ -149,14 +150,33 @@ export function PlanPrice(props: PlanPriceProps) {
{priceUnit}
</Typography>
</Box>
<Box sx={{ minHeight: planPriceMinHeight }}>
<Box
sx={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
gap: 2,
mb: 2,
minHeight: planPriceMinHeight,
}}
>
{(annual || monthlyDisplay) && (
<Typography variant="body2" sx={{ color: 'text.secondary', textAlign: 'center' }}>
{priceExplanation}
</Typography>
)}
<Typography variant="body2" sx={{ color: 'text.secondary', textAlign: 'center', mb: 3 }}>
{'No additional fee beyond 10 devs.'}

<Typography variant="body2" sx={{ color: 'text.secondary', textAlign: 'center' }}>
No extra fees for orders with over 10 devs&nbsp;
<span>
<Tooltip title="Our # policies are changing. Read more on our blog.">
<Link href="https://mui.com/#">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joserodolfofreitas let me know which link we should have here, I'm using this as a placeholder for now

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<Link href="https://mui.com/#">
<Link href="/blog/mui-x-sep-2024-price-update/">

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in #43141

by Aug 30
<OpenInNewRoundedIcon sx={{ fontSize: '16px', ml: 0.5 }} />
</Link>
</Tooltip>
</span>
.
</Typography>
</Box>
</React.Fragment>
Expand Down Expand Up @@ -217,14 +237,32 @@ export function PlanPrice(props: PlanPriceProps) {
{priceUnit}
</Typography>
</Box>
<Box sx={{ minHeight: planPriceMinHeight }}>
<Box
sx={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
gap: 2,
mb: 2,
minHeight: planPriceMinHeight,
}}
>
{(annual || monthlyDisplay) && (
<Typography variant="body2" sx={{ color: 'text.secondary', textAlign: 'center' }}>
{priceExplanation}
</Typography>
)}
<Typography variant="body2" sx={{ color: 'text.secondary', textAlign: 'center', mb: 2 }}>
🐦 Early bird special (25% off).
<Typography variant="body2" sx={{ color: 'text.secondary', textAlign: 'center' }}>
🐦 Early Bird: <strong>25% off</strong> if ordered &nbsp;
<span>
<Tooltip title="Our # policies are changing. Read more on our blog.">
<Link href="https://mui.com/#">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<Link href="https://mui.com/#">
<Link href="/blog/mui-x-sep-2024-price-update/">

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in #43141

by Aug 30
<OpenInNewRoundedIcon sx={{ fontSize: '16px', ml: 0.5 }} />{' '}
</Link>
</Tooltip>
</span>
.
</Typography>
</Box>
</React.Fragment>
Expand Down
Loading