-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #407 from kipr/fix-google-sign-in
Separate login to a non-isolated page + Popup auth
- Loading branch information
Showing
11 changed files
with
97 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import * as React from 'react'; | ||
import * as ReactDom from 'react-dom'; | ||
import { DARK } from '../components/theme'; | ||
import LoginPage from './LoginPage'; | ||
|
||
import { Provider as StyletronProvider } from "styletron-react"; | ||
import { Client as Styletron } from "styletron-engine-atomic"; | ||
|
||
const reactRoot = document.getElementById('reactRoot'); | ||
|
||
const engine = new Styletron({ prefix: 'style' }); | ||
|
||
ReactDom.render( | ||
<StyletronProvider value={engine} debugAfterHydration> | ||
<LoginPage theme={DARK} /> | ||
</StyletronProvider>, | ||
reactRoot | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" dir="ltr"> | ||
<head> | ||
<meta charset="UTF-8"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<link rel="icon" type="image/x-icon" href="/static/favicon.png"> | ||
<title>KISS IDE Simulator</title> | ||
<link rel="preconnect" href="https://fonts.gstatic.com"> | ||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet"> | ||
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400&display=swap" rel="stylesheet"> | ||
<link href="/static/fontawesome-free-5.15.3-web/css/all.min.css" rel="stylesheet"> | ||
<style> | ||
* { | ||
box-sizing: border-box; | ||
} | ||
body { | ||
overscroll-behavior: none; | ||
} | ||
html, body { | ||
position: relative; | ||
margin: 0; | ||
padding: 0; | ||
background-color: #dcdde1; | ||
font-family: 'Roboto', sans-serif; | ||
font-weight: 300; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="reactRoot"></div> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import React from "react"; | ||
|
||
export default interface IRoute { | ||
path: string; | ||
exact: boolean; | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
component: any; | ||
index?: number; | ||
component: typeof React.Component; | ||
name: string; // Used to update page infon and title. | ||
protected: boolean; // This will defines if the route is proteted or not | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters