chore: remove files importing pruned packages (ai, cms, cognitive-context)
Step 3 pruned packages/{ai,cms,cognitive-context} but left whole
route groups + feature modules that depended on them. Those files
were unbuildable since that prune. Removes them now so the workspace
can be validated:
Route groups:
- apps/web/src/app/[locale]/(apps)/{chat,image,pdf,tts}/
- apps/web/src/app/[locale]/(marketing)/blog/
Feature modules:
- apps/web/src/modules/{chat,image,pdf,tts,common/ai,marketing/blog}/
- packages/api/src/modules/ai/ (chat, image, pdf, stt, tts, router)
3 stragglers remain (separate handoff to claudemesh-2):
- apps/web/src/app/[locale]/(marketing)/legal/[slug]/page.tsx (cms)
- apps/web/src/app/sitemap.ts (cms)
- apps/web/src/modules/common/layout/credits/index.tsx (ai)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
"use client";
|
||||
|
||||
import { parseAsStringLiteral, useQueryState } from "nuqs";
|
||||
|
||||
import { ContentTag } from "@turbostarter/cms";
|
||||
import { useTranslation } from "@turbostarter/i18n";
|
||||
import { cn } from "@turbostarter/ui";
|
||||
import { Button } from "@turbostarter/ui-web/button";
|
||||
|
||||
export const TagsPicker = () => {
|
||||
const { t } = useTranslation("marketing");
|
||||
const [activeTag, setActiveTag] = useQueryState("tag", {
|
||||
...parseAsStringLiteral(Object.values(ContentTag)),
|
||||
shallow: false,
|
||||
});
|
||||
|
||||
return (
|
||||
<div className="mx-auto flex flex-wrap items-center justify-center gap-1.5">
|
||||
{Object.values(ContentTag).map((tag) => (
|
||||
<Button
|
||||
key={tag}
|
||||
variant={tag === activeTag ? "default" : "outline"}
|
||||
size="sm"
|
||||
className={cn("rounded-full px-4", {
|
||||
"border-primary border": tag === activeTag,
|
||||
})}
|
||||
onClick={() =>
|
||||
activeTag === tag ? setActiveTag(null) : setActiveTag(tag)
|
||||
}
|
||||
>
|
||||
{t(`blog.tag.${tag}`)}
|
||||
</Button>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user