mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-08-13 22:37:29 +00:00
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:
parent
9ba044577f
commit
c19b6b6d6b
2 changed files with 4 additions and 1 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue