Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Gradient nudges

Terry Sutton9616e3ae9e0f
diff --git a/apps/www/components/LaunchWeek/Ticket/form.tsx b/apps/www/components/LaunchWeek/Ticket/form.tsx
index 3eb92cdb8cc..aef49399d53 100644
--- a/apps/www/components/LaunchWeek/Ticket/form.tsx
+++ b/apps/www/components/LaunchWeek/Ticket/form.tsx
@@ -190,12 +190,11 @@ export default function Form({ sharePage, align = 'Center' }: Props) {
<input
className={`
transition-all
-
+
border border-scale-300 bg-scaleA-200 h-10
focus:border-scale-500 focus:ring-scaleA-300
text-scale-1200 text-sm rounded-full w-full px-5`}
- autoComplete="off"
type="email"
id="email-input-field"
value={email}
diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsx
index 29b5c815cc5..8ded02a15cc 100644
--- a/apps/www/pages/launch-week/index.tsx
+++ b/apps/www/pages/launch-week/index.tsx
@@ -86,7 +86,7 @@ export default function launchweek() {
Register to get your ticket and stay tuned all week for daily announcements
</p> */}
{/* </SectionContainer> */}
- <SectionContainer className="flex flex-col items-center !p-0">
+ <SectionContainer className="flex flex-col items-center md:!p-0">
{/* <form className="m-4 flex bg-scale-200 border-scale-600 border-2 rounded-full p-0.5 pl-1 min-w-[260px]">
<input
className="mr-0 text-scale-1200 text-xs bg-scale-200 p-1 rounded-full w-full"
@@ -105,10 +105,10 @@ export default function launchweek() {
</SectionContainer>
<div className="gradient-container">
<div className="gradient-mask"></div>
- <div className="gradient-mask--masked"></div>
+ <div className="gradient-mask--masked bottom-of-the-circle"></div>
- <div className="flair-mask-a"></div>
- <div className="flair-mask-b"></div>
+ <div className="flair-mask-a the-stroke-of-the-circle"></div>
+ <div className="flair-mask-b inside-the-circle"></div>
</div>
{/* <div>
<div className="flex justify-between pt-80 mx-6 md:mx-16 lg:mx-40 overflow-hidden"> */}
diff --git a/apps/www/styles/index.css b/apps/www/styles/index.css
index 38e7054b286..1152dc442d8 100644
--- a/apps/www/styles/index.css
+++ b/apps/www/styles/index.css
@@ -431,7 +431,7 @@ launch week
}
.gradient-container {
- min-height: 500px;
+ min-height: 300px;
position: relative;
max-width: 1600px;
margin: 0 auto;
@@ -445,6 +445,13 @@ launch week
#121212 100%
); */
}
+@media screen and (max-width: 769px) {
+ .gradient-container {
+ min-width: 500px;
+ left: 50%;
+ transform: translateX(-50%);
+ }
+}
.gradient-mask {
z-index: -10;
@@ -469,12 +476,30 @@ launch week
circle at 50% -35%,
rgba(57, 97, 125, 0.32) 0%,
rgba(57, 97, 125, 0.32) 5%,
- rgba(0, 222, 209, 0.75) 8%,
- #f8f9fa 65%,
- #f8f9fa 100%
+ rgb(113 191 187 / 75%) 8%,
+ #ffffff 65%,
+ #ffffff 100%
);
}
+@media screen and (max-width: 769px) {
+ .gradient-mask {
+ width: 100%;
+ }
+
+ .light .gradient-mask {
+ background: radial-gradient(
+ circle at 50% -35%,
+ rgba(57, 97, 125, 0.32) 0%,
+ rgba(57, 97, 125, 0.32) 5%,
+ rgb(155 246 241 / 75%) 8%,
+ #90cebd 65%,
+ #67eae8 100%
+ );
+ }
+}
+
+/* The bottom part below the stroke */
.gradient-mask--masked {
z-index: -10;
position: absolute;
@@ -490,6 +515,17 @@ launch week
background: radial-gradient(circle at 50% -60%, rgba(255, 255, 255, 0) 0%, #fff 65%);
}
+@media screen and (max-width: 769px) {
+ .gradient-mask--masked {
+ background: radial-gradient(circle at 50% -40%, rgba(255, 255, 255, 0) 0%, #121212 65%);
+ }
+
+ .light .gradient-mask--masked {
+ background: radial-gradient(circle at 50% -40%, rgba(255, 255, 255, 0) 0%, #fff 65%);
+ }
+}
+
+/* The stroke on the circle */
.flair-mask-a {
position: absolute;
background-color: #375965;
@@ -501,6 +537,11 @@ launch week
clip-path: ellipse(52% 213px at 50% -75px);
}
+.light .flair-mask-a {
+ background-color: #d7d7d7;
+}
+
+/* The inside of the circle */
.flair-mask-b {
position: absolute;
background-color: #121212;