fix - style des pages, notamment index
This commit is contained in:
1 parent
04423aa6c7
commit
8224592c0e
10 files changed
+384
-390
No files matched your search
+54
-52
@@ -9,64 +9,66 @@ import Link from 'next/link';
|
||||
const Footer = () => {
|
||||
return (
|
||||
<footer className={`${style.footer}`}>
|
||||
<div className="container border-bottom">
|
||||
<div className="row align-items-center">
|
||||
<div className="col-sm-6 col-md-3 d-flex justify-content-center">
|
||||
<Link href="/" passHref >
|
||||
<Image
|
||||
src={logo}
|
||||
alt="thetiptop navigation logo"
|
||||
width="110"
|
||||
height="110"
|
||||
/>
|
||||
</Link>
|
||||
</div>
|
||||
<div className="col-sm-6 col-md-3">
|
||||
<div className={`${style['footerContent']}`}>
|
||||
<div className="container border-bottom">
|
||||
<div className="row align-items-center">
|
||||
<div className="col-sm-6 col-md-3 d-flex justify-content-center">
|
||||
<Link href="/" passHref >
|
||||
<Image
|
||||
src={logo}
|
||||
alt="thetiptop navigation logo"
|
||||
width="110"
|
||||
height="110"
|
||||
/>
|
||||
</Link>
|
||||
</div>
|
||||
<div className="col-sm-6 col-md-3">
|
||||
|
||||
<ul className="nav flex-column justify-content-md-around align-content-center">
|
||||
<li className="nav-item px-2">
|
||||
<p>18 rue Léon Frot, 75 011 Paris</p>
|
||||
<ul className="nav flex-column justify-content-md-around align-content-center">
|
||||
<li className="nav-item px-2">
|
||||
<p>18 rue Léon Frot, 75 011 Paris</p>
|
||||
|
||||
</li>
|
||||
<li className="nav-item px-2">
|
||||
<p>01.65.38.94.23</p>
|
||||
</li>
|
||||
<li className="nav-item px-2">
|
||||
<p>contact@thetiptop.com</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div className="col-sm-6 col-md-3 d-flex justify-content-center align-items-md-baseline align-items-sm-center">
|
||||
</li>
|
||||
<li className="nav-item px-2">
|
||||
<p>01.65.38.94.23</p>
|
||||
</li>
|
||||
<li className="nav-item px-2">
|
||||
<p>contact@thetiptop.com</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div className="col-sm-6 col-md-3 d-flex justify-content-center align-items-md-baseline align-items-sm-center">
|
||||
|
||||
<ul className="nav flex-md-column">
|
||||
<li className="nav-item py-2 px-2">
|
||||
<Image src={logoInstagram} alt="lien instagram" width="40"
|
||||
height="40" />
|
||||
</li>
|
||||
<li className="nav-item py-2 px-2">
|
||||
<Image src={logoLinkedin} alt="lien linkedin" width="40"
|
||||
height="40" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div className="col-sm-6 col-md-3">
|
||||
<ul className="nav flex-column justify-content-md-around justify-content-sm-center mx-5">
|
||||
<li className="nav-item">
|
||||
<Link href="/CGU" legacyBehavior >
|
||||
<a className='px-2'>CGU</a>
|
||||
</Link>
|
||||
</li>
|
||||
<li className="nav-item">
|
||||
<Link href="/mentions-legales" legacyBehavior >
|
||||
<a className='px-2'>Mentions légales</a>
|
||||
</Link>
|
||||
</li>
|
||||
</ul>
|
||||
<ul className="nav flex-md-column">
|
||||
<li className="nav-item py-2 px-2">
|
||||
<Image src={logoInstagram} alt="lien instagram" width="40"
|
||||
height="40" />
|
||||
</li>
|
||||
<li className="nav-item py-2 px-2">
|
||||
<Image src={logoLinkedin} alt="lien linkedin" width="40"
|
||||
height="40" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div className="col-sm-6 col-md-3">
|
||||
<ul className="nav flex-column justify-content-md-around justify-content-sm-center mx-5">
|
||||
<li className="nav-item">
|
||||
<Link href="/cgu" legacyBehavior >
|
||||
<a className='px-2'>CGU</a>
|
||||
</Link>
|
||||
</li>
|
||||
<li className="nav-item">
|
||||
<Link href="/mentions-legales" legacyBehavior >
|
||||
<a className='px-2'>Mentions légales</a>
|
||||
</Link>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p className="text-center">Thé Tip Top © 2022 - projet fictif pour lequel aucun réel
|
||||
achat ou aucune réservation ne pourrait être effectué.</p>
|
||||
</div>
|
||||
</div>
|
||||
<p className="text-center">Thé Tip Top © 2022 - projet fictif pour lequel aucun réel
|
||||
achat ou aucune réservation ne pourrait être effectué.</p>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,19 +1,13 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import NavBar from "./NavBar";
|
||||
import Footer from "./Footer";
|
||||
import Content from "./Content";
|
||||
|
||||
type Props = {
|
||||
children?: React.ReactNode;
|
||||
};
|
||||
|
||||
|
||||
const layoutStyle = {
|
||||
height: "100vh"
|
||||
}
|
||||
|
||||
const Layout = ({ children }: Props) =>
|
||||
<div style={layoutStyle}>
|
||||
<div className="layout-container">
|
||||
<NavBar />
|
||||
{children}
|
||||
<Footer />
|
||||
|
||||
@@ -25,7 +25,7 @@ const NavBar = () => {
|
||||
}
|
||||
|
||||
let visitor = (
|
||||
<nav className={`${style.customcss} container-fluid`}>
|
||||
<nav className={`${style['navbar']}`}>
|
||||
|
||||
<div className="d-flex justify-content-center">
|
||||
<Image
|
||||
|
||||
Reference in new issue
Block a user