diff --git a/src/pages/Footer.tsx b/src/pages/Footer.tsx index 2c16abf..bdd65ac 100644 --- a/src/pages/Footer.tsx +++ b/src/pages/Footer.tsx @@ -5,18 +5,12 @@ import { TstateTheme } from "@/types/Types"; function Footer() { const {ThemeIsDark} = useContext(MyContext) as TstateTheme ; const ThemeForComponent = ThemeIsDark ? 'bg-gradient-to-b from-black to-gray-600 text-white duration-500 border-t-gray-800 ':'duration-500 bg-gradient-to-t from-gray-600 to-white border-t-0' -//const ThemeForComponent = ThemeIsDark ? 'text-white bg-gradient-to-t from-black to-gray-400 duration-700 border-b-gray-800 border border-t-0 border-x-0':'duration-800 bg-gradient-to-b from-gray-600 to-white' - - return () - } export default Footer diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index e1f0ed6..58d7c06 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -1,14 +1,9 @@ import "@/styles/globals.css"; import type { AppProps } from "next/app"; import Layout from "@/layout/Layout"; -import { useContext } from "react"; -import { TstateTheme } from "@/types/Types"; -import { MyContext } from "@/context/MyContext"; import { MyContextProvider } from "@/context/MyContext"; export default function App({ Component, pageProps }: AppProps) { - const {ThemeIsDark} = useContext(MyContext) as TstateTheme ; - return ( @@ -16,7 +11,5 @@ export default function App({ Component, pageProps }: AppProps) { - - ) } diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index 4401a5b..5fb6ab6 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -2,11 +2,10 @@ import { Html, Head, Main, NextScript } from "next/document"; export default function Document() { - return ( - + PORTFOLIO|GABRIEL BRANDÃO diff --git a/src/pages/index.tsx b/src/pages/index.tsx index dc11e47..8f00ffc 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -3,8 +3,6 @@ import MyProjects from "@/components/MyProjects"; import MyTechs from "@/components/MyTechs"; import AboutMe from "@/components/AboutMe"; import MyTechsForMobile from "@/components/MyTechsForMobile"; -// import MyContextProvider from "@/context/MyContext"; -import { MyContextProvider } from "@/context/MyContext"; const inter = Inter({ subsets: ["latin"] });