diff --git a/src/lib/components/BlogCta.svelte b/src/lib/components/BlogCta.svelte index 542a3437da..7fbda01167 100644 --- a/src/lib/components/BlogCta.svelte +++ b/src/lib/components/BlogCta.svelte @@ -4,27 +4,17 @@ export let label: string = 'Get started'; -
-
+
+

{heading}

{label}
diff --git a/src/lib/components/Feedback.svelte b/src/lib/components/Feedback.svelte index a691a10a58..e0533f2cc0 100644 --- a/src/lib/components/Feedback.svelte +++ b/src/lib/components/Feedback.svelte @@ -1,5 +1,6 @@ -
+ - - diff --git a/src/routes/blog/post/defying-the-laws-of-web-animations/+page.markdoc b/src/routes/blog/post/defying-the-laws-of-web-animations/+page.markdoc index ff2dd81ebe..4858bdfe8c 100644 --- a/src/routes/blog/post/defying-the-laws-of-web-animations/+page.markdoc +++ b/src/routes/blog/post/defying-the-laws-of-web-animations/+page.markdoc @@ -7,6 +7,7 @@ cover: /images/blog/defying-the-laws-of-web-animations/cover.png timeToRead: 10 author: thomas-g-lopes category: website +callToAction: true --- If you're a frontend developer, you know that one of the scariest tasks you can receive is coding a complex web animation. If you're not a frontend developer, I bet that sounds even harder. @@ -173,8 +174,6 @@ The video above showcases both Motion and Svelte transitions in action. The tabl {/if} ``` -{% call_to_action /%} - ## Transitioning between sections There's one other nifty feature of Motion that I didn't mention: It can seamlessly interrupt ongoing animations. diff --git a/src/routes/contact-us/+page.svelte b/src/routes/contact-us/+page.svelte index 1359b409ab..460644dcdd 100644 --- a/src/routes/contact-us/+page.svelte +++ b/src/routes/contact-us/+page.svelte @@ -5,6 +5,7 @@ import FooterNav from '../../lib/components/FooterNav.svelte'; import MainFooter from '../../lib/components/MainFooter.svelte'; import { socials } from '$lib/constants'; + import { PUBLIC_GROWTH_ENDPOINT } from '$env/static/public'; let email = ''; let firstName = ''; @@ -15,7 +16,7 @@ async function handleSubmit() { error = undefined; - const response = await fetch('https://growth.appwrite.io/v1/feedback', { + const response = await fetch(`${PUBLIC_GROWTH_ENDPOINT}/feedback`, { method: 'POST', headers: { 'Content-Type': 'application/json' diff --git a/src/routes/init-0/tickets/get-ticket-doc/+server.ts b/src/routes/init-0/tickets/get-ticket-doc/+server.ts index 5da7a73f0b..2658939e35 100644 --- a/src/routes/init-0/tickets/get-ticket-doc/+server.ts +++ b/src/routes/init-0/tickets/get-ticket-doc/+server.ts @@ -4,6 +4,7 @@ import { isProUser } from '$lib/utils/console.js'; import type { User } from '$routes/init-0/helpers.js'; import { ID, Query } from '@appwrite.io/console'; import type { TicketData, TicketDoc } from '../constants.js'; +import { PUBLIC_GROWTH_ENDPOINT } from '$env/static/public'; type SendToHubspotArgs = { name: string; @@ -11,7 +12,7 @@ type SendToHubspotArgs = { }; async function sendToHubspot({ name, email }: SendToHubspotArgs) { - await fetch('https://growth.appwrite.io/v1/mailinglists/init', { + await fetch(`${PUBLIC_GROWTH_ENDPOINT}/mailinglists/init`, { method: 'POST', headers: { 'Content-Type': 'application/json' diff --git a/src/routes/init/tickets/get-ticket-doc/+server.ts b/src/routes/init/tickets/get-ticket-doc/+server.ts index e4f36680b8..53517e058c 100644 --- a/src/routes/init/tickets/get-ticket-doc/+server.ts +++ b/src/routes/init/tickets/get-ticket-doc/+server.ts @@ -4,6 +4,7 @@ import { isProUser } from '$lib/utils/console.js'; import { type User } from '$routes/init/helpers.js'; import { ID, Query } from '@appwrite.io/console'; import type { TicketData, TicketDoc } from '../constants.js'; +import { PUBLIC_GROWTH_ENDPOINT } from '$env/static/public'; type SendToHubspotArgs = { name: string; @@ -12,7 +13,7 @@ type SendToHubspotArgs = { }; async function sendToUserList({ name, email, userId }: SendToHubspotArgs) { - await fetch('https://growth.appwrite.io/v1/mailinglists/init-2.0', { + await fetch(`${PUBLIC_GROWTH_ENDPOINT}/mailinglists/init-2.0`, { method: 'POST', headers: { 'Content-Type': 'application/json' diff --git a/src/routes/integrations/technology-partner/+page.svelte b/src/routes/integrations/technology-partner/+page.svelte index b445b3009e..f75e4b2c1d 100644 --- a/src/routes/integrations/technology-partner/+page.svelte +++ b/src/routes/integrations/technology-partner/+page.svelte @@ -9,6 +9,7 @@ //import BlobPink from "$routes/startups/(assets)/blob-pink.svg"; // import BlobPinkMobile from "$routes/startups/(assets)/blob-pink-mobile.svg"; import Pink from './bg.png'; + import { PUBLIC_GROWTH_ENDPOINT } from '$env/static/public'; let email = ''; let name = ''; @@ -30,7 +31,7 @@ message = `Name of representative: ${name}\n\nWork Email: ${email}\n\nCompany Name: ${companyName}\n\nCompany Size: ${companySize}\n\nCompany Website: ${companyWebsite}\n\nIntegration status: ${integrationStatus}\n\nLink to Documentation: ${linkToDocumentation}\n\nLink to product/company assets: ${productUrl}\n\nDetails: ${extraDetails}`; subject = `Technology Partner Application: ${companyName}`; - const response = await fetch('https://growth.appwrite.io/v1/feedback', { + const response = await fetch(`${PUBLIC_GROWTH_ENDPOINT}/feedback`, { method: 'POST', headers: { 'Content-Type': 'application/json' diff --git a/src/routes/oss-program/+page.svelte b/src/routes/oss-program/+page.svelte index 11c2a5d44d..9b4ef1c1f2 100644 --- a/src/routes/oss-program/+page.svelte +++ b/src/routes/oss-program/+page.svelte @@ -6,6 +6,7 @@ import MainFooter from '../../lib/components/MainFooter.svelte'; import { socials } from '$lib/constants'; import GradientBackground from './bg.png'; + import { PUBLIC_GROWTH_ENDPOINT } from '$env/static/public'; let personName = ''; let personEmail = ''; @@ -22,7 +23,7 @@ async function handleSubmit() { error = undefined; submitting = true; - const response = await fetch('https://growth.appwrite.io/v1/conversations/oss', { + const response = await fetch(`${PUBLIC_GROWTH_ENDPOINT}/conversations/oss`, { method: 'POST', headers: { 'Content-Type': 'application/json' diff --git a/src/routes/products/messaging/(components)/Draft.svelte b/src/routes/products/messaging/(components)/Draft.svelte index ea7fa6e070..0bdef649a0 100644 --- a/src/routes/products/messaging/(components)/Draft.svelte +++ b/src/routes/products/messaging/(components)/Draft.svelte @@ -116,7 +116,6 @@ aspect-ratio: 16 / 11; position: relative; - overflow: hidden; @media screen and (max-width: 1024px) { --m-border-gradient-before: transparent; diff --git a/src/routes/products/messaging/+page.svelte b/src/routes/products/messaging/+page.svelte index 4153d29830..53ff7d34a9 100644 --- a/src/routes/products/messaging/+page.svelte +++ b/src/routes/products/messaging/+page.svelte @@ -300,7 +300,7 @@ messaging.create_email(
-
    +
-
+

Subscribe to a topic

diff --git a/src/routes/subscription/verify/+page.svelte b/src/routes/subscription/verify/+page.svelte index 13438fcd3c..c2d613bad6 100644 --- a/src/routes/subscription/verify/+page.svelte +++ b/src/routes/subscription/verify/+page.svelte @@ -1,30 +1,30 @@