Sleeeeeep ZZZ

This commit is contained in:
Victor Turgeon 2022-10-18 01:19:39 -07:00
parent b9787c7aff
commit 4e61ad4aa3
4 changed files with 23 additions and 6 deletions

View File

@ -4,7 +4,7 @@ const FeaturedList = ({ products }) => {
return ( return (
<Carousel variant="dark" className="featured-lst"> <Carousel variant="dark" className="featured-lst">
{products.map((product) => ( {products.map((product) => (
<Carousel.Item className="featured-itm"> <Carousel.Item key={product.id} className="featured-itm">
<img <img
className="featured-img" className="featured-img"
src={product.imageUrl} src={product.imageUrl}

View File

@ -31,8 +31,8 @@ const Topbar = () => {
<Link className="nav-link" to="/privacy" > <Link className="nav-link" to="/privacy" >
Vie privée Vie privée
</Link> </Link>
<Dropdown> <Dropdown className="dropdown-gestion-container">
<Dropdown.Toggle className="dropdown-gestion"> <Dropdown.Toggle className="dropdown-gestion" >
Gestion Gestion
</Dropdown.Toggle> </Dropdown.Toggle>

View File

@ -24,7 +24,7 @@ const Morceaux = (startingProducts) => {
} }
fetchData(); fetchData();
setIsLoading(false); setIsLoading(false);
},[]); }, []);
const handleNextItems = async () => { const handleNextItems = async () => {

View File

@ -447,9 +447,17 @@ html {
.dropdown-gestion, .dropdown-gestion,
.dropdown-gestion:hover { .dropdown-gestion:hover {
color: black; margin:0px;
background-color: beige !important; padding:auto;
color: grey;
background-color: transparent !important;
border-color: transparent !important; border-color: transparent !important;
padding-left:10%;
}
.dropdown-gestion-container button:hover{
color:rgb(102, 102, 102) !important;
} }
.dropdown-gestion-menu { .dropdown-gestion-menu {
@ -508,6 +516,10 @@ html {
height: auto; height: auto;
} }
.detail-old-price{
text-decoration: line-through;
}
/* -------------------------------------------------------- */ /* -------------------------------------------------------- */
@ -515,6 +527,11 @@ html {
/* -------------------------------------------------------- */ /* -------------------------------------------------------- */
@media(max-width:900px) { @media(max-width:900px) {
.dropdown-gestion,
.dropdown-gestion:hover {
padding-left:0;
}
.detail-container{ .detail-container{
display:inline-block; display:inline-block;
} }