diff --git a/components/layout/footer/footer.tsx b/components/layout/footer/footer.tsx index efc3dcd..4d717e4 100644 --- a/components/layout/footer/footer.tsx +++ b/components/layout/footer/footer.tsx @@ -1,23 +1,10 @@ import React from "react"; -import Link from "next/link"; import { FaFacebookF, FaGithub, FaTwitter } from "react-icons/fa"; import { AiFillInstagram } from "react-icons/ai"; import { Container } from "../../util/container"; -import { RawRenderer } from "./rawRenderer"; -export const Footer = ({ data, icon, rawData }) => { +export const Footer = ({ data }) => { const socialIconClasses = "h-7 w-auto"; - const socialIconColorClasses = { - blue: "text-blue-500 dark:text-blue-400 hover:text-blue-300", - teal: "text-teal-500 dark:text-teal-400 hover:text-teal-300", - green: "text-green-500 dark:text-green-400 hover:text-green-300", - red: "text-red-500 dark:text-red-400 hover:text-red-300", - pink: "text-pink-500 dark:text-pink-400 hover:text-pink-300", - purple: "text-purple-500 dark:text-purple-400 hover:text-purple-300", - orange: "text-orange-500 dark:text-orange-400 hover:text-orange-300", - yellow: "text-yellow-500 dark:text-yellow-400 hover:text-yellow-300", - primary: "text-white opacity-80 hover:opacity-100", - }; const footerColor = { default: diff --git a/components/layout/footer/rawRenderer.tsx b/components/layout/footer/rawRenderer.tsx index 26b0533..b5748c0 100644 --- a/components/layout/footer/rawRenderer.tsx +++ b/components/layout/footer/rawRenderer.tsx @@ -1,20 +1,8 @@ import React from "react"; import { Fragment, useState } from "react"; import { Dialog, Transition } from "@headlessui/react"; -import { useTheme } from ".."; export const RawRenderer = ({ rawData, parentColor }) => { - const theme = useTheme(); - const buttonColorClasses = { - blue: "text-blue-500", - teal: "text-teal-500", - green: "text-green-500", - red: "text-red-500", - pink: "text-pink-500", - purple: "text-purple-500", - orange: "text-orange-500", - yellow: "text-yellow-600", - }; const [isOpen, setIsOpen] = useState(false); function closeModal() { @@ -30,9 +18,7 @@ export const RawRenderer = ({ rawData, parentColor }) => {