From faaef823ebb3f83ebe8a25071651330cd4aae596 Mon Sep 17 00:00:00 2001 From: Francisco Mazzoni Date: Tue, 29 Nov 2022 11:43:53 -0300 Subject: [PATCH] share buttons, title letter spacing --- .../LaunchWeek/Ticket/ticket-actions.tsx | 17 +++-------------- .../LaunchWeek/Ticket/ticket-info.module.css | 12 ------------ .../LaunchWeek/Ticket/ticket-info.tsx | 10 ++++++++-- .../www/components/LaunchWeek/Ticket/ticket.tsx | 6 ++++-- 4 files changed, 15 insertions(+), 30 deletions(-) diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-actions.tsx b/apps/www/components/LaunchWeek/Ticket/ticket-actions.tsx index 39a200f6a5f..96d851d8075 100644 --- a/apps/www/components/LaunchWeek/Ticket/ticket-actions.tsx +++ b/apps/www/components/LaunchWeek/Ticket/ticket-actions.tsx @@ -45,7 +45,7 @@ export default function TicketActions({ username, golden = false }: Props) { const ActionStyle = ({ children }: any) => { return ( -
+
{children}
) @@ -54,30 +54,19 @@ export default function TicketActions({ username, golden = false }: Props) { return ( <> - + {/* Tweet it! */} Tweet it - + {/* Share on LinkedIn */} Share on Linkedin { if (imgReady) return diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-info.module.css b/apps/www/components/LaunchWeek/Ticket/ticket-info.module.css index 72d59e76955..1bb38c9d1f5 100644 --- a/apps/www/components/LaunchWeek/Ticket/ticket-info.module.css +++ b/apps/www/components/LaunchWeek/Ticket/ticket-info.module.css @@ -11,7 +11,6 @@ grid-template-columns: 1fr 2fr; gap: calc(var(--space-4x) * var(--size)); font-size: calc(1em * var(--size)); */ - gap: calc(8px * var(--size)); padding: 0; margin-bottom: calc(32px * var(--size)); margin-left: calc(160px * var(--size)); @@ -73,20 +72,9 @@ } */ .url { - margin-bottom: var(--space-12x); - font-size: calc(18px * var(--size)); - color: var(--lw-secondary-color); } .url-golden { color: var(--gold-primary); } - -@media (min-width: 768px) { - .url { - margin-bottom: 0; - font-size: calc(20px * var(--size)); - line-height: 1.15; - } -} diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-info.tsx b/apps/www/components/LaunchWeek/Ticket/ticket-info.tsx index dea6bd85a29..25b7b4d1794 100644 --- a/apps/www/components/LaunchWeek/Ticket/ticket-info.tsx +++ b/apps/www/components/LaunchWeek/Ticket/ticket-info.tsx @@ -13,13 +13,19 @@ export default function TicketInfo({ return (
{DATE}
- {/*
{siteUrlForTicket}
*/} +
+
supabase.com/launch-week
+
) } diff --git a/apps/www/components/LaunchWeek/Ticket/ticket.tsx b/apps/www/components/LaunchWeek/Ticket/ticket.tsx index 12d95e9f278..edd6f252cec 100644 --- a/apps/www/components/LaunchWeek/Ticket/ticket.tsx +++ b/apps/www/components/LaunchWeek/Ticket/ticket.tsx @@ -62,11 +62,13 @@ export default function Ticket({ username, name, ticketNumber, sharePage, golden <>{SITE_NAME} ) ) : golden ? ( -

+

You won a golden ticket!
Claim it now!

) : ( -

Congratulations, you have a ticket!

+

+ Congratulations, you have a ticket! +

)}