ajout de tout le folder
This commit is contained in:
parent
d976e6419d
commit
b14ebac2f1
13
GrossesMitaines/grosses-mitaines-ui/src/components/Footer.js
Normal file
13
GrossesMitaines/grosses-mitaines-ui/src/components/Footer.js
Normal file
@ -0,0 +1,13 @@
|
||||
import React from "react";
|
||||
|
||||
const Footer = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<br />
|
||||
footer
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default Footer;
|
25
GrossesMitaines/grosses-mitaines-ui/src/components/Navbar.js
Normal file
25
GrossesMitaines/grosses-mitaines-ui/src/components/Navbar.js
Normal file
@ -0,0 +1,25 @@
|
||||
import React from "react";
|
||||
import { BrowserRouter, Route, Link } from "react-router-dom";
|
||||
|
||||
const Navbar = () => {
|
||||
return (
|
||||
<nav>
|
||||
<ul>
|
||||
<li>
|
||||
<Link to="/">Maison</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link to="/aboutUs">À propos de nous</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link to="/contactUs">Contactez-nous</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link to="/privacy">Vie privée</Link>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
);
|
||||
}
|
||||
|
||||
export default Navbar;
|
18
GrossesMitaines/grosses-mitaines-ui/src/pages/AboutUs.js
Normal file
18
GrossesMitaines/grosses-mitaines-ui/src/pages/AboutUs.js
Normal file
@ -0,0 +1,18 @@
|
||||
import React from "react";
|
||||
import { useEffect } from "react";
|
||||
|
||||
const AbtouUs = () => {
|
||||
|
||||
useEffect(() => {
|
||||
document.title = 'À propos de nous';
|
||||
});
|
||||
|
||||
return (
|
||||
<>
|
||||
À propos de nous
|
||||
</>
|
||||
|
||||
);
|
||||
}
|
||||
|
||||
export default AbtouUs;
|
17
GrossesMitaines/grosses-mitaines-ui/src/pages/ContactUs.js
Normal file
17
GrossesMitaines/grosses-mitaines-ui/src/pages/ContactUs.js
Normal file
@ -0,0 +1,17 @@
|
||||
import React from "react";
|
||||
import { useEffect } from "react";
|
||||
|
||||
const ContactUs = () => {
|
||||
|
||||
useEffect(() => {
|
||||
document.title = 'Nous contacter';
|
||||
});
|
||||
|
||||
return (
|
||||
<>
|
||||
Nous contacter
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default ContactUs;
|
17
GrossesMitaines/grosses-mitaines-ui/src/pages/Home.js
Normal file
17
GrossesMitaines/grosses-mitaines-ui/src/pages/Home.js
Normal file
@ -0,0 +1,17 @@
|
||||
import React from "react";
|
||||
import { useEffect } from "react";
|
||||
|
||||
const Home = () => {
|
||||
|
||||
useEffect(() => {
|
||||
document.title = 'Maison';
|
||||
});
|
||||
|
||||
return (
|
||||
<>
|
||||
Maison
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default Home;
|
16
GrossesMitaines/grosses-mitaines-ui/src/pages/Layout.js
Normal file
16
GrossesMitaines/grosses-mitaines-ui/src/pages/Layout.js
Normal file
@ -0,0 +1,16 @@
|
||||
import React from "react";
|
||||
import {Outlet} from "react-router-dom";
|
||||
import Navbar from "../components/Navbar";
|
||||
import Footer from "../components/Footer";
|
||||
|
||||
const Layout = () => {
|
||||
return (
|
||||
<>
|
||||
<Navbar />
|
||||
<Outlet />
|
||||
<Footer/>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default Layout;
|
17
GrossesMitaines/grosses-mitaines-ui/src/pages/Privacy.js
Normal file
17
GrossesMitaines/grosses-mitaines-ui/src/pages/Privacy.js
Normal file
@ -0,0 +1,17 @@
|
||||
import React from "react";
|
||||
import { useEffect } from "react";
|
||||
|
||||
const Privacy = () => {
|
||||
|
||||
useEffect(() => {
|
||||
document.title = 'Police de vie privée';
|
||||
});
|
||||
|
||||
return (
|
||||
<>
|
||||
Police de vie privée
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default Privacy;
|
Loading…
Reference in New Issue
Block a user