Skip to content

Commit cd309dc

Browse files
committed
Remove navigation links from templates
1 parent c7bc3ed commit cd309dc

File tree

6 files changed

+13
-78
lines changed

6 files changed

+13
-78
lines changed

docs/data/material/getting-started/templates/checkout/Checkout.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export default function Checkout() {
142142
<Button
143143
startIcon={<ArrowBackRoundedIcon />}
144144
component="a"
145-
href="/material-ui/getting-started/templates/landing-page/"
145+
href="/material-ui/getting-started/templates/"
146146
sx={{ ml: '-8px' }}
147147
>
148148
Back to
@@ -198,7 +198,7 @@ export default function Checkout() {
198198
<Button
199199
startIcon={<ArrowBackRoundedIcon />}
200200
component="a"
201-
href="/material-ui/getting-started/templates/landing-page/"
201+
href="/material-ui/getting-started/templates/"
202202
sx={{ alignSelf: 'start' }}
203203
>
204204
Back to

docs/data/material/getting-started/templates/checkout/Checkout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export default function Checkout() {
143143
<Button
144144
startIcon={<ArrowBackRoundedIcon />}
145145
component="a"
146-
href="/material-ui/getting-started/templates/landing-page/"
146+
href="/material-ui/getting-started/templates/"
147147
sx={{ ml: '-8px' }}
148148
>
149149
Back to
@@ -199,7 +199,7 @@ export default function Checkout() {
199199
<Button
200200
startIcon={<ArrowBackRoundedIcon />}
201201
component="a"
202-
href="/material-ui/getting-started/templates/landing-page/"
202+
href="/material-ui/getting-started/templates/"
203203
sx={{ alignSelf: 'start' }}
204204
>
205205
Back to

docs/data/material/getting-started/templates/landing-page/components/AppAppBar.js

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -131,24 +131,10 @@ function AppAppBar({ mode, toggleColorMode }) {
131131
}}
132132
>
133133
<ToggleColorMode mode={mode} toggleColorMode={toggleColorMode} />
134-
<Button
135-
color="primary"
136-
variant="text"
137-
size="small"
138-
component="a"
139-
href="/material-ui/getting-started/templates/sign-in/"
140-
target="_blank"
141-
>
134+
<Button color="primary" variant="text" size="small">
142135
Sign in
143136
</Button>
144-
<Button
145-
color="primary"
146-
variant="contained"
147-
size="small"
148-
component="a"
149-
href="/material-ui/getting-started/templates/sign-up/"
150-
target="_blank"
151-
>
137+
<Button color="primary" variant="contained" size="small">
152138
Sign up
153139
</Button>
154140
</Box>
@@ -190,26 +176,12 @@ function AppAppBar({ mode, toggleColorMode }) {
190176
</MenuItem>
191177
<MenuItem onClick={() => scrollToSection('faq')}>FAQ</MenuItem>
192178
<MenuItem>
193-
<Button
194-
color="primary"
195-
variant="contained"
196-
component="a"
197-
href="/material-ui/getting-started/templates/sign-up/"
198-
target="_blank"
199-
fullWidth
200-
>
179+
<Button color="primary" variant="contained" fullWidth>
201180
Sign up
202181
</Button>
203182
</MenuItem>
204183
<MenuItem>
205-
<Button
206-
color="primary"
207-
variant="outlined"
208-
component="a"
209-
href="/material-ui/getting-started/templates/sign-in/"
210-
target="_blank"
211-
fullWidth
212-
>
184+
<Button color="primary" variant="outlined" fullWidth>
213185
Sign in
214186
</Button>
215187
</MenuItem>

docs/data/material/getting-started/templates/landing-page/components/AppAppBar.tsx

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -135,24 +135,10 @@ export default function AppAppBar({ mode, toggleColorMode }: AppAppBarProps) {
135135
}}
136136
>
137137
<ToggleColorMode mode={mode} toggleColorMode={toggleColorMode} />
138-
<Button
139-
color="primary"
140-
variant="text"
141-
size="small"
142-
component="a"
143-
href="/material-ui/getting-started/templates/sign-in/"
144-
target="_blank"
145-
>
138+
<Button color="primary" variant="text" size="small">
146139
Sign in
147140
</Button>
148-
<Button
149-
color="primary"
150-
variant="contained"
151-
size="small"
152-
component="a"
153-
href="/material-ui/getting-started/templates/sign-up/"
154-
target="_blank"
155-
>
141+
<Button color="primary" variant="contained" size="small">
156142
Sign up
157143
</Button>
158144
</Box>
@@ -194,26 +180,12 @@ export default function AppAppBar({ mode, toggleColorMode }: AppAppBarProps) {
194180
</MenuItem>
195181
<MenuItem onClick={() => scrollToSection('faq')}>FAQ</MenuItem>
196182
<MenuItem>
197-
<Button
198-
color="primary"
199-
variant="contained"
200-
component="a"
201-
href="/material-ui/getting-started/templates/sign-up/"
202-
target="_blank"
203-
fullWidth
204-
>
183+
<Button color="primary" variant="contained" fullWidth>
205184
Sign up
206185
</Button>
207186
</MenuItem>
208187
<MenuItem>
209-
<Button
210-
color="primary"
211-
variant="outlined"
212-
component="a"
213-
href="/material-ui/getting-started/templates/sign-in/"
214-
target="_blank"
215-
fullWidth
216-
>
188+
<Button color="primary" variant="outlined" fullWidth>
217189
Sign in
218190
</Button>
219191
</MenuItem>

docs/data/material/getting-started/templates/landing-page/components/Pricing.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -196,13 +196,7 @@ export default function Pricing() {
196196
))}
197197
</CardContent>
198198
<CardActions>
199-
<Button
200-
fullWidth
201-
variant={tier.buttonVariant}
202-
component="a"
203-
href="/material-ui/getting-started/templates/checkout/"
204-
target="_blank"
205-
>
199+
<Button fullWidth variant={tier.buttonVariant}>
206200
{tier.buttonText}
207201
</Button>
208202
</CardActions>

docs/data/material/getting-started/templates/landing-page/components/Pricing.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,6 @@ export default function Pricing() {
199199
<Button
200200
fullWidth
201201
variant={tier.buttonVariant as 'outlined' | 'contained'}
202-
component="a"
203-
href="/material-ui/getting-started/templates/checkout/"
204-
target="_blank"
205202
>
206203
{tier.buttonText}
207204
</Button>

0 commit comments

Comments
 (0)