diff --git a/app/page.tsx b/app/page.tsx index 3897a23..ff02f6c 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,7 +1,6 @@ import { HomeHero } from "@/components/home-hero"; import { HomeVideosSection } from "@/components/home-videos-section"; import { ReferencesSection } from "@/components/references-section"; -import { HomeFooterSection } from "@/components/home-footer-section"; import { getHomeBlogNews } from "@/data/blog"; export default async function Home() { @@ -12,7 +11,6 @@ export default async function Home() { - ); } diff --git a/components/app-shell.tsx b/components/app-shell.tsx index 9eb8308..1612641 100644 --- a/components/app-shell.tsx +++ b/components/app-shell.tsx @@ -6,6 +6,7 @@ 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 = { @@ -24,6 +25,7 @@ export function AppShell({ children }: AppShellProps) { return ( <> + {ENABLE_NEKO_FOLLOWER ? : null}
diff --git a/components/ataturk-widget-modal.tsx b/components/ataturk-widget-modal.tsx new file mode 100644 index 0000000..67a1e47 --- /dev/null +++ b/components/ataturk-widget-modal.tsx @@ -0,0 +1,59 @@ +"use client"; + +import { useState } from "react"; +import Script from "next/script"; +import Image from "next/image"; +import { Modal, ModalContent, ModalTrigger, ModalTitle } from "poyraz-ui/molecules"; +import { Skeleton } from "poyraz-ui/atoms"; + +export function AtaturkWidgetModal() { + const [isLoading, setIsLoading] = useState(true); + return ( + + + + + + + Bugünün Atatürk Sözü + + {isLoading && ( +
+ + + +
+ +
+
+ )} + +
+
+