import Twitter from "./media/twitter"; import Instagram from "./media/instagram"; import Link from "next/link"; import Image from "next/image"; import { signIn, useSession } from "next-auth/react"; import { useState } from "react"; function Footer() { const { data: session, status } = useSession(); const [year, setYear] = useState(new Date().getFullYear()); const [season, setSeason] = useState(getCurrentSeason()); return (
{/*

moopa

*/}

moopa

© {new Date().getFullYear()} moopa.live | Website Made by Factiven

This site does not store any files on our server, we only linked to the media which is hosted on 3rd party services.

{/*
gambar
*/}
  • This Season
  • Popular Anime
  • Popular Manga
  • {status === "loading" ? (

    Loading...

    ) : session ? (
  • My List
  • ) : (
  • )}
  • Movies
  • TV Shows
  • DMCA
  • Contact
); } export default Footer; function getCurrentSeason() { const now = new Date(); const month = now.getMonth() + 1; // getMonth() returns 0-based index switch (month) { case 12: case 1: case 2: return "WINTER"; case 3: case 4: case 5: return "SPRING"; case 6: case 7: case 8: return "SUMMER"; case 9: case 10: case 11: return "FALL"; default: return "UNKNOWN SEASON"; } }