fix home style
This commit is contained in:
parent
e8ee03dfd3
commit
949f8de235
|
|
@ -1,5 +1,6 @@
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { RiArrowRightUpFill } from "react-icons/ri";
|
import { RiArrowRightUpFill } from "react-icons/ri";
|
||||||
|
import { Link } from "react-router-dom";
|
||||||
|
|
||||||
const BoseHeadphones = () => {
|
const BoseHeadphones = () => {
|
||||||
const {t} = useTranslation();
|
const {t} = useTranslation();
|
||||||
|
|
@ -9,10 +10,12 @@ const BoseHeadphones = () => {
|
||||||
<div>
|
<div>
|
||||||
<h6>{t("Bose Headphones")}</h6>
|
<h6>{t("Bose Headphones")}</h6>
|
||||||
<h1>{t("Smarter than your average headphones")}</h1>
|
<h1>{t("Smarter than your average headphones")}</h1>
|
||||||
<button className="button">
|
<Link to="/categories" >
|
||||||
{t("Shop now")}
|
<button className="button">
|
||||||
<RiArrowRightUpFill />
|
{t("Shop now")}
|
||||||
</button>
|
<RiArrowRightUpFill />
|
||||||
|
</button>
|
||||||
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,8 @@
|
||||||
&::after {
|
&::after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: "";
|
content: "";
|
||||||
right: 0;
|
|
||||||
top: 0;
|
top: 0;
|
||||||
|
right: 0;
|
||||||
background: url("../../../public/Home/HeroShape.svg");
|
background: url("../../../public/Home/HeroShape.svg");
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
|
@ -545,6 +545,11 @@
|
||||||
|
|
||||||
.home_page{
|
.home_page{
|
||||||
.HeroSection {
|
.HeroSection {
|
||||||
|
&::after{
|
||||||
|
scale: -1;
|
||||||
|
right: auto;
|
||||||
|
left: 0 !important;
|
||||||
|
}
|
||||||
> div {
|
> div {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user