главная без кнопок и роутов

This commit is contained in:
Nastya 2024-01-15 15:09:42 +03:00
parent e7413b2bfa
commit d7f07ee6c6
3 changed files with 6 additions and 6 deletions

@ -172,7 +172,7 @@ export default function App() {
)}
<Routes location={location.state?.backgroundLocation || location}>
<Route path="/" element={<Landing />} />
<Route
{/* <Route
path="/signin"
element={
<Navigate to="/" replace state={{ redirectTo: "/signin" }} />
@ -208,7 +208,7 @@ export default function App() {
}
/>
))}
</Route>
</Route> */}
</Routes>
</>
);

@ -72,7 +72,7 @@ export default function Component() {
{/* />*/}
{/* ))}*/}
{/*</Box>*/}
<Button
{/* <Button
component={Link}
to={"/signin"}
state={{ backgroundLocation: location }}
@ -89,7 +89,7 @@ export default function Component() {
}}
>
{userId ? "Войти" : " Регистрация / Войти"}
</Button>
</Button> */}
</SectionStyled>
);
}

@ -68,9 +68,9 @@ export default function Component() {
{/*<Link */}
{/* to="/list"*/}
{/* style={{textDecoration: "none"}}>*/}
<Button variant="contained" onClick={tryItForFreeonClick}>
{/* <Button variant="contained" onClick={tryItForFreeonClick}>
Попробуйте бесплатно
</Button>
</Button> */}
{/*</Link>*/}
<Box