[ui] centring content in Home-Page
/*
* WelcomePage
*/
-import React from 'react';
-import { LinkContainer } from 'react-router-bootstrap';
-import { Button } from 'react-bootstrap';
+import React from "react";
+import { LinkContainer } from "react-router-bootstrap";
+import { Button } from "react-bootstrap";
export default class WelcomePage extends React.Component {
// Since state and props are static,
@@ -18,8 +18,14 @@ export default class WelcomePage extends React.Component {
<div className="container">
<div className="jumbotron">
<h1>Offensive Web Testing Framework!</h1>
- <p>OWASP OWTF test is a project that aims to make security assessments as efficient as possible.</p>
- <div className="row" style={{ display: 'flex', justifyContent: 'center' }}>
+ <p style={{ textAlign: "center" }}>
+ OWASP OWTF test is a project that aims to make security
+ assessments as efficient as possible.
+ </p>
+ <div
+ className="row"
+ style={{ display: "flex", justifyContent: "center" }}
+ >
<LinkContainer to="/login">
<Button bsStyle="primary">Login</Button>
</LinkContainer>
