From c43347fae77116c200baa7020cfb0687b5f97b80 Mon Sep 17 00:00:00 2001
From: Viarezo <viarezo@viarezo.fr>
Date: Sat, 9 Oct 2021 14:42:48 +0200
Subject: [PATCH] final version I guess

---
 src/App.css     | 7 +++++++
 src/App.js      | 6 +-----
 src/App.test.js | 8 --------
 src/Counter.js  | 1 -
 4 files changed, 8 insertions(+), 14 deletions(-)
 delete mode 100644 src/App.test.js

diff --git a/src/App.css b/src/App.css
index 74b5e05..2c34c6e 100644
--- a/src/App.css
+++ b/src/App.css
@@ -36,3 +36,10 @@
     transform: rotate(360deg);
   }
 }
+
+.titre {
+  background-color : lightblue;
+  border-radius: 1em;
+  padding: 2em;
+  margin: 1em;
+}
diff --git a/src/App.js b/src/App.js
index a4f536d..be83fe4 100644
--- a/src/App.js
+++ b/src/App.js
@@ -10,11 +10,7 @@ const App = () => {
   return (
     <div>
       <div className="App">
-          <div style={{
-              background:   'lightblue',
-              borderRadius: '1em',
-              padding:      '2em',
-              margin:       '1em'}}>
+          <div className="titre">
             <h1>Bienvenue sur notre super site !</h1>
           </div>
       </div>
diff --git a/src/App.test.js b/src/App.test.js
deleted file mode 100644
index 1f03afe..0000000
--- a/src/App.test.js
+++ /dev/null
@@ -1,8 +0,0 @@
-import { render, screen } from '@testing-library/react';
-import App from './App';
-
-test('renders learn react link', () => {
-  render(<App />);
-  const linkElement = screen.getByText(/learn react/i);
-  expect(linkElement).toBeInTheDocument();
-});
diff --git a/src/Counter.js b/src/Counter.js
index fbac794..30052ce 100644
--- a/src/Counter.js
+++ b/src/Counter.js
@@ -2,7 +2,6 @@ import { useState } from "react";
 
 const Counter = (props) => {
     const [count, setCount] = useState(0);
-    console.log(props);
     return (
         <div class="card" style={{width:"auto", margin: '2em'}}>
             <div class="card-header">
-- 
GitLab