Skip to content
Snippets Groups Projects
Commit c43347fa authored by Viarezo's avatar Viarezo
Browse files

final version I guess

parent 4b842153
No related branches found
No related tags found
No related merge requests found
...@@ -36,3 +36,10 @@ ...@@ -36,3 +36,10 @@
transform: rotate(360deg); transform: rotate(360deg);
} }
} }
.titre {
background-color : lightblue;
border-radius: 1em;
padding: 2em;
margin: 1em;
}
...@@ -10,11 +10,7 @@ const App = () => { ...@@ -10,11 +10,7 @@ const App = () => {
return ( return (
<div> <div>
<div className="App"> <div className="App">
<div style={{ <div className="titre">
background: 'lightblue',
borderRadius: '1em',
padding: '2em',
margin: '1em'}}>
<h1>Bienvenue sur notre super site !</h1> <h1>Bienvenue sur notre super site !</h1>
</div> </div>
</div> </div>
......
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();
});
...@@ -2,7 +2,6 @@ import { useState } from "react"; ...@@ -2,7 +2,6 @@ import { useState } from "react";
const Counter = (props) => { const Counter = (props) => {
const [count, setCount] = useState(0); const [count, setCount] = useState(0);
console.log(props);
return ( return (
<div class="card" style={{width:"auto", margin: '2em'}}> <div class="card" style={{width:"auto", margin: '2em'}}>
<div class="card-header"> <div class="card-header">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment