главная без кнопок и роутов
This commit is contained in:
parent
e7413b2bfa
commit
d7f07ee6c6
@ -172,7 +172,7 @@ export default function App() {
|
|||||||
)}
|
)}
|
||||||
<Routes location={location.state?.backgroundLocation || location}>
|
<Routes location={location.state?.backgroundLocation || location}>
|
||||||
<Route path="/" element={<Landing />} />
|
<Route path="/" element={<Landing />} />
|
||||||
<Route
|
{/* <Route
|
||||||
path="/signin"
|
path="/signin"
|
||||||
element={
|
element={
|
||||||
<Navigate to="/" replace state={{ redirectTo: "/signin" }} />
|
<Navigate to="/" replace state={{ redirectTo: "/signin" }} />
|
||||||
@ -208,7 +208,7 @@ export default function App() {
|
|||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</Route>
|
</Route> */}
|
||||||
</Routes>
|
</Routes>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
@ -72,7 +72,7 @@ export default function Component() {
|
|||||||
{/* />*/}
|
{/* />*/}
|
||||||
{/* ))}*/}
|
{/* ))}*/}
|
||||||
{/*</Box>*/}
|
{/*</Box>*/}
|
||||||
<Button
|
{/* <Button
|
||||||
component={Link}
|
component={Link}
|
||||||
to={"/signin"}
|
to={"/signin"}
|
||||||
state={{ backgroundLocation: location }}
|
state={{ backgroundLocation: location }}
|
||||||
@ -89,7 +89,7 @@ export default function Component() {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{userId ? "Войти" : " Регистрация / Войти"}
|
{userId ? "Войти" : " Регистрация / Войти"}
|
||||||
</Button>
|
</Button> */}
|
||||||
</SectionStyled>
|
</SectionStyled>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -68,9 +68,9 @@ export default function Component() {
|
|||||||
{/*<Link */}
|
{/*<Link */}
|
||||||
{/* to="/list"*/}
|
{/* to="/list"*/}
|
||||||
{/* style={{textDecoration: "none"}}>*/}
|
{/* style={{textDecoration: "none"}}>*/}
|
||||||
<Button variant="contained" onClick={tryItForFreeonClick}>
|
{/* <Button variant="contained" onClick={tryItForFreeonClick}>
|
||||||
Попробуйте бесплатно
|
Попробуйте бесплатно
|
||||||
</Button>
|
</Button> */}
|
||||||
{/*</Link>*/}
|
{/*</Link>*/}
|
||||||
|
|
||||||
<Box
|
<Box
|
||||||
|
Loading…
Reference in New Issue
Block a user