Skip to content

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

lw7: some icons and spacing fixes

Francesco Sansalvadore20cbb15d9422
diff --git a/apps/www/components/LaunchWeek/LabelBadge.tsx b/apps/www/components/LaunchWeek/LabelBadge.tsx
index 7670e7f5ec6..43960ce0a53 100644
--- a/apps/www/components/LaunchWeek/LabelBadge.tsx
+++ b/apps/www/components/LaunchWeek/LabelBadge.tsx
@@ -5,10 +5,10 @@ interface Props {
gradientText?: boolean
}
-export default function LabelBadge({ text, gradientText = true }: Props) {
+export default function LabelBadge({ text, gradientText = false }: Props) {
return (
<span className="bg-[#32313F] rounded px-1 py-[2px] text-xs">
- <span className={!gradientText ? '' : 'gradient-text-purple-500'}>{text}</span>
+ <span className={!gradientText ? 'text-[#D87BF5]' : 'gradient-text-purple-500'}>{text}</span>
</span>
)
}
diff --git a/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx b/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx
index fc58f7234cd..55738c55a96 100644
--- a/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx
+++ b/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx
@@ -1,4 +1,3 @@
-import Image from 'next/image'
import React from 'react'
import LabelBadge from '../LabelBadge'
import LaunchWeekPrizeCard from './LaunchWeekPrizeCard'
@@ -69,11 +68,6 @@ export default function LaunchWeekPrizeSection({ className }: { className?: stri
Main award
</h3>
<h4 className="flex items-center gap-3 text-[19px] mt-4">
- <Image
- src="/images/launchweek/seven/icons/compute-upgrade.svg"
- width={16}
- height={16}
- />
Mechanical Keyboard <LabelBadge text="3 keyboards" />
</h4>
<p className="text-[#707070] mt-1">
diff --git a/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWall.tsx b/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWall.tsx
index a2f403c770b..37e95b867c9 100644
--- a/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWall.tsx
+++ b/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWall.tsx
@@ -12,7 +12,7 @@ interface Props {
export default function TicketBrickWall({ users }: Props) {
const isMobile = useMobileViewport(768)
return (
- <div className="relative pt-28 pb-20 md:py-40">
+ <div className="relative pt-28 pb-20 md:pt-40">
<div className="mx-auto bg-[#1C1C1C]">
<div className="max-w-[38rem] mx-auto">
<h2 className="radial-gradient-text-scale-500 text-center">
diff --git a/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx b/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx
index 2140cb4b22c..8e36962e150 100644
--- a/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx
+++ b/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx
@@ -62,18 +62,13 @@ export default function TicketActions({
<div className="grid gap-1">
{!sharePage ? (
<>
- <div className="rounded-md bg-[#E6E8EB] text-scale-500 py-1 px-3 border border-scale-1100 text-xs mb-1 transition-all ease-out hover:bg-[#dfe1e3]">
- <a
- href={tweetUrl}
- rel="noopener noreferrer"
- target="_blank"
- className="flex items-center justify-center gap-2"
- >
+ <div className="rounded-md bg-[#E6E8EB] text-scale-500 py-1 px-3 border border-scale-1100 text-xs mb-1">
+ <div className="flex items-center justify-center gap-2">
<div className="text-scale-900">
<IconCheckCircle size={10} strokeWidth={1} />
</div>
Connect with Github
- </a>
+ </div>
</div>
<div
className={`rounded-md ${