Skip to content

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

Update PromoToast (#19311)

Francesco Sansalvadore98f5ea35c547
diff --git a/apps/docs/pages/_app.tsx b/apps/docs/pages/_app.tsx
index 2307197f240..20224f4d0ee 100644
--- a/apps/docs/pages/_app.tsx
+++ b/apps/docs/pages/_app.tsx
@@ -10,14 +10,12 @@ import { AuthProvider, ThemeProvider, useTelemetryProps, useThemeSandbox } from
import { useRouter } from 'next/router'
import { useCallback, useEffect, useState } from 'react'
import { AppPropsWithLayout } from 'types'
-import { CommandMenuProvider, useConsent } from 'ui'
+import { CommandMenuProvider, PortalToast, PromoToast, useConsent } from 'ui'
import { TabsProvider } from 'ui/src/components/Tabs'
-import PortalToast from 'ui/src/layout/PortalToast'
import Favicons from '~/components/Favicons'
import SiteLayout from '~/layouts/SiteLayout'
import { API_URL, IS_PLATFORM } from '~/lib/constants'
import { post } from '~/lib/fetchWrappers'
-import PromoToast from 'ui/src/components/PromoToast'
function MyApp({ Component, pageProps }: AppPropsWithLayout) {
const router = useRouter()
diff --git a/apps/www/components/Sections/FunctionsUsecases.tsx b/apps/www/components/Sections/FunctionsUsecases.tsx
index 1313daca921..3b591bbc66d 100644
--- a/apps/www/components/Sections/FunctionsUsecases.tsx
+++ b/apps/www/components/Sections/FunctionsUsecases.tsx
@@ -36,7 +36,7 @@ function FunctionsUsecases(props: Props) {
<div className="grid grid-cols-12 lg:gap-16">
<div className="col-span-12 pb-8 lg:col-span-5 xl:col-span-5">
<h2 className="h3">{props.title}</h2>
- <p className="p">{props.text}</p>
+ <div className="p">{props.text}</div>
<div className="flex flex-col gap-3">
{props.content.map((feat, i) => {
diff --git a/apps/www/pages/edge-functions/edge-functions.tsx b/apps/www/pages/edge-functions/edge-functions.tsx
index 531f5f7f03a..88a8c04835a 100644
--- a/apps/www/pages/edge-functions/edge-functions.tsx
+++ b/apps/www/pages/edge-functions/edge-functions.tsx
@@ -139,7 +139,7 @@ function Database() {
<div>
<h3 className="text-foreground text-lg">{item.title}</h3>
- <p className="text-foreground-light text-sm">{item.description}</p>
+ <div className="text-foreground-light text-sm">{item.description}</div>
</div>
</div>
)
@@ -260,9 +260,7 @@ serve(async (req) => {
footer={[
<div className="grid grid-cols-12" key={0}>
<div className="col-span-12 mt-0 flex lg:col-span-6 xl:col-span-12 xl:mb-8">
- <p>
- <p className="text-foreground-light m-0">Libraries coming soon:</p>
- </p>
+ <p className="text-foreground-light m-0">Libraries coming soon:</p>
<div className="ml-1 space-x-1">
<Badge dot={false}>Python</Badge>
<Badge dot={false}>Dart</Badge>
diff --git a/apps/www/supabase/functions/lwx-og/handler.tsx b/apps/www/supabase/functions/lwx-og/handler.tsx
index df5466ab1b3..579322d5083 100644
--- a/apps/www/supabase/functions/lwx-og/handler.tsx
+++ b/apps/www/supabase/functions/lwx-og/handler.tsx
@@ -17,6 +17,7 @@ const mono_font = fetch(new URL(MONO_FONT_URL, import.meta.url)).then((res) => r
const BUCKET_FOLDER_VERSION = 'v1'
const LW_TABLE = 'lwx_tickets'
+const LW_MATERIALIZED_VIEW = 'lwx_tickets_golden'
const STYLING_CONGIF = {
REG: {
@@ -66,7 +67,7 @@ export async function handler(req: Request) {
// Get ticket data
const { data, error } = await supabaseAdminClient
- .from(LW_TABLE)
+ .from(LW_MATERIALIZED_VIEW)
.select('name, ticketNumber, sharedOnTwitter, sharedOnLinkedIn, metadata')
.eq('username', username)
.maybeSingle()
diff --git a/apps/www/supabase/functions/lwx-ticket/handler.tsx b/apps/www/supabase/functions/lwx-ticket/handler.tsx
index 66ad408ae42..3c4d59dbea7 100644
--- a/apps/www/supabase/functions/lwx-ticket/handler.tsx
+++ b/apps/www/supabase/functions/lwx-ticket/handler.tsx
@@ -16,6 +16,7 @@ const font = fetch(new URL(FONT_URL, import.meta.url)).then((res) => res.arrayBu
const mono_font = fetch(new URL(MONO_FONT_URL, import.meta.url)).then((res) => res.arrayBuffer())
const LW_TABLE = 'lwx_tickets'
+const LW_MATERIALIZED_VIEW = 'lwx_tickets_golden'
const STYLING_CONGIF = {
REG: {
@@ -63,7 +64,7 @@ export async function handler(req: Request) {
// Get ticket data
const { data, error } = await supabaseAdminClient
- .from(LW_TABLE)
+ .from(LW_MATERIALIZED_VIEW)
.select('name, ticketNumber, sharedOnTwitter, sharedOnLinkedIn, metadata')
.eq('username', username)
.maybeSingle()
diff --git a/packages/common/constants/local-storage.ts b/packages/common/constants/local-storage.ts
index fcd9162b4e8..8826de33cae 100644
--- a/packages/common/constants/local-storage.ts
+++ b/packages/common/constants/local-storage.ts
@@ -1,3 +1,4 @@
export const LOCAL_STORAGE_KEYS = {
TELEMETRY_CONSENT: 'supabase-consent',
+ HIDE_PROMO_TOAST: 'supabase-hide-promo-toast',
}
diff --git a/packages/ui/src/components/PromoToast/PromoBg.tsx b/packages/ui/src/components/PromoToast/PromoBg.tsx
index 9a4e40f2d8e..6d91bbc4da3 100644
--- a/packages/ui/src/components/PromoToast/PromoBg.tsx
+++ b/packages/ui/src/components/PromoToast/PromoBg.tsx
@@ -8,155 +8,94 @@ const PromoBg = ({ className }: Props) => {
return (
<svg
className={cn('', className)}
- width="349"
+ width="358"
height="195"
- viewBox="0 0 349 195"
+ viewBox="0 0 358 195"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
- <g clip-path="url(#clip0_558_2902)">
- <rect width="349" height="195" rx="8" fill="hsl(var(--background-alternative-default))" />
- <path
- d="M233.234 -24.4339L255.919 -26.0767M233.234 -24.4339L234.876 -1.74894M233.234 -24.4339L231.591 -47.119M233.234 -24.4339L210.548 -22.791M255.919 -26.0767L257.561 -3.3917M255.919 -26.0767L231.591 -47.119M255.919 -26.0767L278.603 -27.7194M255.919 -26.0767L280.246 -5.03439M255.919 -26.0767L276.961 -50.4044L278.603 -27.7194M257.561 -3.3917L234.876 -1.74894M257.561 -3.3917L259.204 19.2934M257.561 -3.3917L280.246 -5.03439M234.876 -1.74894L210.548 -22.791M234.876 -1.74894L236.519 20.9361M234.876 -1.74894L213.834 22.5788M234.876 -1.74894L259.204 19.2934M234.876 -1.74894L212.191 -0.106216M231.591 -47.119L208.906 -45.476M208.906 -45.476L210.548 -22.791M208.906 -45.476L186.22 -43.8331M210.548 -22.791L212.191 -0.106216M210.548 -22.791L187.863 -21.1483M210.548 -22.791L189.506 1.53674M283.531 40.3356L281.889 17.6506M283.531 40.3356L259.204 19.2934M283.531 40.3356L306.216 38.6929M283.531 40.3356L260.847 41.9783M283.531 40.3356L262.49 64.6634M259.204 19.2934L281.889 17.6506M259.204 19.2934L236.519 20.9361M259.204 19.2934L238.162 43.6211M259.204 19.2934L280.246 -5.03439M259.204 19.2934L260.847 41.9783M281.889 17.6506L304.573 16.0079M281.889 17.6506L280.246 -5.03439M280.246 -5.03439L278.603 -27.7194M280.246 -5.03439L304.573 16.0079M280.246 -5.03439L301.288 -29.3621M280.246 -5.03439L302.931 -6.67716M280.246 -5.03439L304.574 16.0079M278.603 -27.7194L276.96 -50.4044L299.645 -52.0471M278.603 -27.7194L301.288 -29.3621M262.49 64.6634L260.847 41.9783M262.49 64.6634L238.162 43.6211M238.162 43.6211L260.847 41.9783M238.162 43.6211L236.519 20.9361M238.162 43.6211L215.477 45.264M269.062 155.403L267.419 132.718M269.062 155.403L244.734 134.361M269.062 155.403L290.104 131.075M269.062 155.403L246.376 157.046M269.062 155.403L270.704 178.088M269.062 155.403L291.746 153.761M269.062 155.403L293.389 176.446M269.062 155.403L248.019 179.731M244.734 134.361L267.419 132.718M244.734 134.361L265.776 110.033M244.734 134.361L222.048 136.004M244.734 134.361L246.376 157.046M267.419 132.718L290.104 131.075M267.419 132.718L265.776 110.033M304.573 16.0079L306.216 38.6929M304.573 16.0079L327.258 14.3651L325.616 -8.31985M304.573 16.0079L302.931 -6.67716M304.573 16.0079L328.901 37.0501M306.216 38.6929L328.901 37.0501M306.216 38.6929L307.859 61.3781M299.645 -52.0471L301.288 -29.3621M299.645 -52.0471L322.33 -53.6899M301.288 -29.3621L302.931 -6.67716M301.288 -29.3621L323.973 -31.0049M301.288 -29.3621L325.616 -8.31985M236.519 20.9361L213.834 22.5788M290.104 131.075L265.776 110.033M290.104 131.075L291.746 153.761M213.834 22.5788L215.477 45.264M213.834 22.5788L191.149 24.2218M213.834 22.5788L212.191 -0.106216M213.834 22.5788L192.791 46.9067M215.477 45.264L192.791 46.9067M215.477 45.264L217.119 67.949M212.191 -0.106216L189.506 1.53674M302.931 -6.67716L325.616 -8.31985M302.931 -6.67716L304.574 16.0079M166.822 3.17947L144.137 4.82223M166.822 3.17947L168.465 25.8645M166.822 3.17947L165.18 -19.5058M144.137 4.82223L145.78 27.5072M144.137 4.82223L123.095 29.1501M144.137 4.82223L165.18 -19.5058M144.137 4.82223L142.495 -17.8628M145.78 27.5072L168.465 25.8645M145.78 27.5072L123.095 29.1501M145.78 27.5072L147.422 50.1922M168.465 25.8645L170.108 48.5495M168.465 25.8645L147.423 50.1922M168.465 25.8645L191.15 24.2217M168.465 25.8645L189.507 1.5367L191.15 24.2217M187.863 -21.1483L165.178 -19.5055M187.863 -21.1483L189.506 1.53674M187.863 -21.1483L186.22 -43.8331M165.178 -19.5055L166.821 3.1795M165.178 -19.5055L186.22 -43.8331M165.178 -19.5055L163.535 -42.1903L186.22 -43.8331M166.821 3.1795L189.506 1.53674M166.821 3.1795L168.464 25.8644M189.506 1.53674L168.464 25.8644M189.506 1.53674L191.149 24.2218M147.422 50.1922L145.779 27.5072L168.464 25.8644M147.422 50.1922L168.464 25.8644M147.422 50.1922L124.737 51.8349M147.422 50.1922L149.065 72.8772M147.422 50.1922L126.38 74.52M123.095 29.1501L124.737 51.8349M123.095 29.1501L100.41 30.7927M123.095 29.1501L121.452 6.46492M123.095 29.1501L144.136 4.82219M123.095 29.1501L102.052 53.4779M124.737 51.8349L102.052 53.4779M124.737 51.8349L126.38 74.52M165.18 -19.5058L142.495 -17.8628M165.18 -19.5058L163.537 -42.1905L140.852 -40.5478L142.495 -17.8628M147.423 50.1922L170.108 48.5495M147.423 50.1922L149.066 72.8772M170.108 48.5495L192.793 46.9067L191.15 24.2217M170.108 48.5495L171.751 71.2345M348.302 -9.9628L370.987 -11.6056M348.302 -9.9628L349.944 12.7222M348.302 -9.9628L346.659 -32.6476M370.987 -11.6056L372.629 11.0794M370.987 -11.6056L395.314 9.43697M370.987 -11.6056L346.659 -32.6476M370.987 -11.6056L393.671 -13.2482M370.987 -11.6056L369.343 -34.2903M372.629 11.0794L349.944 12.7222M372.629 11.0794L374.271 33.7647M372.629 11.0794L395.314 9.43697M349.944 12.7222L374.271 33.7647M349.944 12.7222L351.587 35.4074M349.944 12.7222L327.259 14.3652M349.944 12.7222L325.617 -8.31982L327.259 14.3652M323.973 -31.0049L346.658 -32.6476M323.973 -31.0049L325.616 -8.31985M323.973 -31.0049L322.33 -53.6899M346.658 -32.6476L348.301 -9.96262M346.658 -32.6476L322.33 -53.6899M346.658 -32.6476L345.015 -55.3326L322.33 -53.6899M348.301 -9.96262L325.616 -8.31985M348.301 -9.96262L349.943 12.7224L325.616 -8.31985M374.271 33.7647L396.957 32.122M374.271 33.7647L351.587 35.4074M374.271 33.7647L375.914 56.4495M374.271 33.7647L398.599 54.8067M395.314 9.43697L396.957 32.122M395.314 9.43697L417.999 7.79399M395.314 9.43697L393.671 -13.2482M395.314 9.43697L419.642 30.4793M396.957 32.122L419.642 30.4793M396.957 32.122L398.599 54.8067M346.659 -32.6476L369.343 -34.2903M346.659 -32.6476L345.016 -55.3328L367.701 -56.9755M351.587 35.4074L328.902 37.0502M351.587 35.4074L353.23 58.0922M191.149 24.2218L192.791 46.9067M192.791 46.9067L194.434 69.5918M192.791 46.9067L171.749 71.2345M192.791 46.9067L170.106 48.5495L171.749 71.2345M328.902 37.0502L327.259 14.3652M328.902 37.0502L304.574 16.0079M328.902 37.0502L330.545 59.7349M328.902 37.0502L353.23 58.0922M304.574 16.0079L327.259 14.3652M328.901 37.0501L330.544 59.7351M121.452 6.46492L98.767 8.10768M121.452 6.46492L119.809 -16.2201M121.452 6.46492L144.136 4.82219M98.767 8.10768L100.41 30.7927M98.767 8.10768L77.7243 32.4356M98.767 8.10768L119.809 -16.2201M98.767 8.10768L97.1243 -14.5773M100.41 30.7927L77.7243 32.4356M100.41 30.7927L102.051 53.4777M142.494 -17.8628L119.809 -16.2201M142.494 -17.8628L144.136 4.82219M142.494 -17.8628L140.851 -40.5478M119.809 -16.2201L140.851 -40.5478M119.809 -16.2201L118.166 -38.9051M119.809 -16.2201L97.1243 -14.5773M140.851 -40.5478L118.166 -38.9051M102.051 53.4777L100.409 30.7926L123.094 29.1499L102.051 53.4777ZM102.051 53.4777L79.367 55.1204M102.051 53.4777L103.694 76.1627M102.051 53.4777L81.0091 77.8054M77.7243 32.4356L79.367 55.1204M77.7243 32.4356L55.0393 34.0781M77.7243 32.4356L76.0816 9.75037M77.7243 32.4356L56.6827 56.7633M77.7243 32.4356L98.7659 8.10764M79.367 55.1204L56.6827 56.7633M79.367 55.1204L81.0091 77.8054M118.166 -38.9051L95.4816 -37.2623L97.1243 -14.5773M102.052 53.4779L103.695 76.1627M393.671 -13.2482L416.356 -14.891M393.671 -13.2482L392.028 -35.9331M416.356 -14.891L417.999 7.79399M416.356 -14.891L440.684 6.1513M416.356 -14.891L392.028 -35.9331M416.356 -14.891L439.042 -16.5337M416.356 -14.891L414.714 -37.576M417.999 7.79399L419.642 30.4793M417.999 7.79399L440.684 6.1513M369.343 -34.2903L392.028 -35.9331M369.343 -34.2903L367.701 -56.9755M392.028 -35.9331L367.701 -56.9755M392.028 -35.9331L390.386 -58.6183M392.028 -35.9331L414.714 -37.576M367.701 -56.9755L390.386 -58.6183M419.642 30.4793L442.327 28.8365M419.642 30.4793L421.285 53.164M419.642 30.4793L443.97 51.5213M440.684 6.1513L442.327 28.8365M440.684 6.1513L463.369 4.50854M440.684 6.1513L439.042 -16.5337M440.684 6.1513L465.012 27.1934M442.327 28.8365L465.012 27.1934M442.327 28.8365L443.97 51.5213M390.386 -58.6183L413.071 -60.261M76.0816 9.75037L53.3965 11.3931M76.0816 9.75037L74.4382 -12.9346M76.0816 9.75037L98.7659 8.10764M53.3965 11.3931L55.0393 34.0781M53.3965 11.3931L32.3538 35.7211M53.3965 11.3931L74.4382 -12.9346M53.3965 11.3931L30.7122 13.0361M53.3965 11.3931L51.7545 -11.2917M53.3965 11.3931L32.355 35.7209L30.7122 13.0361M55.0393 34.0781L56.6827 56.7633M55.0393 34.0781L32.3538 35.7211M55.0393 34.0781L56.6816 56.7633L33.9965 58.4061L32.3538 35.7211M97.1232 -14.5774L74.4382 -12.9346M97.1232 -14.5774L98.7659 8.10764M97.1232 -14.5774L95.4804 -37.2621M74.4382 -12.9346L95.4804 -37.2621M74.4382 -12.9346L72.7954 -35.6194M74.4382 -12.9346L51.7545 -11.2917M95.4804 -37.2621L72.7954 -35.6194M56.6827 56.7633L58.3254 79.4481M56.6827 56.7633L35.6404 81.0909M56.6827 56.7633L33.9977 58.4061L35.6404 81.0909M72.7954 -35.6194L50.1118 -33.9767M439.042 -16.5337L461.727 -18.1765M439.042 -16.5337L437.399 -39.2188M461.727 -18.1765L463.369 4.50854M461.727 -18.1765L486.054 2.86584M461.727 -18.1765L437.399 -39.2188M461.727 -18.1765L484.412 -19.8194M461.727 -18.1765L460.084 -40.8617M463.369 4.50854L465.012 27.1934M463.369 4.50854L486.054 2.86584M414.714 -37.576L437.399 -39.2188M414.714 -37.576L413.071 -60.261M437.399 -39.2188L413.071 -60.261M437.399 -39.2188L435.756 -61.9038M437.399 -39.2188L460.084 -40.8617M413.071 -60.261L435.756 -61.9038M465.012 27.1934L487.697 25.5506M465.012 27.1934L466.655 49.8786M465.012 27.1934L489.34 48.2358M486.054 2.86584L487.697 25.5506M486.054 2.86584L484.412 -19.8194M487.697 25.5506L489.34 48.2358M435.756 -61.9038L458.441 -63.5464M460.084 -40.8617L482.769 -42.5044M460.084 -40.8617L458.441 -63.5464M482.769 -42.5044L484.412 -19.8194M482.769 -42.5044L458.441 -63.5464M482.769 -42.5044L481.126 -65.1892L458.441 -63.5464M51.7545 -11.2917L29.0695 -9.64892M51.7545 -11.2917L50.1118 -33.9767M29.0695 -9.64892L30.7122 13.0361M29.0695 -9.64892L50.1118 -33.9767M29.0695 -9.64892L27.4268 -32.3339L50.1118 -33.9767M217.119 67.949L218.762 90.634M217.119 67.949L241.447 88.9913M217.119 67.949L194.434 69.5918M217.119 67.949L196.077 92.2768M217.119 67.949L196.078 92.2766M241.447 88.9913L218.762 90.634M241.447 88.9913L220.406 113.319M218.762 90.634L196.078 92.2766M218.762 90.634L220.406 113.319M307.859 61.3781L309.502 84.0631M307.859 61.3781L286.817 85.7059M307.859 61.3781L330.544 59.7351M307.859 61.3781L332.186 82.4204M309.502 84.0631L286.817 85.7059M309.502 84.0631L332.186 82.4204M309.502 84.0631L311.144 106.748M309.502 84.0631L311.145 106.748M286.817 85.7059L311.145 106.748M173.393 93.9195L150.708 95.5623M173.393 93.9195L175.036 116.604M173.393 93.9195L171.751 71.2345M150.708 95.5623L152.351 118.247M150.708 95.5623L129.666 119.89M150.708 95.5623L171.751 71.2345M150.708 95.5623L149.066 72.8772M152.351 118.247L175.036 116.604M152.351 118.247L129.666 119.89M152.351 118.247L153.993 140.932M175.036 116.604L176.679 139.29M175.036 116.604L153.994 140.932M175.036 116.604L197.721 114.962M175.036 116.604L196.078 92.2766M194.434 69.5918L171.749 71.2345M194.434 69.5918L196.077 92.2768M171.749 71.2345L173.392 93.9195M173.392 93.9195L196.077 92.2768M173.392 93.9195L175.035 116.604M196.077 92.2768L175.035 116.604M153.993 140.932L152.35 118.247L175.035 116.604M153.993 140.932L175.035 116.604M153.993 140.932L131.308 142.575M153.993 140.932L155.635 163.617M153.993 140.932L132.95 165.26M129.666 119.89L131.308 142.575M129.666 119.89L106.981 121.533M129.666 119.89L128.023 97.2052M129.666 119.89L150.707 95.5622M129.666 119.89L108.623 144.218M131.308 142.575L108.623 144.218M131.308 142.575L132.95 165.26M171.751 71.2345L149.066 72.8772M153.994 140.932L176.679 139.29M153.994 140.932L155.637 163.617M176.679 139.29L199.364 137.647M176.679 139.29L178.322 161.974M354.873 80.7775L377.558 79.1347M354.873 80.7775L356.515 103.462M354.873 80.7775L353.23 58.0922M354.873 80.7775L332.187 82.42M377.558 79.1347L379.2 101.82M377.558 79.1347L401.885 100.177M377.558 79.1347L353.23 58.0922M377.558 79.1347L400.242 77.4918M377.558 79.1347L375.914 56.4495M379.2 101.82L356.515 103.462M379.2 101.82L380.842 124.505M379.2 101.82L401.885 100.177M356.515 103.462L380.842 124.505M356.515 103.462L332.187 82.42M356.515 103.462L358.158 126.147M356.515 103.462L333.83 105.105M330.545 59.7349L353.23 58.0922M330.545 59.7349L332.187 82.42M353.23 58.0922L375.914 56.4495M332.187 82.42L333.83 105.105M330.544 59.7351L332.186 82.4204M332.186 82.4204L333.829 105.105L311.144 106.748M380.842 124.505L403.528 122.862M380.842 124.505L358.158 126.147M380.842 124.505L382.485 147.19M380.842 124.505L405.17 145.547M401.885 100.177L403.528 122.862M401.885 100.177L424.57 98.534M401.885 100.177L400.242 77.4918M401.885 100.177L426.213 121.219M403.528 122.862L426.213 121.219M403.528 122.862L405.17 145.547M358.158 126.147L335.473 127.79M358.158 126.147L359.801 148.832M196.078 92.2766L197.721 114.962M197.721 114.962L220.406 113.319M197.721 114.962L199.364 137.647M220.406 113.319L222.048 136.004M220.406 113.319L199.364 137.647M199.362 137.647L197.72 114.962L220.405 113.319L199.362 137.647ZM199.362 137.647L201.005 160.332M199.362 137.647L178.32 161.974M199.362 137.647L176.677 139.29L178.32 161.974M199.364 137.647L222.048 136.004M199.364 137.647L201.006 160.332M222.048 136.004L223.691 158.689M311.144 106.748L312.787 129.433M311.144 106.748L335.472 127.79M335.473 127.79L333.83 105.105M335.473 127.79L311.145 106.748M335.473 127.79L337.115 150.475M335.473 127.79L359.801 148.832M311.145 106.748L333.83 105.105M335.472 127.79L312.787 129.433M335.472 127.79L337.114 150.475M312.787 129.433L290.102 131.076L291.744 153.761M312.787 129.433L314.429 152.118M128.023 97.2052L105.338 98.8479M128.023 97.2052L126.38 74.52M128.023 97.2052L150.707 95.5622M105.338 98.8479L106.981 121.533M105.338 98.8479L84.2952 123.175M105.338 98.8479L126.38 74.52M105.338 98.8479L103.695 76.1627M106.981 121.533L84.2952 123.175M106.981 121.533L108.622 144.218M149.065 72.8772L126.38 74.52M149.065 72.8772L150.707 95.5622M126.38 74.52L103.695 76.1627M108.622 144.218L106.979 121.533L129.664 119.89L108.622 144.218ZM108.622 144.218L85.9379 145.861M108.622 144.218L110.265 166.903M108.622 144.218L87.58 168.546M84.2952 123.175L85.9379 145.861M84.2952 123.175L61.6102 124.818M84.2952 123.175L82.6525 100.491M84.2952 123.175L63.2536 147.503M84.2952 123.175L105.337 98.8477M85.9379 145.861L63.2536 147.503M85.9379 145.861L87.58 168.546M108.623 144.218L110.266 166.903M400.242 77.4918L422.927 75.849M400.242 77.4918L398.599 54.8067M422.927 75.849L424.57 98.534M422.927 75.849L447.255 96.8913M422.927 75.849L398.599 54.8067M422.927 75.849L445.613 74.2063M422.927 75.849L421.285 53.164M424.57 98.534L426.213 121.219M424.57 98.534L447.255 96.8913M375.914 56.4495L398.599 54.8067M398.599 54.8067L421.285 53.164M426.213 121.219L448.898 119.576M426.213 121.219L427.856 143.904M426.213 121.219L450.541 142.261M447.255 96.8913L448.898 119.576M447.255 96.8913L469.94 95.2486M447.255 96.8913L445.613 74.2063M447.255 96.8913L471.583 117.934M448.898 119.576L471.583 117.934M448.898 119.576L450.541 142.261M82.6525 100.491L59.9675 102.133M82.6525 100.491L81.0091 77.8054M82.6525 100.491L105.337 98.8477M59.9675 102.133L61.6102 124.818M59.9675 102.133L38.9247 126.461M59.9675 102.133L81.0091 77.8054M59.9675 102.133L37.2832 103.776M59.9675 102.133L58.3254 79.4481M59.9675 102.133L38.9259 126.461L37.2832 103.776M61.6102 124.818L63.2536 147.503M61.6102 124.818L38.9247 126.461M61.6102 124.818L63.2525 147.503L40.5675 149.146L38.9247 126.461M103.694 76.1627L81.0091 77.8054M103.694 76.1627L105.337 98.8477M81.0091 77.8054L58.3254 79.4481M63.2536 147.503L64.8963 170.188M63.2536 147.503L42.2113 171.831M63.2536 147.503L40.5686 149.146L42.2113 171.831M445.613 74.2063L468.298 72.5636M445.613 74.2063L443.97 51.5213M468.298 72.5636L469.94 95.2486M468.298 72.5636L492.625 93.6059M468.298 72.5636L443.97 51.5213M468.298 72.5636L490.983 70.9208M468.298 72.5636L466.655 49.8786M469.94 95.2486L471.583 117.934M469.94 95.2486L492.625 93.6059M421.285 53.164L443.97 51.5213M443.97 51.5213L466.655 49.8786M471.583 117.934L494.268 116.291M471.583 117.934L473.226 140.619M471.583 117.934L495.911 138.976M492.625 93.6059L494.268 116.291M492.625 93.6059L490.983 70.9208M494.268 116.291L495.911 138.976M466.655 49.8786L489.34 48.2358M489.34 48.2358L490.983 70.9208M58.3254 79.4481L35.6404 81.0909M35.6404 81.0909L37.2832 103.776M246.376 157.046L248.019 179.731M246.376 157.046L269.061 155.404L244.733 134.361L246.376 157.046ZM246.376 157.046L223.691 158.689M270.704 178.088L248.019 179.731M270.704 178.088L272.346 200.773M270.704 178.088L293.389 176.446M248.019 179.731L223.691 158.689M248.019 179.731L249.662 202.416M248.019 179.731L226.977 204.059M248.019 179.731L272.346 200.773M248.019 179.731L225.334 181.374M251.305 225.101L252.947 247.786M251.305 225.101L275.632 246.143L252.947 247.786M251.305 225.101L249.662 202.416M251.305 225.101L272.346 200.773M251.305 225.101L228.619 226.744M252.947 247.786L230.262 249.429M223.691 158.689L225.334 181.374M223.691 158.689L201.006 160.332M223.691 158.689L202.649 183.017M296.674 221.816L295.031 199.131M296.674 221.816L272.346 200.773M296.674 221.816L319.358 220.173M296.674 221.816L298.318 244.501M272.346 200.773L295.031 199.131M272.346 200.773L249.662 202.416M272.346 200.773L293.389 176.446M272.346 200.773L273.991 223.458M272.346 200.773L251.306 225.101M272.346 200.773L296.676 221.816M295.031 199.131L317.715 197.488M295.031 199.131L293.389 176.446M293.389 176.446L291.746 153.761M293.389 176.446L316.073 174.803M293.389 176.446L314.429 152.118M293.389 176.446L317.717 197.488M275.633 246.143L273.991 223.458M275.633 246.143L251.306 225.101M275.633 246.143L296.676 221.816M275.633 246.143L298.318 244.501M251.306 225.101L273.991 223.458M273.991 223.458L296.676 221.816M317.715 197.488L295.03 199.131L293.387 176.446M317.715 197.488L293.387 176.446M317.715 197.488L319.358 220.173M317.715 197.488L340.4 195.845L338.757 173.16M317.715 197.488L316.073 174.803M317.715 197.488L342.043 218.53M293.387 176.446L291.744 153.761M293.387 176.446L314.429 152.118M319.358 220.173L342.043 218.53M319.358 220.173L321.001 242.858M291.744 153.761L314.429 152.118M314.429 152.118L316.073 174.803M314.429 152.118L337.114 150.475M314.429 152.118L338.757 173.16M249.662 202.416L226.977 204.059M296.676 221.816L298.318 244.501M226.977 204.059L228.619 226.744M226.977 204.059L204.292 205.702M226.977 204.059L225.334 181.374M226.977 204.059L205.935 228.387M228.619 226.744L205.935 228.387M228.619 226.744L230.262 249.429M298.318 244.501L321.001 242.858M225.334 181.374L202.649 183.017M316.073 174.803L338.757 173.16M316.073 174.803L317.717 197.488M179.964 184.66L157.279 186.302M179.964 184.66L181.607 207.345M179.964 184.66L178.322 161.974M157.279 186.302L158.922 208.987M157.279 186.302L136.237 210.63M157.279 186.302L178.322 161.974M157.279 186.302L155.637 163.617M158.922 208.987L181.607 207.345M158.922 208.987L136.237 210.63M158.922 208.987L160.564 231.672M181.607 207.345L183.25 230.03M181.607 207.345L160.565 231.672M181.607 207.345L204.292 205.702M181.607 207.345L202.649 183.017M201.005 160.332L178.32 161.974M201.005 160.332L202.648 183.017M178.32 161.974L179.963 184.659M179.963 184.659L202.648 183.017M179.963 184.659L181.606 207.344M202.648 183.017L181.606 207.344M201.006 160.332L202.649 183.017M202.649 183.017L204.292 205.702M160.564 231.672L158.921 208.987L181.606 207.344M160.564 231.672L181.606 207.344M160.564 231.672L137.879 233.315M160.564 231.672L162.206 254.357L139.521 256M160.564 231.672L139.521 256M136.237 210.63L137.879 233.315M136.237 210.63L113.552 212.273M136.237 210.63L134.594 187.945M136.237 210.63L115.194 234.958M136.237 210.63L157.278 186.302M137.879 233.315L115.194 234.958M137.879 233.315L139.521 256M178.322 161.974L155.637 163.617M160.565 231.672L183.25 230.03M160.565 231.672L162.207 254.357L184.893 252.714L183.25 230.03M183.25 230.03L205.935 228.387M361.443 171.517L384.128 169.875M361.443 171.517L363.086 194.202M361.443 171.517L359.801 148.832M361.443 171.517L338.758 173.16M384.128 169.875L385.771 192.56M384.128 169.875L408.456 190.917M384.128 169.875L359.801 148.832M384.128 169.875L406.813 168.232M384.128 169.875L382.485 147.19M385.771 192.56L363.086 194.202M385.771 192.56L387.413 215.245M385.771 192.56L408.456 190.917M363.086 194.202L387.413 215.245M363.086 194.202L338.758 173.16M363.086 194.202L364.729 216.887M363.086 194.202L340.402 195.845M337.115 150.475L359.801 148.832M337.115 150.475L338.758 173.16M359.801 148.832L382.485 147.19M338.758 173.16L340.402 195.845M337.114 150.475L338.757 173.16M387.413 215.245L410.098 213.602M387.413 215.245L364.729 216.887M387.413 215.245L389.056 237.93M387.413 215.245L411.741 236.287M408.456 190.917L410.098 213.602M408.456 190.917L431.141 189.274M408.456 190.917L406.813 168.232M408.456 190.917L432.784 211.959M410.098 213.602L432.784 211.959M410.098 213.602L411.741 236.287M364.729 216.887L342.045 218.53M364.729 216.887L366.372 239.572M204.292 205.702L205.935 228.387M205.933 228.387L204.29 205.702L226.975 204.059L205.933 228.387ZM205.933 228.387L207.576 251.072L184.891 252.714M205.933 228.387L184.891 252.714M205.933 228.387L183.248 230.029L184.891 252.714M205.935 228.387L207.577 251.072L230.262 249.429M342.045 218.53L340.402 195.845M342.045 218.53L317.717 197.488M342.045 218.53L343.687 241.215L366.372 239.572M342.045 218.53L366.372 239.572M317.717 197.488L340.402 195.845M342.043 218.53L343.686 241.215L321.001 242.858M134.594 187.945L111.909 189.588M134.594 187.945L132.95 165.26M134.594 187.945L157.278 186.302M111.909 189.588L113.552 212.273M111.909 189.588L90.8661 213.915M111.909 189.588L132.95 165.26M111.909 189.588L110.266 166.903M113.552 212.273L115.194 234.958M113.552 212.273L90.8661 213.915M155.635 163.617L132.95 165.26M155.635 163.617L157.278 186.302M132.95 165.26L110.266 166.903M115.194 234.958L92.5088 236.601M115.194 234.958L116.837 257.643M115.194 234.958L94.1518 259.286M90.8661 213.915L92.5088 236.601M90.8661 213.915L68.1811 215.558M90.8661 213.915L89.2234 191.23M90.8661 213.915L69.8245 238.243M90.8661 213.915L111.908 189.588M92.5088 236.601L69.8245 238.243M92.5088 236.601L94.1518 259.286M406.813 168.232L429.498 166.589M406.813 168.232L405.17 145.547M429.498 166.589L431.141 189.274M429.498 166.589L453.826 187.631M429.498 166.589L405.17 145.547M429.498 166.589L452.183 164.946M429.498 166.589L427.856 143.904M431.141 189.274L432.784 211.959M431.141 189.274L453.826 187.631M382.485 147.19L405.17 145.547M405.17 145.547L427.856 143.904M432.784 211.959L455.469 210.316M432.784 211.959L434.426 234.644M432.784 211.959L457.111 233.001M453.826 187.631L455.469 210.316M453.826 187.631L476.511 185.989M453.826 187.631L452.183 164.946M453.826 187.631L478.154 208.674M455.469 210.316L478.154 208.674M455.469 210.316L457.111 233.001M89.2234 191.23L66.5384 192.873M89.2234 191.23L87.58 168.546M89.2234 191.23L111.908 189.588M66.5384 192.873L68.1811 215.558M66.5384 192.873L45.4956 217.201M66.5384 192.873L87.58 168.546M66.5384 192.873L43.8541 194.516M66.5384 192.873L64.8963 170.188M66.5384 192.873L45.4968 217.201L43.8541 194.516M68.1811 215.558L69.8245 238.243M68.1811 215.558L45.4956 217.201M68.1811 215.558L69.8234 238.243L47.1384 239.886L45.4956 217.201M110.265 166.903L87.58 168.546M110.265 166.903L111.908 189.588M87.58 168.546L64.8963 170.188M69.8245 238.243L71.4672 260.928M69.8245 238.243L48.7822 262.571M69.8245 238.243L47.1395 239.886L48.7822 262.571M452.183 164.946L474.868 163.304M452.183 164.946L450.541 142.261M474.868 163.304L476.511 185.989M474.868 163.304L499.196 184.346M474.868 163.304L450.541 142.261M474.868 163.304L497.554 161.661M474.868 163.304L473.226 140.619M476.511 185.989L478.154 208.674M476.511 185.989L499.196 184.346M427.856 143.904L450.541 142.261M450.541 142.261L473.226 140.619M478.154 208.674L500.839 207.031M478.154 208.674L479.797 231.359M478.154 208.674L502.482 229.716M499.196 184.346L500.839 207.031M499.196 184.346L497.554 161.661M500.839 207.031L502.482 229.716M473.226 140.619L495.911 138.976M495.911 138.976L497.554 161.661M64.8963 170.188L42.2113 171.831M42.2113 171.831L43.8541 194.516M366.372 239.572L389.056 237.93M139.521 256L116.837 257.643M411.741 236.287L389.056 237.93M411.741 236.287L434.426 234.644M94.1518 259.286L116.837 257.643M94.1518 259.286L71.4672 260.928M457.111 233.001L434.426 234.644M457.111 233.001L479.797 231.359M502.482 229.716L479.797 231.359M48.7822 262.571L71.4672 260.928M255.92 -26.0738L233.235 -24.431L234.878 -1.74599L255.92 -26.0738Z"
- stroke="hsl(var(--border-stronger))"
- strokeWidth="0.284772"
- />
- <g filter="url(#filter0_d_558_2902)">
- <path
- d="M283.537 40.7317L306.078 39.0993L307.711 61.6412L286.801 85.8154L285.169 63.2736L262.627 64.906L283.537 40.7317Z"
- fill="url(#paint0_radial_558_2902)"
- fillOpacity="0.14"
- shapeRendering="crispEdges"
- />
- <path
- d="M244.983 134.164L265.892 109.99L243.35 111.622L241.718 89.0802L220.808 113.254L222.441 135.796L244.983 134.164Z"
- fill="url(#paint1_radial_558_2902)"
- fillOpacity="0.14"
- shapeRendering="crispEdges"
- />
- <path
- d="M238.453 43.9965L262.627 64.906L286.801 85.8154L310.976 106.725L312.608 129.267L290.066 130.899L265.892 109.99L241.718 89.0802L217.544 68.1708L215.911 45.6289L238.453 43.9965Z"
- fill="url(#paint2_radial_558_2902)"
- fillOpacity="0.14"
- shapeRendering="crispEdges"
- />
- <path
- d="M286.801 85.8154L307.711 61.6412L306.078 39.0993L283.537 40.7317L262.627 64.906M286.801 85.8154L285.169 63.2736L262.627 64.906M286.801 85.8154L262.627 64.906M286.801 85.8154L310.976 106.725L312.608 129.267L290.066 130.899L265.892 109.99M262.627 64.906L238.453 43.9965L215.911 45.6289L217.544 68.1708L241.718 89.0802M265.892 109.99L244.983 134.164L222.441 135.796L220.808 113.254L241.718 89.0802M265.892 109.99L243.35 111.622L241.718 89.0802M265.892 109.99L241.718 89.0802"
- stroke="url(#paint3_linear_558_2902)"
- strokeWidth="0.426545"
- shapeRendering="crispEdges"
- />
- </g>
- <rect
- x="-5.47168"
- y="-46.7805"
- width="515.894"
- height="339.196"
- transform="rotate(-4.14192 -5.47168 -46.7805)"
- fill="url(#paint4_radial_558_2902)"
- />
- </g>
- <rect
- x="0.5"
- y="0.5"
- width="348"
- height="194"
- rx="7.5"
- stroke="hsl(var(--background-alternative-default))"
+ <path
+ d="M246.827 -15.6134H268.864M246.827 -15.6134V6.42289M246.827 -15.6134V-37.6498M246.827 -15.6134L224.791 -15.6134M268.864 -15.6134V6.42289M268.864 -15.6134L246.827 -37.6498M268.864 -15.6134L290.899 -15.6135M268.864 -15.6134L290.899 6.42285M268.864 -15.6134L290.901 -15.6134V-37.6498L268.864 -15.6134ZM268.864 -15.6134L290.901 6.42288M268.864 6.42289H246.827M268.864 6.42289L268.863 28.4593M268.864 6.42289L290.901 6.42288M268.864 6.42289L268.864 28.4592M246.827 6.42289L224.791 -15.6134M246.827 6.42289V28.4592M246.827 6.42289L224.791 28.4592M246.827 6.42289L268.863 28.4593M246.827 6.42289H224.791M246.827 -37.6498H224.791M224.791 -37.6498V-15.6134M224.791 -37.6498L202.754 -37.6498M224.791 -15.6134V6.42289M224.791 -15.6134L202.754 -15.6135M224.791 -15.6134L202.754 6.42288M290.899 50.4956V28.4593M290.899 50.4956L268.863 28.4593M290.899 50.4956H312.935M268.863 28.4593H290.899M268.863 28.4593L246.827 28.4592M268.863 28.4593L246.828 50.4956M290.899 28.4593L312.935 28.4593M290.899 28.4593V6.42285M290.899 6.42285V-15.6135M290.899 6.42285L312.935 28.4593M290.899 6.42285L312.935 -15.6134M290.899 6.42285L312.936 6.42288M290.899 -15.6135L290.899 -37.6498H312.935M290.899 -15.6135L312.935 -15.6134M268.864 72.5319V50.4956M268.864 72.5319L246.828 50.4956M268.864 72.5319L290.901 50.4956M246.828 50.4956H268.864M246.828 50.4956L246.827 28.4592M246.828 50.4956L268.864 28.4592M268.864 50.4956H290.901M268.864 50.4956V28.4592M268.864 160.677V138.641M268.864 160.677L246.828 138.641M268.864 160.677L290.901 138.641M268.864 160.677L246.827 160.677M268.864 160.677L268.864 182.714M268.864 160.677L290.901 160.677V138.641M268.864 160.677L290.901 182.713M268.864 160.677L246.827 182.714M246.828 138.641H268.864M246.828 138.641L268.864 116.605M246.828 138.641L246.827 160.677M268.864 138.641H290.901M268.864 138.641V116.605M312.935 28.4593V50.4956M312.935 28.4593L334.972 28.4592M312.935 28.4593L312.936 6.42288M312.935 28.4593L334.972 50.4956M312.935 50.4956L334.972 50.4956M312.935 50.4956L312.936 72.5319M312.935 -37.6498V-15.6134M312.935 -37.6498L334.972 -37.6498M312.935 -15.6134L312.936 6.42288M312.935 -15.6134L334.972 -15.6134M312.935 -15.6134L334.972 6.42289M246.827 28.4592H224.791M246.827 28.4592L246.827 50.4956H224.791M290.901 50.4956L268.864 28.4592M290.901 138.641L268.864 116.605M224.791 28.4592V50.4956M224.791 28.4592L202.754 28.4592M224.791 28.4592V6.42289M224.791 28.4592L202.754 50.4956M224.791 50.4956L202.754 50.4956M224.791 50.4956V72.5319M290.901 6.42288V28.4592H268.864M290.901 6.42288L268.864 28.4592M224.791 6.42289L202.754 6.42288M312.936 6.42288L334.972 6.42289M180.719 6.42285H158.682M180.719 6.42285V28.4592M180.719 6.42285V-15.6135M158.682 6.42285V28.4592M158.682 6.42285L136.646 28.4592M158.682 6.42285L180.719 -15.6135M158.682 6.42285L136.646 6.42289M158.682 6.42285L158.682 -15.6134M158.682 28.4592H180.719M158.682 28.4592L158.682 50.4956M158.682 28.4592L136.646 28.4592M180.719 28.4592L158.682 50.4956M180.719 28.4592V50.4956M180.719 28.4592L202.754 28.4592M180.719 28.4592L202.755 6.42294L202.754 28.4592M202.754 -15.6135H180.717M202.754 -15.6135V6.42288M202.754 -15.6135V-37.6498M180.717 -15.6135V6.42288M180.717 -15.6135L202.754 -37.6498M180.717 -15.6135V-37.6498H202.754M180.717 6.42288H202.754M180.717 6.42288V28.4592L202.754 6.42288M202.754 6.42288L202.754 28.4592M158.682 50.4956H136.646M158.682 50.4956L180.719 50.4956M158.682 50.4956V72.5319M158.682 50.4956L136.645 72.5319M136.646 28.4592V50.4956M136.646 28.4592L114.609 28.4592M136.646 28.4592V6.42289M136.646 28.4592L114.609 50.4956M136.646 50.4956H114.609M136.646 50.4956L136.645 72.5319M180.719 -15.6135L158.682 -15.6134M180.719 -15.6135V-37.6498L158.682 -37.6498M180.719 50.4956L202.755 50.4956L202.754 28.4592M180.719 50.4956V72.5319M357.009 6.42289H379.045M357.009 6.42289V28.4592M357.009 6.42289L357.009 -15.6134M357.009 6.42289L334.972 6.42289M379.045 6.42289V28.4592M379.045 6.42289L401.081 28.4593M379.045 6.42289L357.009 -15.6134M379.045 6.42289L401.081 6.42285M379.045 6.42289L379.045 -15.6135M379.045 28.4592H357.009M379.045 28.4592L379.045 50.4956M379.045 28.4592L401.081 28.4593M357.009 28.4592L379.045 50.4956M357.009 28.4592L334.972 6.42289M357.009 28.4592V50.4956M357.009 28.4592L334.972 28.4592M334.972 -15.6134H357.009M334.972 -15.6134V6.42289M334.972 -15.6134V-37.6498M357.009 -15.6134L334.972 -37.6498M357.009 -15.6134V-37.6498M357.009 -15.6134L379.045 -15.6135M334.972 6.42289L334.972 28.4592M334.972 -37.6498H357.009M379.045 50.4956H401.081M379.045 50.4956L357.009 50.4956M379.045 50.4956V72.5319M379.045 50.4956L401.081 72.5319M401.081 28.4593V50.4956M401.081 28.4593L423.117 28.4592M401.081 28.4593V6.42285M401.081 28.4593L423.118 50.4956M401.081 50.4956L423.118 50.4956M401.081 50.4956L401.081 72.5319M357.009 -37.6498L379.045 -37.6498M357.009 50.4956H334.972M357.009 50.4956L357.009 72.5319M202.754 28.4592L202.754 50.4956M202.754 50.4956V72.5319M202.754 50.4956L180.717 72.5319M202.754 50.4956H180.717V72.5319M334.972 28.4592L334.972 50.4956M334.972 50.4956V72.5319M334.972 50.4956L357.009 72.5319M136.646 6.42289H114.609M136.646 6.42289L136.645 -15.6134M114.609 6.42289V28.4592M114.609 6.42289L92.5729 28.4593M114.609 6.42289L136.645 -15.6134M114.609 6.42289L92.5729 6.42285M114.609 6.42289L114.609 -15.6134M114.609 28.4592L114.609 50.4956M114.609 28.4592L92.5729 28.4593M158.682 -15.6134H136.645M158.682 -15.6134V-37.6498M136.645 -15.6134L158.682 -37.6498M136.645 -15.6134V-37.6498M136.645 -15.6134H114.609M158.682 -37.6498H136.645M114.609 50.4956L92.5729 50.4956M114.609 50.4956V72.5319M114.609 50.4956L92.5728 72.5319M92.5729 28.4593V50.4956M92.5729 28.4593L70.5366 28.4592M92.5729 28.4593V6.42285M92.5729 28.4593L70.537 50.4956M92.5729 50.4956H70.537M92.5729 50.4956L92.5728 72.5319M136.645 -37.6498H114.609M401.081 6.42285H423.117M401.081 6.42285L401.081 -15.6135M423.117 6.42285V28.4592M423.117 6.42285L445.154 28.4592M423.117 6.42285L401.081 -15.6135M423.117 6.42285L445.154 6.42289M423.117 6.42285L423.118 -15.6134M423.117 28.4592L423.118 50.4956M423.117 28.4592L445.154 28.4592M379.045 -15.6135H401.081M379.045 -15.6135V-37.6498M401.081 -15.6135L379.045 -37.6498M401.081 -15.6135V-37.6498M401.081 -15.6135L423.118 -15.6134M379.045 -37.6498H401.081M423.118 50.4956H445.154M423.118 50.4956V72.5319M423.118 50.4956L445.154 72.5319M445.154 28.4592V50.4956M445.154 28.4592L467.19 28.4592M445.154 28.4592V6.42289M445.154 28.4592L467.191 50.4956M445.154 50.4956L467.191 50.4956M445.154 50.4956L445.154 72.5319M401.081 -37.6498L423.118 -37.6498M92.5729 6.42285H70.5366M92.5729 6.42285L92.5728 -15.6134M70.5366 6.42285V28.4592M70.5366 6.42285L48.5 28.4592M70.5366 6.42285L92.5728 -15.6134M70.5366 6.42285L48.5006 6.42288M70.5366 6.42285L70.537 -15.6135M70.5366 28.4592L70.537 50.4956M70.5366 28.4592L48.5 28.4592M114.609 -15.6134H92.5728M114.609 -15.6134V-37.6498M92.5728 -15.6134L114.609 -37.6498M92.5728 -15.6134V-37.6498M92.5728 -15.6134L70.537 -15.6135M114.609 -37.6498H92.5728M70.537 50.4956L48.5 50.4956M70.537 50.4956V72.5319M70.537 50.4956L48.5006 72.5319M48.5 28.4592V50.4956M48.5 28.4592L48.5006 6.42288M48.5 50.4956L48.5006 72.5319M92.5728 -37.6498L70.537 -37.6498M445.154 6.42289H467.19M445.154 6.42289L445.154 -15.6134M467.19 6.42289V28.4592M467.19 6.42289L489.227 28.4593M467.19 6.42289L445.154 -15.6134M467.19 6.42289L489.227 6.42288M467.19 6.42289L467.191 -15.6135M467.19 28.4592L467.191 50.4956M467.19 28.4592L489.227 28.4593M423.118 -15.6134H445.154M423.118 -15.6134V-37.6498M445.154 -15.6134L423.118 -37.6498M445.154 -15.6134V-37.6498M445.154 -15.6134L467.191 -15.6135M423.118 -37.6498H445.154M467.191 50.4956H489.227M467.191 50.4956V72.5319M467.191 50.4956L489.227 72.5319M489.227 28.4593V50.4956M489.227 28.4593L489.227 6.42288M489.227 50.4956L489.227 72.5319M445.154 -37.6498L467.191 -37.6498M467.191 -15.6135H489.227M467.191 -15.6135V-37.6498M489.227 -15.6135V6.42288M489.227 -15.6135L467.191 -37.6498M489.227 -15.6135V-37.6498H467.191M70.537 -15.6135H48.5006M70.537 -15.6135V-37.6498M48.5006 -15.6135V6.42288M48.5006 -15.6135L70.537 -37.6498M48.5006 -15.6135L48.5006 -37.6498H70.537M224.791 72.5319V94.5682M224.791 72.5319L246.827 94.5682M224.791 72.5319L202.754 72.5319M224.791 72.5319L202.754 94.5682M246.827 94.5682H224.791M246.827 94.5682L224.791 116.605M224.791 94.5682L202.754 94.5682M224.791 94.5682V116.605M312.936 72.5319V94.5682M312.936 72.5319L290.899 94.5682M312.936 72.5319L334.972 72.5319M312.936 72.5319L334.972 94.5682M312.936 94.5682H290.899M312.936 94.5682L334.972 94.5682M312.936 94.5682L312.935 116.605M290.899 94.5682L312.935 116.605M180.719 94.5682H158.682M180.719 94.5682V116.605M180.719 94.5682V72.5319M158.682 94.5682V116.605M158.682 94.5682L136.646 116.605M158.682 94.5682L180.719 72.5319M158.682 94.5682L136.646 94.5682M158.682 94.5682L158.682 72.5319M158.682 116.605H180.719M158.682 116.605L158.682 138.641M158.682 116.605L136.646 116.605M180.719 116.605L158.682 138.641M180.719 116.605V138.641M180.719 116.605L202.754 116.605M180.719 116.605L202.755 94.5683L202.754 116.605M202.754 72.5319H180.717M202.754 72.5319V94.5682M180.717 72.5319V94.5682M180.717 94.5682H202.754M180.717 94.5682V116.605L202.754 94.5682M202.754 94.5682L202.754 116.605M158.682 138.641H136.646M158.682 138.641L180.719 138.641M158.682 138.641V160.677M158.682 138.641L136.645 160.677M136.646 116.605V138.641M136.646 116.605H114.609M136.646 116.605V94.5682M136.646 116.605L114.609 138.641M136.646 138.641H114.609M136.646 138.641L136.645 160.677M180.719 72.5319L158.682 72.5319M180.719 138.641L202.755 138.641L202.754 116.605M180.719 138.641V160.677M357.009 94.5682H379.045M357.009 94.5682V116.605M357.009 94.5682L357.009 72.5319M357.009 94.5682H334.972M379.045 94.5682V116.605M379.045 94.5682L401.081 116.605M379.045 94.5682L357.009 72.5319M379.045 94.5682L401.081 94.5682M379.045 94.5682L379.045 72.5319M379.045 116.605H357.009M379.045 116.605L379.045 138.641M379.045 116.605L401.081 116.605M357.009 116.605L379.045 138.641M357.009 116.605L334.972 94.5682M357.009 116.605V138.641M357.009 116.605L334.972 116.605M334.972 72.5319H357.009M334.972 72.5319V94.5682M357.009 72.5319L379.045 72.5319M334.972 94.5682L334.972 116.605M379.045 138.641H401.081M379.045 138.641L357.009 138.641M379.045 138.641V160.677M379.045 138.641L401.081 160.677M401.081 116.605V138.641M401.081 116.605L423.117 116.605M401.081 116.605V94.5682M401.081 116.605L423.118 138.641M401.081 138.641L423.118 138.641M401.081 138.641L401.081 160.677M357.009 138.641H334.972M357.009 138.641L357.009 160.677M202.754 116.605H224.791M202.754 116.605L202.754 138.641M224.791 116.605L202.754 138.641M224.791 116.605V138.641M202.754 138.641L224.791 138.641M202.754 138.641V160.677M202.754 138.641L180.717 160.677M202.754 138.641H180.717V160.677M224.791 138.641H246.827L246.827 160.677M224.791 138.641V160.677M334.972 116.605H312.935M334.972 116.605L334.972 138.641M312.935 116.605L334.972 138.641M312.935 116.605V138.641M334.972 138.641L312.935 138.641M334.972 138.641V160.677M334.972 138.641L357.009 160.677M312.935 138.641L290.899 138.641L290.899 160.677M312.935 138.641V160.677M136.646 94.5682H114.609M136.646 94.5682L136.645 72.5319M114.609 94.5682V116.605M114.609 94.5682L92.5729 116.605M114.609 94.5682L136.645 72.5319M114.609 94.5682L92.5729 94.5682M114.609 94.5682L114.609 72.5319M114.609 116.605L114.609 138.641M114.609 116.605L92.5729 116.605M158.682 72.5319H136.645M136.645 72.5319H114.609M114.609 138.641L92.5729 138.641M114.609 138.641V160.677M114.609 138.641L92.5728 160.677M92.5729 116.605V138.641M92.5729 116.605L70.5366 116.605M92.5729 116.605V94.5682M92.5729 116.605L70.537 138.641M92.5729 138.641H70.537M92.5729 138.641L92.5728 160.677M401.081 94.5682H423.117M401.081 94.5682L401.081 72.5319M423.117 94.5682V116.605M423.117 94.5682L445.154 116.605M423.117 94.5682L401.081 72.5319M423.117 94.5682L445.154 94.5682M423.117 94.5682L423.118 72.5319M423.117 116.605L423.118 138.641M423.117 116.605L445.154 116.605M379.045 72.5319H401.081M401.081 72.5319L423.118 72.5319M423.118 138.641H445.154M423.118 138.641V160.677M423.118 138.641L445.154 160.677M445.154 116.605V138.641M445.154 116.605H467.19M445.154 116.605V94.5682M445.154 116.605L467.191 138.641M445.154 138.641L467.191 138.641M445.154 138.641L445.154 160.677M92.5729 94.5682H70.5366M92.5729 94.5682L92.5728 72.5319M70.5366 94.5682V116.605M70.5366 94.5682L48.5 116.605M70.5366 94.5682L92.5728 72.5319M70.5366 94.5682L48.5006 94.5682M70.5366 94.5682L70.537 72.5319M70.5366 116.605L70.537 138.641M70.5366 116.605L48.5 116.605M114.609 72.5319H92.5728M92.5728 72.5319L70.537 72.5319M70.537 138.641L48.5 138.641M70.537 138.641V160.677M70.537 138.641L48.5006 160.677M48.5 116.605V138.641M48.5 116.605L48.5006 94.5682M48.5 138.641L48.5006 160.677M445.154 94.5682H467.19M445.154 94.5682L445.154 72.5319M467.19 94.5682V116.605M467.19 94.5682L489.227 116.605M467.19 94.5682L445.154 72.5319M467.19 94.5682L489.227 94.5682M467.19 94.5682L467.191 72.5319M467.19 116.605L467.191 138.641M467.19 116.605L489.227 116.605M423.118 72.5319H445.154M445.154 72.5319L467.191 72.5319M467.191 138.641H489.227M467.191 138.641V160.677M467.191 138.641L489.227 160.677M489.227 116.605V138.641M489.227 116.605L489.227 94.5682M489.227 138.641L489.227 160.677M467.191 72.5319H489.227M489.227 72.5319V94.5682M70.537 72.5319H48.5006M48.5006 72.5319V94.5682M246.827 160.677V182.714M246.827 160.677L224.791 160.677M268.864 182.714H246.827M268.864 182.714L268.863 204.75M268.864 182.714L290.901 182.713M268.864 182.714L268.864 204.75M246.827 182.714L224.791 160.677M246.827 182.714V204.75M246.827 182.714L224.791 204.75M246.827 182.714L268.863 204.75M246.827 182.714H224.791M246.827 226.786V248.823M246.827 226.786L268.864 248.823M246.827 226.786L268.864 226.786M246.827 226.786V204.75M246.827 226.786L268.863 204.75M246.827 226.786H224.791M246.827 226.786L268.864 204.75M268.864 248.823H246.827M268.864 248.823L268.864 226.786M268.864 248.823L290.901 226.786M268.864 248.823H290.901V226.786M246.827 248.823H224.791M224.791 160.677V182.714M224.791 160.677L202.754 160.677M224.791 160.677L202.754 182.713M290.899 226.786V204.75M290.899 226.786L268.863 204.75M290.899 226.786H312.935M290.899 226.786V248.823H312.935M268.863 204.75H290.899M268.863 204.75H246.827M290.899 204.75L312.935 204.75M290.899 204.75V182.714M290.899 182.714V160.677M290.899 182.714L268.863 160.677H290.899M290.899 182.714L312.935 204.75M290.899 182.714L312.935 160.677M290.899 182.714L312.936 182.713M290.899 160.677L312.935 160.677M268.864 226.786H290.901M268.864 226.786V204.75M312.935 204.75V226.786M312.935 204.75H334.972M312.935 204.75L312.936 182.713M312.935 204.75L334.972 226.786M312.935 226.786H334.972M312.935 226.786V248.823M312.935 160.677L312.936 182.713M312.935 160.677L334.972 160.677M312.935 160.677L334.972 182.714M246.827 204.75H224.791M290.901 226.786L268.864 204.75M224.791 204.75V226.786M224.791 204.75L202.754 204.75M224.791 204.75V182.714M224.791 204.75L202.754 226.786M224.791 226.786H202.754M224.791 226.786V248.823M290.901 182.713V204.75H268.864M290.901 182.713L268.864 204.75M224.791 182.714L202.754 182.713M312.936 182.713L334.972 182.714M180.719 182.714H158.682M180.719 182.714V204.75M180.719 182.714V160.677M158.682 182.714V204.75M158.682 182.714L136.646 204.75M158.682 182.714L180.719 160.677M158.682 182.714L136.646 182.714M158.682 182.714L158.682 160.677M158.682 204.75H180.719M158.682 204.75L158.682 226.786M158.682 204.75L136.646 204.75M180.719 204.75L158.682 226.786M180.719 204.75V226.786M180.719 204.75L202.754 204.75M180.719 204.75L202.755 182.714L202.754 204.75M202.754 160.677H180.717M202.754 160.677V182.713M180.717 160.677V182.713M180.717 182.713H202.754M180.717 182.713V204.75L202.754 182.713M202.754 182.713L202.754 204.75M158.682 226.786H136.646M158.682 226.786L180.719 226.786M158.682 226.786V248.823M158.682 226.786L136.645 248.823M136.646 204.75V226.786M136.646 204.75L114.609 204.75M136.646 204.75V182.714M136.646 204.75L114.609 226.786M136.646 226.786H114.609M136.646 226.786L136.645 248.823M180.719 160.677L158.682 160.677M180.719 226.786L202.755 226.786L202.754 204.75M180.719 226.786V248.823H158.682M357.009 182.714H379.045M357.009 182.714V204.75M357.009 182.714L357.009 160.677M357.009 182.714L334.972 182.714M379.045 182.714V204.75M379.045 182.714L401.081 204.75M379.045 182.714L357.009 160.677M379.045 182.714L401.081 182.714M379.045 182.714L379.045 160.677M379.045 204.75H357.009M379.045 204.75L379.045 226.786M379.045 204.75L401.081 204.75M357.009 204.75L379.045 226.786M357.009 204.75L334.972 182.714M357.009 204.75V226.786M357.009 204.75L334.972 204.75M334.972 160.677H357.009M334.972 160.677V182.714M357.009 160.677L379.045 160.677M334.972 182.714L334.972 204.75M379.045 226.786H401.081M379.045 226.786H357.009M379.045 226.786V248.823M379.045 226.786L401.081 248.823M401.081 204.75V226.786M401.081 204.75H423.117M401.081 204.75V182.714M401.081 204.75L423.118 226.786M401.081 226.786H423.118M401.081 226.786L401.081 248.823M357.009 226.786H334.972M357.009 226.786L357.009 248.823M202.754 204.75L202.754 226.786M202.754 226.786V248.823M202.754 226.786L180.717 248.823M202.754 226.786H180.717V248.823M334.972 204.75L334.972 226.786M334.972 226.786V248.823M334.972 226.786L357.009 248.823M136.646 182.714H114.609M136.646 182.714L136.645 160.677M114.609 182.714V204.75M114.609 182.714L92.5729 204.75M114.609 182.714L136.645 160.677M114.609 182.714L92.5729 182.714M114.609 182.714L114.609 160.677M114.609 204.75L114.609 226.786M114.609 204.75L92.5729 204.75M158.682 160.677H136.645M136.645 160.677H114.609M114.609 226.786H92.5729M114.609 226.786V248.823M114.609 226.786L92.5728 248.823M92.5729 204.75V226.786M92.5729 204.75H70.5366M92.5729 204.75V182.714M92.5729 204.75L70.537 226.786M92.5729 226.786H70.537M92.5729 226.786L92.5728 248.823M401.081 182.714H423.117M401.081 182.714L401.081 160.677M423.117 182.714V204.75M423.117 182.714L445.154 204.75M423.117 182.714L401.081 160.677M423.117 182.714L445.154 182.714M423.117 182.714L423.118 160.677M423.117 204.75L423.118 226.786M423.117 204.75L445.154 204.75M379.045 160.677H401.081M401.081 160.677L423.118 160.677M423.118 226.786H445.154M423.118 226.786V248.823M423.118 226.786L445.154 248.823M445.154 204.75V226.786M445.154 204.75L467.19 204.75M445.154 204.75V182.714M445.154 204.75L467.191 226.786M445.154 226.786H467.191M445.154 226.786L445.154 248.823M92.5729 182.714H70.5366M92.5729 182.714L92.5728 160.677M70.5366 182.714V204.75M70.5366 182.714L48.5 204.75M70.5366 182.714L92.5728 160.677M70.5366 182.714L48.5006 182.713M70.5366 182.714L70.537 160.677M70.5366 204.75L70.537 226.786M70.5366 204.75L48.5 204.75M114.609 160.677H92.5728M92.5728 160.677L70.537 160.677M70.537 226.786H48.5M70.537 226.786V248.823M70.537 226.786L48.5006 248.823M48.5 204.75V226.786M48.5 204.75L48.5006 182.713M48.5 226.786L48.5006 248.823M445.154 182.714H467.19M445.154 182.714L445.154 160.677M467.19 182.714V204.75M467.19 182.714L489.227 204.75M467.19 182.714L445.154 160.677M467.19 182.714L489.227 182.713M467.19 182.714L467.191 160.677M467.19 204.75L467.191 226.786M467.19 204.75L489.227 204.75M423.118 160.677H445.154M445.154 160.677L467.191 160.677M467.191 226.786H489.227M467.191 226.786V248.823M467.191 226.786L489.227 248.823M489.227 204.75V226.786M489.227 204.75L489.227 182.713M489.227 226.786L489.227 248.823M467.191 160.677H489.227M489.227 160.677V182.713M70.537 160.677H48.5006M48.5006 160.677V182.713M180.717 248.823H202.754M202.754 248.823H224.791M357.009 248.823H334.972M357.009 248.823H379.045M334.972 248.823H312.935M136.645 248.823H158.682M136.645 248.823H114.609M401.081 248.823H379.045M401.081 248.823H423.118M92.5728 248.823H114.609M92.5728 248.823H70.537M445.154 248.823H423.118M445.154 248.823H467.191M489.227 248.823H467.191M48.5006 248.823H70.537M268.864 -15.6107H246.828V6.42562L268.864 -15.6107Z"
+ stroke="hsl(var(--border-stronger))"
+ strokeWidth="0.284772"
/>
+ <path
+ d="M290.876 50.8788H312.774V72.776L290.876 94.6733V72.776H268.979L290.876 50.8788Z"
+ fill="url(#paint0_radial_590_7684)"
+ fillOpacity="0.14"
+ />
+ <path
+ d="M247.082 138.468L268.979 116.571H247.082V94.6733L225.185 116.571V138.468H247.082Z"
+ fill="url(#paint1_radial_590_7684)"
+ fillOpacity="0.14"
+ />
+ <path
+ d="M247.082 50.8788L268.979 72.776L290.876 94.6733L312.774 116.571V138.468H290.876L268.979 116.571L247.082 94.6733L225.185 72.7761V50.8788L247.082 50.8788Z"
+ fill="url(#paint2_radial_590_7684)"
+ fillOpacity="0.14"
+ />
+ <path
+ d="M290.876 94.6733L312.774 72.776V50.8788H290.876L268.979 72.776M290.876 94.6733V72.776H268.979M290.876 94.6733L268.979 72.776M290.876 94.6733L312.774 116.571V138.468H290.876L268.979 116.571M268.979 72.776L247.082 50.8788L225.185 50.8788V72.7761L247.082 94.6733M268.979 116.571L247.082 138.468H225.185V116.571L247.082 94.6733M268.979 116.571H247.082V94.6733M268.979 116.571L247.082 94.6733"
+ stroke="url(#paint3_linear_590_7684)"
+ strokeWidth="0.426545"
+ />
+ <rect width="358" height="195" fill="url(#paint4_radial_590_7684)" />
<defs>
- {/* <filter
- id="filter0_d_558_2902"
- x="194.355"
- y="17.5438"
- width="139.808"
- height="139.808"
- filterUnits="userSpaceOnUse"
- colorInterpolationFilters="sRGB"
- >
- <feFlood floodOpacity="0" result="BackgroundImageFix" />
- <feColorMatrix
- in="SourceAlpha"
- type="matrix"
- values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
- result="hardAlpha"
- />
- <feOffset />
- <feGaussianBlur stdDeviation="10.6636" />
- <feComposite in2="hardAlpha" operator="out" />
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_558_2902" />
- <feBlend
- mode="normal"
- in="SourceGraphic"
- in2="effect1_dropShadow_558_2902"
- result="shape"
- />
- </filter> */}
<radialGradient
- id="paint0_radial_558_2902"
+ id="paint0_radial_590_7684"
cx="0"
cy="0"
r="1"
gradientUnits="userSpaceOnUse"
- gradientTransform="translate(217.594 47.173) rotate(46.9725) scale(272.067 241.104)"
+ gradientTransform="translate(263 73.5) rotate(-143.669) scale(159.507 135.774)"
>
- <stop stopColor="hsl(var(--foreground-lighter))" />
- <stop offset="0.194164" stopColor="hsl(var(--foreground-lighter))" />
- <stop offset="0.571134" />
- <stop offset="1" stopColor="hsl(var(--foreground-lighter))" />
+ <stop stopColor="hsl(var(--foreground-default))" />
+ <stop offset="1" stopColor="hsl(var(--foreground-light))" />
</radialGradient>
<radialGradient
- id="paint1_radial_558_2902"
+ id="paint1_radial_590_7684"
cx="0"
cy="0"
r="1"
gradientUnits="userSpaceOnUse"
- gradientTransform="translate(217.594 47.173) rotate(46.9725) scale(272.067 241.104)"
+ gradientTransform="translate(263 73.5) rotate(-143.669) scale(159.507 135.774)"
>
- <stop stopColor="hsl(var(--foreground-lighter))" />
- <stop offset="0.194164" stopColor="hsl(var(--foreground-lighter))" />
- <stop offset="0.571134" />
- <stop offset="1" stopColor="hsl(var(--foreground-lighter))" />
+ <stop stopColor="hsl(var(--foreground-default))" />
+ <stop offset="1" stopColor="hsl(var(--foreground-light))" />
</radialGradient>
<radialGradient
- id="paint2_radial_558_2902"
+ id="paint2_radial_590_7684"
cx="0"
cy="0"
r="1"
gradientUnits="userSpaceOnUse"
- gradientTransform="translate(217.594 47.173) rotate(46.9725) scale(272.067 241.104)"
+ gradientTransform="translate(263 73.5) rotate(-143.669) scale(159.507 135.774)"
>
- <stop stopColor="hsl(var(--foreground-lighter))" />
- <stop offset="0.194164" stopColor="hsl(var(--foreground-lighter))" />
- <stop offset="0.571134" />
- <stop offset="1" stopColor="hsl(var(--foreground-lighter))" />
+ <stop stopColor="hsl(var(--foreground-default))" />
+ <stop offset="1" stopColor="hsl(var(--foreground-light))" />
</radialGradient>
<linearGradient
- id="paint3_linear_558_2902"
- x1="228.696"
- y1="40.8579"
- x2="319.801"
- y2="121.437"
+ id="paint3_linear_590_7684"
+ x1="237.873"
+ y1="47.1631"
+ x2="320.272"
+ y2="131.405"
gradientUnits="userSpaceOnUse"
>
- <stop stopColor="hsl(var(--border-stronger))" />
- <stop offset="0.410781" stopColor="hsl(var(--border-default))" />
+ <stop stopColor="hsl(var(--foreground-lighter))" />
+ <stop offset="0.410781" stopColor="hsl(var(--border-stronger))" />
</linearGradient>
<radialGradient
- id="paint4_radial_558_2902"
+ id="paint4_radial_590_7684"
cx="0"
cy="0"
r="1"
gradientUnits="userSpaceOnUse"
- gradientTransform="translate(252.475 122.817) rotate(90) scale(127.553 194)"
+ gradientTransform="translate(266 95) rotate(135) scale(142.482 176.767)"
>
- <stop stopColor="hsl(var(--background-alternative-default))" stopOpacity="0" />
+ <stop stopOpacity="0" stopColor="hsl(var(--background-alternative-default))" />
<stop offset="1" stopColor="hsl(var(--background-alternative-default))" />
</radialGradient>
- <clipPath id="clip0_558_2902">
- <rect width="349" height="195" rx="8" fill="hsl(var(--foreground-default))" />
- </clipPath>
</defs>
</svg>
)
diff --git a/packages/ui/src/components/PromoToast/PromoToast.tsx b/packages/ui/src/components/PromoToast/PromoToast.tsx
index 17dde8ef60a..db54db34d79 100644
--- a/packages/ui/src/components/PromoToast/PromoToast.tsx
+++ b/packages/ui/src/components/PromoToast/PromoToast.tsx
@@ -1,18 +1,23 @@
import Image from 'next/image'
import Link from 'next/link'
import { useEffect, useState } from 'react'
-import { Button } from 'ui'
+import { Button, cn } from 'ui'
+import { LOCAL_STORAGE_KEYS } from 'common'
import announcement from '../../layout/banners/data/Announcement.json'
import CountdownComponent from '../CountdownWidget/Countdown'
import PromoBg from './PromoBg'
+const LWXLogo =
+ 'https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lwx/assets/lwx_logo.svg?t=2023-11-22T17%3A45%3A52.077Z'
+
const PromoToast = () => {
const [visible, setVisible] = useState(false)
- const LWXLogo =
- 'https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lwx/assets/lwx_logo.svg?t=2023-11-22T17%3A45%3A52.077Z'
useEffect(() => {
- const shouldHide = localStorage?.getItem('supabase-hide-promo-toast') === 'true'
+ const shouldHide =
+ !localStorage?.getItem(LOCAL_STORAGE_KEYS.TELEMETRY_CONSENT) ||
+ localStorage?.getItem(LOCAL_STORAGE_KEYS.HIDE_PROMO_TOAST) === 'true'
+
if (!shouldHide) {
setVisible(true)
}
@@ -20,7 +25,7 @@ const PromoToast = () => {
const handleHide = () => {
setVisible(false)
- localStorage?.setItem('supabase-hide-promo-toast', 'true')
+ localStorage?.setItem(LOCAL_STORAGE_KEYS.HIDE_PROMO_TOAST, 'true')
}
if (!visible) {
@@ -28,7 +33,12 @@ const PromoToast = () => {
}
return (
- <div className="grid gap-4 fixed z-50 bottom-8 right-8 w-[80vw] sm:w-[350px] bg-alternative hover:bg-alternative transition-colors border border-default rounded p-6 shadow-lg overflow-hidden">
+ <div
+ className={cn(
+ 'opacity-0 translate-y-3 transition-all grid gap-4 fixed z-50 bottom-8 right-8 w-[80vw] sm:w-[350px] bg-alternative hover:bg-alternative border border-default rounded p-6 shadow-lg overflow-hidden',
+ visible && 'opacity-100 translate-y-0'
+ )}
+ >
<div className="relative z-10 text-foreground flex flex-col text-base uppercase tracking-[1px]">
<div className="flex gap-1.5 items-center">
<p>Launch Week</p>
@@ -48,7 +58,7 @@ const PromoToast = () => {
Dismiss
</Button>
</div>
- <PromoBg className="absolute z-0 inset-0 w-full h-auto my-auto -right-3 left-auto" />
+ <PromoBg className="absolute z-0 inset-0 w-full h-auto my-auto -right-5 left-auto" />
</div>
)
}
diff --git a/packages/ui/src/components/PromoToast/index.ts b/packages/ui/src/components/PromoToast/index.ts
index 13665ac5eea..07cfed33dca 100644
--- a/packages/ui/src/components/PromoToast/index.ts
+++ b/packages/ui/src/components/PromoToast/index.ts
@@ -1,3 +1,5 @@
import PromoToast from './PromoToast'
+export { PromoToast }
+
export default PromoToast
diff --git a/packages/ui/src/layout/PortalToast/PortalToast.tsx b/packages/ui/src/layout/PortalToast/PortalToast.tsx
index 3bed1fc393f..70093dcec78 100644
--- a/packages/ui/src/layout/PortalToast/PortalToast.tsx
+++ b/packages/ui/src/layout/PortalToast/PortalToast.tsx
@@ -20,6 +20,7 @@ const PortalToast = () => (
paddingLeft: '16px',
paddingRight: '16px',
fontSize: '0.875rem',
+ opacity: '1',
},
error: {
duration: 8000,