2025-07-08 10:40:49 -07:00
|
|
|
import "./App.css";
|
2025-07-17 09:17:10 -07:00
|
|
|
import Index from "./pages/Index.tsx";
|
2025-07-08 10:40:49 -07:00
|
|
|
import RecipePage from "./pages/RecipePage.tsx";
|
|
|
|
import AddRecipe from "./pages/AddRecipe.tsx";
|
2025-07-17 09:17:10 -07:00
|
|
|
import About from "./pages/About.tsx"
|
2025-07-24 12:11:32 -07:00
|
|
|
import RecipeIngredients from "./pages/RecipeIngredients.tsx"
|
|
|
|
import RecipeSteps from "./pages/RecipeSteps.tsx"
|
2025-07-11 17:06:41 -07:00
|
|
|
|
|
|
|
import RecipeBookTabs from "./components/RecipeBookTabs.tsx";
|
2025-07-08 10:40:49 -07:00
|
|
|
import { Routes, Route } from "react-router-dom";
|
|
|
|
|
|
|
|
function App() {
|
|
|
|
return (
|
2025-07-11 17:06:41 -07:00
|
|
|
<div className="min-h-screen flex flex-col">
|
|
|
|
<RecipeBookTabs />
|
|
|
|
<main className="flex-1 overflow-auto">
|
2025-07-08 10:40:49 -07:00
|
|
|
<Routes>
|
2025-07-17 09:17:10 -07:00
|
|
|
<Route path="/" element={<Index />} />
|
2025-07-08 10:40:49 -07:00
|
|
|
<Route path="/recipe/:id" element={<RecipePage />} />
|
|
|
|
<Route path="/add-recipe" element={<AddRecipe />} />
|
2025-07-17 09:17:10 -07:00
|
|
|
<Route path="/about" element={<About />} />
|
2025-07-24 12:11:32 -07:00
|
|
|
<Route path="/recipe-ingredients" element={<RecipeIngredients />} />
|
|
|
|
<Route path="/recipe-steps" element={<RecipeSteps />} />
|
2025-07-08 10:40:49 -07:00
|
|
|
</Routes>
|
|
|
|
</main>
|
2025-07-11 17:06:41 -07:00
|
|
|
</div>
|
2025-07-08 10:40:49 -07:00
|
|
|
);
|
|
|
|
}
|
|
|
|
export default App;
|