hero buttons bugs fixed

This commit is contained in:
VividTruthKeeper 2022-12-18 12:36:07 +05:00
parent 2c7ce0b1fd
commit 4198a5d4e3
3 changed files with 14 additions and 7 deletions

View File

@ -128,7 +128,7 @@
align-items: center;
transition: all 0.3s linear;
transform: translateY(-100%);
// z-index: -1;
z-index: 2;
flex-direction: column;
}

View File

@ -1,10 +1,10 @@
.hero {
height: 60rem;
background: url('../images/hero-remake.png');
background: url("../images/hero-remake.png");
background-repeat: no-repeat;
background-size: cover;
background-position: bottom;
z-index: -2;
// z-index: -2;
}
.hero-wrapper,
@ -61,6 +61,9 @@
}
}
@media (max-width: 768px) {
.hero {
background-position: right;
}
.hero-button {
width: 24rem;
height: 8rem;

View File

@ -1,6 +1,6 @@
// Modules
import React from 'react';
import { Link } from 'react-router-dom';
import React from "react";
import { Link } from "react-router-dom";
const Hero = () => {
return (
@ -8,10 +8,14 @@ const Hero = () => {
<div className="container">
<div className="hero-wrapper">
<div className="buttons-wrapper">
<a href="https://tmex.gov.tm/tm" target="_blank" className="hero-button">
<a
href="https://tmex.gov.tm/tm"
target="_blank"
className="hero-button"
>
Перейти на торговую площадку
</a>
<a href="" className="hero-button">
<a href="/" className="hero-button">
Подать документы онлайн
</a>
</div>