import { ThemeListener } from './components/layout/ThemeListener';
/**
 * @license
 * SPDX-License-Identifier: Apache-2.0
 */

import { BrowserRouter as Router } from 'react-router-dom';
import Layout from './components/Layout';
import AnimatedRoutes from './components/AnimatedRoutes';

export default function App() {
  return (
    <Router>
      <ThemeListener />
      <Layout>
        <AnimatedRoutes />
      </Layout>
    </Router>
  );
}
