Skip to content
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][docs] Remove links and interdependencies from free templates #41941

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default function Checkout() {
<Button
startIcon={<ArrowBackRoundedIcon />}
component="a"
href="/material-ui/getting-started/templates/landing-page/"
href="/material-ui/getting-started/templates/"
sx={{ ml: '-8px' }}
>
Back to
Expand Down Expand Up @@ -198,7 +198,7 @@ export default function Checkout() {
<Button
startIcon={<ArrowBackRoundedIcon />}
component="a"
href="/material-ui/getting-started/templates/landing-page/"
href="/material-ui/getting-started/templates/"
sx={{ alignSelf: 'start' }}
>
Back to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export default function Checkout() {
<Button
startIcon={<ArrowBackRoundedIcon />}
component="a"
href="/material-ui/getting-started/templates/landing-page/"
href="/material-ui/getting-started/templates/"
sx={{ ml: '-8px' }}
>
Back to
Expand Down Expand Up @@ -199,7 +199,7 @@ export default function Checkout() {
<Button
startIcon={<ArrowBackRoundedIcon />}
component="a"
href="/material-ui/getting-started/templates/landing-page/"
href="/material-ui/getting-started/templates/"
sx={{ alignSelf: 'start' }}
>
Back to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,24 +131,10 @@ function AppAppBar({ mode, toggleColorMode }) {
}}
>
<ToggleColorMode mode={mode} toggleColorMode={toggleColorMode} />
<Button
color="primary"
variant="text"
size="small"
component="a"
href="/material-ui/getting-started/templates/sign-in/"
target="_blank"
>
<Button color="primary" variant="text" size="small">
Sign in
</Button>
<Button
color="primary"
variant="contained"
size="small"
component="a"
href="/material-ui/getting-started/templates/sign-up/"
target="_blank"
>
<Button color="primary" variant="contained" size="small">
Sign up
</Button>
</Box>
Expand Down Expand Up @@ -190,26 +176,12 @@ function AppAppBar({ mode, toggleColorMode }) {
</MenuItem>
<MenuItem onClick={() => scrollToSection('faq')}>FAQ</MenuItem>
<MenuItem>
<Button
color="primary"
variant="contained"
component="a"
href="/material-ui/getting-started/templates/sign-up/"
target="_blank"
fullWidth
>
<Button color="primary" variant="contained" fullWidth>
Sign up
</Button>
</MenuItem>
<MenuItem>
<Button
color="primary"
variant="outlined"
component="a"
href="/material-ui/getting-started/templates/sign-in/"
target="_blank"
fullWidth
>
<Button color="primary" variant="outlined" fullWidth>
Sign in
</Button>
</MenuItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,24 +135,10 @@ export default function AppAppBar({ mode, toggleColorMode }: AppAppBarProps) {
}}
>
<ToggleColorMode mode={mode} toggleColorMode={toggleColorMode} />
<Button
color="primary"
variant="text"
size="small"
component="a"
href="/material-ui/getting-started/templates/sign-in/"
target="_blank"
>
<Button color="primary" variant="text" size="small">
Sign in
</Button>
<Button
color="primary"
variant="contained"
size="small"
component="a"
href="/material-ui/getting-started/templates/sign-up/"
target="_blank"
>
<Button color="primary" variant="contained" size="small">
Sign up
</Button>
</Box>
Expand Down Expand Up @@ -194,26 +180,12 @@ export default function AppAppBar({ mode, toggleColorMode }: AppAppBarProps) {
</MenuItem>
<MenuItem onClick={() => scrollToSection('faq')}>FAQ</MenuItem>
<MenuItem>
<Button
color="primary"
variant="contained"
component="a"
href="/material-ui/getting-started/templates/sign-up/"
target="_blank"
fullWidth
>
<Button color="primary" variant="contained" fullWidth>
Sign up
</Button>
</MenuItem>
<MenuItem>
<Button
color="primary"
variant="outlined"
component="a"
href="/material-ui/getting-started/templates/sign-in/"
target="_blank"
fullWidth
>
<Button color="primary" variant="outlined" fullWidth>
Sign in
</Button>
</MenuItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,7 @@ export default function Pricing() {
))}
</CardContent>
<CardActions>
<Button
fullWidth
variant={tier.buttonVariant}
component="a"
href="/material-ui/getting-started/templates/checkout/"
target="_blank"
>
<Button fullWidth variant={tier.buttonVariant}>
{tier.buttonText}
</Button>
</CardActions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ export default function Pricing() {
<Button
fullWidth
variant={tier.buttonVariant as 'outlined' | 'contained'}
component="a"
href="/material-ui/getting-started/templates/checkout/"
target="_blank"
>
{tier.buttonText}
</Button>
Expand Down
Loading