Skip to content
Snippets Groups Projects
Commit 4d266510 authored by xaralis's avatar xaralis
Browse files

fix: ff hero blur

parent 294bdd57
No related branches found
No related tags found
No related merge requests found
Pipeline #5967 passed
File added
...@@ -13,11 +13,12 @@ const Home = () => { ...@@ -13,11 +13,12 @@ const Home = () => {
return ( return (
<> <>
<div className="relative card elevation-10 flex flex-col lg:flex-row lg:items-center my-8 xl:-mx-16 container-padding--zero md:container-padding--auto">
<div <div
className="card elevation-10 bg-opacity-25 flex flex-col lg:flex-row lg:items-center my-8 xl:-mx-16 container-padding--zero md:container-padding--auto" className="absolute w-full h-full flex bg-blur"
style={{ backgroundImage: `url(${cfPattern})` }} style={{ backgroundImage: `url(${cfPattern})` }}
> ></div>
<div className="w-full flex items-center justify-center bg-blur text-center lg:text-left p-8 py-16 md:p-16"> <div className="w-full flex items-center justify-center bg-backdrop-blur text-center lg:text-left p-8 py-16 md:p-16">
<img <img
src={cfLogo} src={cfLogo}
alt="CF 2022" alt="CF 2022"
...@@ -30,7 +31,7 @@ const Home = () => { ...@@ -30,7 +31,7 @@ const Home = () => {
{days} dní a {hours} hodin! {days} dní a {hours} hodin!
</h1> </h1>
<Button <Button
className="md:text-xl" className="md:text-xl btn--to-blue-300"
bodyClassName="whitespace-no-wrap" bodyClassName="whitespace-no-wrap"
color="black" color="black"
routerTo="/registrace" routerTo="/registrace"
......
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
.bg-blur { .bg-blur {
backdrop-filter: blur(6px); filter: blur(4px);
background-color: rgba(255, 255, 255, 0.8); z-index: -1;
} opacity: 0.25;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment