refactor: adopt @profullstack/stack modules

Replace vendored/drifted referrals, email, supabase, feedback, coinpay and
crawlproof code with @profullstack/stack@^0.1.0 subpath imports.
This commit is contained in:
Anthony Ettinger 2026-07-17 14:36:34 +00:00
parent 9ba044577f
commit c19b6b6d6b
2 changed files with 4 additions and 1 deletions

View file

@ -13,6 +13,7 @@
}, },
"dependencies": { "dependencies": {
"@profullstack/autoblog": "github:profullstack/autoblog#75e54af", "@profullstack/autoblog": "github:profullstack/autoblog#75e54af",
"@profullstack/stack": "^0.1.0",
"@supabase/supabase-js": "^2.105.4", "@supabase/supabase-js": "^2.105.4",
"marked": "^18.0.5", "marked": "^18.0.5",
"next": "16.2.6", "next": "16.2.6",

View file

@ -2,6 +2,7 @@ import type { Metadata, Viewport } from "next";
import type { ReactNode } from "react"; import type { ReactNode } from "react";
import "../styles.css"; import "../styles.css";
import Script from "next/script"; import Script from "next/script";
import { FeedbackWidget } from "@profullstack/stack/feedback";
const SITE_URL = (process.env.PUBLIC_URL ?? "https://logicsrc.com").replace(/\/$/, ""); const SITE_URL = (process.env.PUBLIC_URL ?? "https://logicsrc.com").replace(/\/$/, "");
const DESCRIPTION = const DESCRIPTION =
@ -86,7 +87,8 @@ export default function RootLayout({ children }: { children: ReactNode }): React
src="https://crawlproof.com/stats.js" src="https://crawlproof.com/stats.js"
strategy="afterInteractive" strategy="afterInteractive"
/> />
<script async src="https://feedback.profullstack.com/embed/profullstack-feedback.js" data-property="logicsrc.com"></script></body> <FeedbackWidget property="logicsrc.com" />
</body>
</html> </html>
); );
} }