feat : dev on prod
CI / Build immutable images and deploy (push) Successful in 1m52s

This commit is contained in:
2026-09-16 20:19:27 +07:00 Unverified
parent 2799103dd0
commit 910afdeb71
11 changed files with 87 additions and 4 deletions
+7 -1
View File
@@ -1,6 +1,7 @@
import type { Metadata } from "next";
import { notFound } from "next/navigation";
import { GoogleAdsense } from "@/components/public/google-adsense";
import { publicSections, StructuredGuideShell } from "@/components/public/structured-guide";
import { getCachedPublicGuide } from "@/lib/cache/public";
@@ -25,5 +26,10 @@ export default async function GuideSectionPage({ params }: { params: Params }) {
const { character, page } = await params;
const guide = await getCachedPublicGuide(character);
if (!guide || !publicSections(guide).some((section) => section.slug === page)) notFound();
return <StructuredGuideShell guide={guide} section={page} />;
return (
<>
<GoogleAdsense />
<StructuredGuideShell guide={guide} section={page} />
</>
);
}
+7 -1
View File
@@ -1,6 +1,7 @@
import type { Metadata } from "next";
import { notFound } from "next/navigation";
import { GoogleAdsense } from "@/components/public/google-adsense";
import { StructuredGuideShell } from "@/components/public/structured-guide";
import { getCachedPublicGuide } from "@/lib/cache/public";
@@ -31,5 +32,10 @@ export default async function GuideOverviewPage({
}) {
const guide = await getCachedPublicGuide((await params).character);
if (!guide) notFound();
return <StructuredGuideShell guide={guide} />;
return (
<>
<GoogleAdsense />
<StructuredGuideShell guide={guide} />
</>
);
}