"use client";
import { Icon } from "@iconify/react";
import Link from "next/link";
import { usePathname } from "next/navigation";
import { AnnouncementBar } from "poyraz-ui/organisms";
import { SiteNavbar } from "@/components/site-navbar";
import { NekoFollower } from "@/components/neko-follower";
import { AtaturkWidgetModal } from "@/components/ataturk-widget-modal";
import { ANNOUNCEMENT_ITEMS, ENABLE_NEKO_FOLLOWER } from "@/data/site-settings";
type AppShellProps = {
children: React.ReactNode;
};
export function AppShell({ children }: AppShellProps) {
const pathname = usePathname();
const announcement = ANNOUNCEMENT_ITEMS[0];
const isStandaloneLinksPage =
pathname === "/links" || pathname.startsWith("/links/");
if (isStandaloneLinksPage) {
return children;
}
return (
<>