import { Routes, Route } from "react-router-dom";
import Layout from "./components/Layout";
import Dashboard from "./pages/Dashboard";
import NewCreative from "./pages/NewCreative";
import CreativeDetail from "./pages/CreativeDetail";

export default function App() {
  return (
    <Layout>
      <Routes>
        <Route path="/" element={<Dashboard />} />
        <Route path="/creatives/new" element={<NewCreative />} />
        <Route path="/creatives/:id" element={<CreativeDetail />} />
      </Routes>
    </Layout>
  );
}
