/** * @license * SPDX-License-Identifier: Apache-2.0 */ import React from "react"; import { BrowserRouter, Routes, Route, useLocation } from "react-router-dom"; import { AnimatePresence, motion } from "motion/react"; import Layout from "./components/Layout"; import Home from "./pages/Home"; import Sobre from "./pages/Sobre"; import Blog from "./pages/Blog"; import Contato from "./pages/Contato"; import BlogPost from "./pages/BlogPost"; import NotFound from "./pages/NotFound"; const PageTransition: React.FC<{ children: React.ReactNode }> = ({ children }) => { return ( {children} ); } function AnimatedRoutes() { const location = useLocation(); return ( } /> } /> } /> } /> } /> } /> ); } export default function App() { return ( ); }