From 8cd9bdad508baf8d74b94972ac80ad2899d4371a Mon Sep 17 00:00:00 2001 From: William Petit Date: Sun, 9 Aug 2020 08:09:44 +0200 Subject: [PATCH] feat(ui): basic welcome page --- client/src/components/HomePage/WelcomeContent.tsx | 2 +- client/src/components/Navbar.tsx | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/client/src/components/HomePage/WelcomeContent.tsx b/client/src/components/HomePage/WelcomeContent.tsx index aba79dc..b126de0 100644 --- a/client/src/components/HomePage/WelcomeContent.tsx +++ b/client/src/components/HomePage/WelcomeContent.tsx @@ -14,7 +14,7 @@ export const WelcomeContent: FunctionComponent = () => { Bienvenue sur Guesstimate !

- La solution pour réaliser simplement des estimations de temps pour vos projets ! + La solution pour réaliser simplement des estimations de temps pour vos projets.

diff --git a/client/src/components/Navbar.tsx b/client/src/components/Navbar.tsx index 81c3f02..4e9f700 100644 --- a/client/src/components/Navbar.tsx +++ b/client/src/components/Navbar.tsx @@ -1,9 +1,7 @@ import React, { Fragment, useState } from 'react'; -import logo from '../resources/logo.svg'; -import { useSelector } from 'react-redux'; import { Config } from '../config'; import { Link } from 'react-router-dom'; -import { useUserProfileQuery, useUserProfile } from '../gql/queries/user'; +import { useUserProfile } from '../gql/queries/user'; import { WithLoader } from './WithLoader'; export function Navbar() { @@ -37,8 +35,7 @@ export function Navbar() {
- -
+
{ user.id ? @@ -53,15 +50,14 @@ export function Navbar() { : - + Se connecter } -
- +