diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index cd022d14..b9ea8430 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -4,12 +4,14 @@ import { fileURLToPath } from "node:url";
import { createMDX } from "fumadocs-mdx/next";
import "../../scripts/load-root-env.js";
-import "./src/env.js";
+import { env } from "./src/env.js";
const withMDX = createMDX();
const currentDir = dirname(fileURLToPath(import.meta.url));
const repoRoot = join(currentDir, "../..");
const remixLucideShim = join(currentDir, "src/lib/lucide-react-remix-shim.ts");
+const faviconDestination =
+ env.NODE_ENV === "development" ? "/favicon/development.svg" : "/favicon/production.svg";
const docsRedirects = [
{ source: "/docs", destination: "/docs/introduction", permanent: true },
@@ -69,6 +71,14 @@ const config = {
"@radix-ui/react-checkbox",
],
},
+ rewrites: async () => ({
+ beforeFiles: [
+ { source: "/favicon.ico", destination: faviconDestination },
+ { source: "/favicon.svg", destination: faviconDestination },
+ ],
+ afterFiles: [],
+ fallback: [],
+ }),
redirects: async () => [
...docsRedirects,
{ source: "/github", destination: "https://github.com/getpaykit/paykit", permanent: false },
@@ -84,8 +94,7 @@ const config = {
destination: "https://github.com/orgs/getpaykit/projects/1",
permanent: false,
},
- { source: "/donate", destination: "/sponsor", permanent: true },
- { source: "/sponsors", destination: "/sponsor", permanent: true },
+ { source: "/donate", destination: "/#sponsors", permanent: true },
],
};
diff --git a/apps/web/public/companies/efferd.svg b/apps/web/public/companies/efferd.svg
new file mode 100644
index 00000000..95f3d81b
--- /dev/null
+++ b/apps/web/public/companies/efferd.svg
@@ -0,0 +1,4 @@
+
diff --git a/apps/web/public/companies/vercel-mark.svg b/apps/web/public/companies/vercel-mark.svg
new file mode 100644
index 00000000..403ecbff
--- /dev/null
+++ b/apps/web/public/companies/vercel-mark.svg
@@ -0,0 +1,3 @@
+
diff --git a/apps/web/public/favicon/development.svg b/apps/web/public/favicon/development.svg
new file mode 100644
index 00000000..d362128d
--- /dev/null
+++ b/apps/web/public/favicon/development.svg
@@ -0,0 +1,5 @@
+
diff --git a/apps/web/public/favicon/favicon.svg b/apps/web/public/favicon/favicon.svg
deleted file mode 100644
index 4616b17f..00000000
--- a/apps/web/public/favicon/favicon.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
diff --git a/apps/web/public/favicon/production.svg b/apps/web/public/favicon/production.svg
new file mode 100644
index 00000000..173ff880
--- /dev/null
+++ b/apps/web/public/favicon/production.svg
@@ -0,0 +1,5 @@
+
diff --git a/apps/web/src/app/(marketing)/page.tsx b/apps/web/src/app/(marketing)/page.tsx
index e852d87f..9c48e308 100644
--- a/apps/web/src/app/(marketing)/page.tsx
+++ b/apps/web/src/app/(marketing)/page.tsx
@@ -4,6 +4,7 @@ import { FeedbackSection } from "@/components/sections/feedback-section";
import { FooterSection } from "@/components/sections/footer-section";
import { HeroSection } from "@/components/sections/hero-section";
import { demoSnippets } from "@/components/sections/readme-code-content";
+import { SponsorsSection } from "@/components/sections/sponsors-section";
import { InlineCode } from "@/components/ui/code-block-content";
import { homePageStructuredData } from "@/lib/consts";
@@ -36,6 +37,7 @@ export default function HomePage() {
}}
/>
- Coming soon -
-- Sponsor information and acknowledgements will be available soon. -
-