import React from 'react';

export default (props) => {
    if (!props.user) {
        return (
            <div>
                <p>Welcome! Your are currently not logged in.</p>
            </div>
        );
    } else {
        return (
            <div>
                <p>Your are logged in as {props.user} (provided by {props.provider})</p>
                <p>Currently selected database is <code>{props.dbName}</code>. Your are{props.isAdmin ? ' ' : ' not'} an admin of this database.</p>
            </div>
        );
    }
};

@@ -134,25 +134,24 @@
 Welcome! You
-r
  are current
@@ -272,17 +272,16 @@
   %3Cp%3EYou
-r
  are log
@@ -420,17 +420,16 @@
 de%3E. You
-r
  are%7Bpro

fix typos in Home page