fix home style

This commit is contained in:
Moaz Dawalibi 2024-06-22 12:29:34 +03:00
parent e8ee03dfd3
commit 949f8de235
2 changed files with 13 additions and 5 deletions

View File

@ -1,5 +1,6 @@
import { useTranslation } from "react-i18next";
import { RiArrowRightUpFill } from "react-icons/ri";
import { Link } from "react-router-dom";
const BoseHeadphones = () => {
const {t} = useTranslation();
@ -9,10 +10,12 @@ const BoseHeadphones = () => {
<div>
<h6>{t("Bose Headphones")}</h6>
<h1>{t("Smarter than your average headphones")}</h1>
<button className="button">
{t("Shop now")}
<RiArrowRightUpFill />
</button>
<Link to="/categories" >
<button className="button">
{t("Shop now")}
<RiArrowRightUpFill />
</button>
</Link>
</div>
</div>
);

View File

@ -10,8 +10,8 @@
&::after {
position: absolute;
content: "";
right: 0;
top: 0;
right: 0;
background: url("../../../public/Home/HeroShape.svg");
background-size: cover;
background-repeat: no-repeat;
@ -545,6 +545,11 @@
.home_page{
.HeroSection {
&::after{
scale: -1;
right: auto;
left: 0 !important;
}
> div {
display: flex;
flex-direction: column;