Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

cleanup

ameer2468509d37e76111
diff --git a/apps/web/components/pages/HomePage/LeftBlueHue.tsx b/apps/web/components/pages/HomePage/LeftBlueHue.tsx
index a7a1b0a3a..8f907e7af 100644
--- a/apps/web/components/pages/HomePage/LeftBlueHue.tsx
+++ b/apps/web/components/pages/HomePage/LeftBlueHue.tsx
@@ -1,61 +1,52 @@
"use client";
-const RightBlueHue = () => {
+const LeftBlueHue = () => {
return (
<svg
- className="absolute top-10 -left-24 z-0 opacity-20 pointer-events-none md:opacity-100"
- width="1276"
- height="690"
- viewBox="0 0 1276 690"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <g filter="url(#filter0_f_459_2097)">
- <ellipse
- cx="592"
- cy="339"
- rx="584"
- ry="251"
- transform="rotate(180 592 339)"
- fill="url(#paint0_linear_459_2097)"
- />
- </g>
- <defs>
- <filter
- id="filter0_f_459_2097"
- x="-92"
- y="-12"
- width="1368"
- height="702"
- filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
- >
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
- <feBlend
- mode="normal"
- in="SourceGraphic"
- in2="BackgroundImageFix"
- result="shape"
- />
- <feGaussianBlur
- stdDeviation="50"
- result="effect1_foregroundBlur_459_2097"
- />
- </filter>
- <linearGradient
- id="paint0_linear_459_2097"
- x1="1102.5"
- y1="339"
- x2="157.5"
- y2="375.5"
- gradientUnits="userSpaceOnUse"
- >
- <stop stop-color="#75A3FE" />
- <stop offset="1" stop-color="white" stop-opacity="0" />
- </linearGradient>
- </defs>
- </svg>
- );
- };
-
- export default RightBlueHue;
\ No newline at end of file
+ className="absolute top-10 -left-24 z-0 opacity-20 pointer-events-none md:opacity-100"
+ width="1276"
+ height="690"
+ viewBox="0 0 1276 690"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <g filter="url(#blue-hue-filter)">
+ <ellipse
+ cx="592"
+ cy="339"
+ rx="584"
+ ry="251"
+ transform="rotate(180 592 339)"
+ fill="url(#blue-hue-gradient)"
+ />
+ </g>
+ <defs>
+ <filter
+ id="blue-hue-filter"
+ x="-92"
+ y="-12"
+ width="1368"
+ height="702"
+ filterUnits="userSpaceOnUse"
+ colorInterpolationFilters="sRGB"
+ >
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
+ <feGaussianBlur stdDeviation="50" result="blur-effect" />
+ </filter>
+ <linearGradient
+ id="blue-hue-gradient"
+ x1="1102.5"
+ y1="339"
+ x2="157.5"
+ y2="375.5"
+ gradientUnits="userSpaceOnUse"
+ >
+ <stop stopColor="#75A3FE" />
+ <stop offset="1" stopColor="white" stopOpacity="0" />
+ </linearGradient>
+ </defs>
+ </svg>
+ );
+};
+ export default LeftBlueHue;
\ No newline at end of file
diff --git a/apps/web/components/pages/HomePage/index.tsx b/apps/web/components/pages/HomePage/index.tsx
index b15a0cfd4..206c14c43 100644
--- a/apps/web/components/pages/HomePage/index.tsx
+++ b/apps/web/components/pages/HomePage/index.tsx
@@ -191,12 +191,12 @@ export const HomePage = () => {
x: [0, "100vw"],
}}
transition={{
- duration: 500,
+ duration: 300,
repeat: Infinity,
repeatType: "reverse",
}}
className="absolute
- top-[180px] w-full max-w-[280px] z-[4] right-[600px] select-none"
+ top-[180px] w-full max-w-[280px] z-[4] right-[60px] md:right-[600px] select-none"
src="./illustrations/smallcloudthree.webp"
alt="smallcloudfour"
/>
@@ -213,7 +213,7 @@ export const HomePage = () => {
repeatType: "reverse",
ease: "linear",
}}
- className="absolute top-[20px] left-[-400px] select-none z-[5]"
+ className="absolute top-[20px] left-[-60px] md:left-[-400px] select-none z-[5]"
src="./illustrations/bottomcloud.webp"
alt="bottomcloudthree"
/>