Skip to content

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

fix: Remove the become a partner button from the Experts page (#19359)

Ivan Vasilov5fed762d1fcb
diff --git a/apps/www/.env b/apps/www/.env
index e8331813364..cce4b075869 100644
--- a/apps/www/.env
+++ b/apps/www/.env
@@ -9,9 +9,3 @@ NEXT_PUBLIC_DOCS_URL="http://localhost:3005"
NEXT_PUBLIC_STUDIO_URL="https://localhost:8082"
NEXT_PUBLIC_REFERENCE_DOCS_URL="https://localhost:3010"
NEXT_PUBLIC_SITE_ORIGIN=http://localhost:3000
-NEXT_PUBLIC_MISC_USE_URL=
-NEXT_PUBLIC_MISC_USE_ANON_KEY=
-
-# CmdK / AI
-NEXT_PUBLIC_SUPABASE_URL=
-NEXT_PUBLIC_SUPABASE_ANON_KEY=
\ No newline at end of file
diff --git a/apps/www/.env.local.example b/apps/www/.env.local.example
new file mode 100644
index 00000000000..2dbee1c3888
--- /dev/null
+++ b/apps/www/.env.local.example
@@ -0,0 +1,5 @@
+# Copy this file in the same folder, rename it to .env.local and fill out the env vars to get www working
+NEXT_PUBLIC_SUPABASE_URL=
+NEXT_PUBLIC_SUPABASE_ANON_KEY=
+NEXT_PUBLIC_MISC_USE_URL=
+NEXT_PUBLIC_MISC_USE_ANON_KEY=
diff --git a/apps/www/pages/partners/experts/index.tsx b/apps/www/pages/partners/experts/index.tsx
index 9c7c49a30a6..8112a2ea9e2 100644
--- a/apps/www/pages/partners/experts/index.tsx
+++ b/apps/www/pages/partners/experts/index.tsx
@@ -2,7 +2,6 @@ import { NextSeo } from 'next-seo'
import { useRouter } from 'next/router'
import DefaultLayout from '~/components/Layouts/Default'
import SectionContainer from '~/components/Layouts/SectionContainer'
-import BecomeAPartner from '~/components/Partners/BecomeAPartner'
import PartnerLinkBox from '~/components/Partners/PartnerLinkBox'
import supabase from '~/lib/supabaseMisc'
import { Partner } from '~/types/partners'
@@ -88,28 +87,6 @@ function ExpertPartnersPage(props: Props) {
</svg>
}
/>
- <PartnerLinkBox
- title="Become a partner"
- color="brand"
- description="Fill out a quick 30 second form to apply to become a partner"
- href={`/partners/integrations#become-a-partner`}
- icon={
- <svg
- xmlns="http://www.w3.org/2000/svg"
- className="h-5 w-5"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- strokeWidth="1"
- >
- <path
- strokeLinecap="round"
- strokeLinejoin="round"
- d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"
- />
- </svg>
- }
- />
</div>
</div>
</div>
@@ -126,8 +103,6 @@ function ExpertPartnersPage(props: Props) {
</div>
</div>
</SectionContainer>
- {/* Become a partner form */}
- <BecomeAPartner />
</DefaultLayout>
</>
)