Skip to content

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

LW7: background adjustments

Francesco Sansalvadore9b1055a6bd66
diff --git a/apps/www/components/LaunchWeek/LW7BgGraphic.tsx b/apps/www/components/LaunchWeek/LW7BgGraphic.tsx
index 4e086b1651a..030fab57a1a 100644
--- a/apps/www/components/LaunchWeek/LW7BgGraphic.tsx
+++ b/apps/www/components/LaunchWeek/LW7BgGraphic.tsx
@@ -48,6 +48,7 @@ export default function LW7BgGraphic() {
objectFit="cover"
quality={100}
unoptimized
+ priority
/>
</motion.div>
</div>
diff --git a/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx b/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx
index 2e60386d2ae..b370d47ea70 100644
--- a/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx
+++ b/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx
@@ -29,8 +29,8 @@ export default function LaunchWeekPrizeSection({ className }: { className?: stri
<path
d="M8.313 14.7478L7.5 17.5938L6.687 14.7478C6.47687 14.0126 6.0829 13.3431 5.54226 12.8025C5.00162 12.2619 4.33214 11.8679 3.597 11.6578L0.75 10.8438L3.596 10.0308C4.33114 9.82062 5.00062 9.42665 5.54126 8.88601C6.0819 8.34537 6.47587 7.67589 6.686 6.94075L7.5 4.09375L8.313 6.93975C8.52313 7.67489 8.9171 8.34437 9.45774 8.88501C9.99838 9.42565 10.6679 9.81962 11.403 10.0297L14.25 10.8438L11.404 11.6567C10.6689 11.8669 9.99938 12.2609 9.45874 12.8015C8.9181 13.3421 8.52413 14.0116 8.314 14.7467L8.313 14.7478ZM16.759 7.55875L16.5 8.59375L16.241 7.55875C16.0927 6.96534 15.786 6.42337 15.3536 5.99078C14.9212 5.55819 14.3794 5.25124 13.786 5.10275L12.75 4.84375L13.786 4.58475C14.3794 4.43626 14.9212 4.12931 15.3536 3.69672C15.786 3.26413 16.0927 2.72216 16.241 2.12875L16.5 1.09375L16.759 2.12875C16.9073 2.72229 17.2142 3.26434 17.6468 3.69694C18.0794 4.12954 18.6215 4.43642 19.215 4.58475L20.25 4.84375L19.215 5.10275C18.6215 5.25108 18.0794 5.55796 17.6468 5.99056C17.2142 6.42316 16.9073 6.96522 16.759 7.55875ZM15.394 19.4107L15 20.5938L14.606 19.4107C14.4955 19.0794 14.3094 18.7783 14.0625 18.5313C13.8155 18.2843 13.5144 18.0982 13.183 17.9877L12 17.5938L13.183 17.1998C13.5144 17.0893 13.8155 16.9032 14.0625 16.6562C14.3094 16.4092 14.4955 16.1081 14.606 15.7768L15 14.5938L15.394 15.7768C15.5045 16.1081 15.6906 16.4092 15.9375 16.6562C16.1845 16.9032 16.4856 17.0893 16.817 17.1998L18 17.5938L16.817 17.9877C16.4856 18.0982 16.1845 18.2843 15.9375 18.5313C15.6906 18.7783 15.5045 19.0794 15.394 19.4107Z"
stroke="url(#paint0_linear_1704_106833)"
- stroke-linecap="round"
- stroke-linejoin="round"
+ strokeLinecap="round"
+ strokeLinejoin="round"
/>
<defs>
<linearGradient
@@ -41,8 +41,8 @@ export default function LaunchWeekPrizeSection({ className }: { className?: stri
y2="20.5938"
gradientUnits="userSpaceOnUse"
>
- <stop stop-color="#7915FD" />
- <stop offset="1" stop-color="#C667F7" />
+ <stop stopColor="#7915FD" />
+ <stop offset="1" stopColor="#C667F7" />
</linearGradient>
</defs>
</svg>
diff --git a/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWall.tsx b/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWall.tsx
index c39f8972095..fbf37b209f4 100644
--- a/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWall.tsx
+++ b/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWall.tsx
@@ -41,7 +41,7 @@ export default function TicketBrickWall({ users }: Props) {
].join(' ')}
></div>
- <div className="mx-auto overflow-hidden bg-scale-100">
+ <div className="mx-auto overflow-hidden bg-[#1C1C1C]">
<div className="max-w-[38rem] mx-auto mt-24">
<h2 className="radial-gradient-text-scale-500 text-center">
Explore the unique tickets generated by our community
diff --git a/apps/www/components/LaunchWeek/LaunchSection/brick-wall.module.css b/apps/www/components/LaunchWeek/LaunchSection/brick-wall.module.css
index 3ce9c2e8860..c81740ed399 100644
--- a/apps/www/components/LaunchWeek/LaunchSection/brick-wall.module.css
+++ b/apps/www/components/LaunchWeek/LaunchSection/brick-wall.module.css
@@ -1,6 +1,6 @@
/* mask overlay on left & right */
.brick-wall-mask--left,
.brick-wall-mask--right {
- background: linear-gradient(358.88deg, #161616 24.57%, rgba(28, 28, 28, 0) 87.73%),
- linear-gradient(358.88deg, #161616 24.57%, rgba(28, 28, 28, 0) 87.73%);
+ background: linear-gradient(358.88deg, #1c1c1c 24.57%, #1c1c1c00 87.73%),
+ linear-gradient(358.88deg, #1c1c1c 24.57%, #1c1c1c00 87.73%);
}
diff --git a/apps/www/components/LaunchWeek/Ticket/TicketNumber.tsx b/apps/www/components/LaunchWeek/Ticket/TicketNumber.tsx
index eb8fa724d34..26213e0b045 100644
--- a/apps/www/components/LaunchWeek/Ticket/TicketNumber.tsx
+++ b/apps/www/components/LaunchWeek/Ticket/TicketNumber.tsx
@@ -31,8 +31,8 @@ export default function TicketNumber({ number, size }: Props) {
<path
d="M0.0390625 1L233.294 0.99999"
stroke="url(#paint0_linear_1701_100991)"
- stroke-width="0.71381"
- stroke-dasharray="1.43 1.43"
+ strokeWidth="0.71381"
+ strokeDasharray="1.43 1.43"
/>
<defs>
<linearGradient
@@ -43,9 +43,9 @@ export default function TicketNumber({ number, size }: Props) {
y2="0.49999"
gradientUnits="userSpaceOnUse"
>
- <stop stop-color="white" stop-opacity="0" />
- <stop offset="0.53125" stop-color="white" />
- <stop offset="1" stop-color="white" stop-opacity="0" />
+ <stop stopColor="white" stopOpacity="0" />
+ <stop offset="0.53125" stopColor="white" />
+ <stop offset="1" stopColor="white" stopOpacity="0" />
</linearGradient>
</defs>
</svg>
diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsx
index 0d9fe7334ef..e3b92133afd 100644
--- a/apps/www/pages/launch-week/index.tsx
+++ b/apps/www/pages/launch-week/index.tsx
@@ -68,7 +68,7 @@ export default function TicketHome({ users }: Props) {
}, [supabase])
useEffect(() => {
- document.body.className = isDarkMode ? 'dark bg-[#121212]' : 'light bg-[#fff]'
+ document.body.className = isDarkMode ? 'dark bg-[#1C1C1C]' : 'light bg-[#fff]'
}, [isDarkMode])
return (