mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-06 04:22:07 +00:00
Merge branch 'main' into feat-add-messaging-products-section
This commit is contained in:
@@ -178,8 +178,8 @@
|
||||
return scrollInfo.percentage >= min && scrollInfo.percentage < max;
|
||||
});
|
||||
|
||||
const product = products[activeIdx] as Product | undefined;
|
||||
const scale = productsScales[activeIdx] as Scale | undefined;
|
||||
const product = products[activeIdx] as Product;
|
||||
const scale = productsScales[activeIdx] as Scale;
|
||||
const percent = scale ? toScale(scrollInfo.percentage, scale, [0, 1]) : 0;
|
||||
|
||||
return {
|
||||
@@ -372,7 +372,7 @@
|
||||
<Messaging.Phone />
|
||||
{:else if active.product === 'functions'}
|
||||
<Functions.Phone />
|
||||
{:else if !['auth', 'databases', 'storage', 'messaging', 'functions'].includes(anyify(active.product))}
|
||||
{:else if !['auth', 'databases', 'storage', 'messaging', 'functions'].includes(active.product)}
|
||||
<Realtime.Phone />
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user