Merge pull request 'fix styles' (#127) from fix/MainSection into develop

Reviewed-on: http://85.143.176.51:3000/free-land/front-end/pulls/127
This commit is contained in:
Denis Gorbunov 2022-09-08 13:16:05 +00:00
commit 0411fed55e

View File

@ -34,7 +34,7 @@ export default function MainSection<T, H>({
const [query, setQuery] = useState(""); // Query
const onChange = (query: string) => {
//console.log(query)
console.log(query)
setQuery(query);
setHints(hintsValues);
};
@ -49,11 +49,11 @@ export default function MainSection<T, H>({
};
//empty items message
const IsEmptyItems = () => {
return <p className="tex-blue-500">Nothing Found</p>;
return <p className="text-blue-500">Nothing Found</p>;
};
return (
<div className="bg-main bg-center bg-cover bg-origin-border bg-no-repeat h-full py-32 px-2 sm:px-6 md:px-6 lg:px-0">
<section className="bg-main bg-center bg-cover bg-origin-border bg-no-repeat min-h-[100vh] py-32 px-2 sm:px-6 md:px-6 lg:px-0">
<div className="m-auto text-center font-bold text-4xl ">
Scientific Library with Free Access
</div>
@ -99,6 +99,6 @@ export default function MainSection<T, H>({
Advanced Search
</div>
</div>
</div>
</section>
);
}