Skip to content

Commit

Permalink
Logo on login page
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaVR committed Feb 27, 2019
1 parent 13312f3 commit 821b354
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/auth/login/LoginForm.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.card {
max-width: 100vw;
width: 360px;

.submitButtonFormItem {
Expand Down
6 changes: 6 additions & 0 deletions src/components/auth/login/LoginPage.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
text-align: center;
}

.logo {
max-width: 100vw;
height: auto;
}

.layout, .row {
min-height: 100vh;
max-width: 100vw;
}
2 changes: 2 additions & 0 deletions src/components/auth/login/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Col, Layout, Row } from "antd";
import React from "react";
import Helmet from "react-helmet";
import { Redirect } from "react-router-dom";
import logo from "../../../logo.png";
import { AnyRouteComponentProps, routes } from "../../../routes";
import { Firebase } from "../../../services/FirebaseInitializer";
import LoginForm from "./LoginForm";
Expand Down Expand Up @@ -30,6 +31,7 @@ class LoginPage extends React.Component<LoginPageProps> {
<Row type="flex" justify="space-around" align="middle" className={styles.row}>
<Col>
<div className={styles.title}>
<img src={logo} alt="Logo" className={styles.logo} />
<h1>Student Planner</h1>
</div>
<LoginForm loginSuccessfulCallback={this.goToAuthenticatedApp} />
Expand Down

1 comment on commit 821b354

@BenjaVR
Copy link
Owner

@BenjaVR BenjaVR commented on 821b354 Feb 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#6

Please sign in to comment.