add info.js

This commit is contained in:
ismailsosic
2022-03-11 12:05:18 +01:00
parent ee6920d5df
commit 37218739f4
6 changed files with 33 additions and 30 deletions

View File

@@ -1,28 +1,4 @@
*{
margin: 0;
padding: 0;
}
nav {
width: 100%;
background-color: #02adba;
color: #fff;
height: 54px;
line-height: 54px;
text-align: center;
}
@media only screen and (min-width: 601px) {
nav {
text-align: center;
width: 100%;
background-color: #02adba;
color: #fff;
height: 64px;
line-height: 64px;
}
.container {
width: 80%;
display: flex;

View File

@@ -10,10 +10,6 @@ const Filters = () => {
return(
<div>
<nav>
<h3 className="title">Filteri za pretrazivanje</h3>
</nav>
<div className="container">
<div className="filters-tabs">
<ul className="filters-links">
@@ -36,7 +32,6 @@ const Filters = () => {
<div className="container-advanced">
</div>
</div>
</div>

View File

@@ -0,0 +1,10 @@
nav {
width: 100%;
min-width: 280px;
background-color: #02adba;
color: #fff;
height: 54px;
line-height: 54px;
text-align: center;
}

View File

@@ -0,0 +1,12 @@
import './Info.css'
const Info = (props) => {
return (
<nav>
<h3 className="title">{props.info}</h3>
</nav>
)
}
export default Info