Skip to content

Commit

Permalink
docs(landing): update hero beams
Browse files Browse the repository at this point in the history
  • Loading branch information
aliemir committed Nov 8, 2023
1 parent 4046188 commit 5060963
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 23 deletions.
26 changes: 7 additions & 19 deletions documentation/src/refine-theme/landing-hero-animation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,11 +293,12 @@ export const LandingHeroAnimation = React.memo(function HeroAnimation() {
"-translate-x-1/2",
"translate-y-0",
"landing-lg:translate-y-16",
"blur-sm",
"animate-landing-hero-beam-line",
)}
style={{
fillOpacity: 0.2,
filter: "drop-shadow(rgb(71, 235, 235) 0px 0px 3px) drop-shadow(rgb(71, 235, 235) 0px 0px 8px)",
fillOpacity: 0,
filter: "drop-shadow(rgba(71, 235, 235,0.1) 0px 0px 0px) drop-shadow(rgba(71, 235, 235,0.15) 0px 0px 10px)",
}}
/>
<div
Expand All @@ -318,25 +319,12 @@ export const LandingHeroAnimation = React.memo(function HeroAnimation() {
className={clsx(
"relative",
"w-40",
"h-px",
"h-0.5",
"-mt-px",
"bg-landing-hero-beam-bottom",
"animate-landing-hero-beam-bottom",
)}
>
<div
className={clsx(
"animate-landing-hero-beam-bottom",
"absolute",
"-top-2",
"-translate-x-1/2",
"left-1/2",
"w-full",
"pb-[50%]",
"rounded-full",
"blur-[8px]",
"bg-refine-cyan-alt",
)}
/>
</div>
></div>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions documentation/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -601,21 +601,21 @@ module.exports = {
opacity: 0,
},
"50%": {
opacity: 1,
opacity: 0.5,
},
"100%": {
opacity: 0,
},
},
"landing-hero-beam-bottom": {
"0%": {
opacity: 0.25,
transform: "scaleX(0.5)",
},
"50%": {
opacity: 1,
transform: "scaleX(1)",
},
"100%": {
opacity: 0.25,
transform: "scaleX(0.5)",
},
},
"showcase-bottom-fade-reveal": {
Expand Down

0 comments on commit 5060963

Please sign in to comment.