mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Bootstrap login page
This commit is contained in:
parent
91289c8588
commit
341d799207
23
front/apps/mobile/app/login/index.tsx
Normal file
23
front/apps/mobile/app/login/index.tsx
Normal file
@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Kyoo - A portable and vast media library solution.
|
||||
* Copyright (c) Kyoo.
|
||||
*
|
||||
* See AUTHORS.md and LICENSE file in the project root for full license information.
|
||||
*
|
||||
* Kyoo is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* any later version.
|
||||
*
|
||||
* Kyoo is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Kyoo. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { LoginPage } from "@kyoo/ui";
|
||||
|
||||
export default LoginPage;
|
24
front/apps/web/src/pages/login/index.tsx
Normal file
24
front/apps/web/src/pages/login/index.tsx
Normal file
@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Kyoo - A portable and vast media library solution.
|
||||
* Copyright (c) Kyoo.
|
||||
*
|
||||
* See AUTHORS.md and LICENSE file in the project root for full license information.
|
||||
*
|
||||
* Kyoo is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* any later version.
|
||||
*
|
||||
* Kyoo is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Kyoo. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { LoginPage } from "@kyoo/ui";
|
||||
import { withRoute } from "~/router";
|
||||
|
||||
export default withRoute(LoginPage);
|
@ -95,7 +95,7 @@ export const ShowDetails: QueryPage<{ slug: string; season: string }> = ({ slug,
|
||||
);
|
||||
};
|
||||
|
||||
ShowDetails.getFetchUrls = ({ slug, season = 1 }) => [
|
||||
ShowDetails.getFetchUrls = ({ slug, season }) => [
|
||||
query(slug),
|
||||
// ShowStaff.query(slug),
|
||||
EpisodeList.query(slug, season),
|
||||
|
@ -23,3 +23,4 @@ export { BrowsePage } from "./browse";
|
||||
export { MovieDetails, ShowDetails } from "./details";
|
||||
export { Player } from "./player";
|
||||
export { SearchPage } from "./search";
|
||||
export { LoginPage } from "./login";
|
||||
|
29
front/packages/ui/src/login/index.tsx
Normal file
29
front/packages/ui/src/login/index.tsx
Normal file
@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Kyoo - A portable and vast media library solution.
|
||||
* Copyright (c) Kyoo.
|
||||
*
|
||||
* See AUTHORS.md and LICENSE file in the project root for full license information.
|
||||
*
|
||||
* Kyoo is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* any later version.
|
||||
*
|
||||
* Kyoo is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Kyoo. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { QueryPage } from "@kyoo/models";
|
||||
import { View } from "react-native";
|
||||
import { DefaultLayout } from "../layout";
|
||||
|
||||
export const LoginPage: QueryPage = () => {
|
||||
return <View />;
|
||||
};
|
||||
|
||||
LoginPage.getLayout = DefaultLayout;
|
@ -88,7 +88,7 @@ export const NavbarProfile = () => {
|
||||
|
||||
return (
|
||||
<Link
|
||||
href="/auth/login"
|
||||
href="/login"
|
||||
{...tooltip(t("navbar.login"))}
|
||||
{...css({ marginLeft: ts(1), justifyContent: "center" })}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user