Skip to content

Commit

Permalink
Merge pull request #56 from aldbr/main_multi-vo-login
Browse files Browse the repository at this point in the history
Multi-vo login
  • Loading branch information
chaen authored Nov 30, 2023
2 parents fdb5393 + eecdfb2 commit 2a16970
Show file tree
Hide file tree
Showing 27 changed files with 745 additions and 161 deletions.
70 changes: 42 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"devDependencies": {
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.1.0",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.6",
"eslint": "^8.53.0",
"eslint-config-next": "^14.0.1",
Expand Down
Binary file added public/DIRAC-logo-minimal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/app/auth/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from "react";

export default function AuthLayout({
children,
}: {
children: React.ReactNode;
}) {
return <div>{children}</div>;
}
5 changes: 5 additions & 0 deletions src/app/auth/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { LoginForm } from "@/components/applications/LoginForm";

export default function Page() {
return <LoginForm />;
}
2 changes: 1 addition & 1 deletion src/app/dashboard/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import Dashboard from "@/components/layout/Dashboard";
import { OIDCSecure } from "@/components/auth/OIDCUtils";
import { OIDCSecure } from "@/components/layout/OIDCSecure";

export default function DashboardLayout({
children,
Expand Down
6 changes: 3 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Inter } from "next/font/google";
import { OIDCProvider } from "@/components/auth/OIDCUtils";
import { OIDCConfigurationProvider } from "@/contexts/OIDCConfigurationProvider";
import { ThemeProvider } from "@/contexts/ThemeProvider";

const inter = Inter({ subsets: ["latin"] });
Expand All @@ -21,9 +21,9 @@ export default function RootLayout({
return (
<html lang="en">
<body className={inter.className}>
<OIDCProvider>
<OIDCConfigurationProvider>
<ThemeProvider>{children}</ThemeProvider>
</OIDCProvider>
</OIDCConfigurationProvider>
</body>
</html>
);
Expand Down
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Showcase from "@/components/layout/Showcase";
import Showcase from "@/components/applications/Showcase";

export default function Page() {
return <Showcase />;
Expand Down
Loading

0 comments on commit 2a16970

Please sign in to comment.