diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
index 7141e87..ad7a883 100644
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@ -9,6 +9,7 @@ import Layout from './components/Layout';
import LoginPage from './pages/LoginPage';
import RegisterPage from './pages/RegisterPage';
import TaskListPage from './pages/TaskListPage';
+import StockList from './pages/StockList';
import './App.css';
/**
@@ -92,6 +93,17 @@ const App: React.FC = () => {
}
/>
+
+ {/* 在庫リストへのルートを追加 */}
+
+
+
+ }
+ />
+
diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx
index e8696a9..796dad0 100644
--- a/frontend/src/components/Layout.tsx
+++ b/frontend/src/components/Layout.tsx
@@ -3,13 +3,13 @@
* ヘッダー(AppBar)とメインコンテンツ領域を含む基本的なページ構造を定義
*/
import React, { useState } from 'react';
-import {
- AppBar,
- Toolbar,
- Typography,
- Container,
- Box,
- Button,
+import {
+ AppBar,
+ Toolbar,
+ Typography,
+ Container,
+ Box,
+ Button,
Drawer,
List,
ListItemText,
@@ -18,9 +18,10 @@ import {
Divider,
IconButton
} from '@mui/material';
-import {
+import {
Menu as MenuIcon,
ListAlt as ListAltIcon,
+ Science as ScienceIcon, // 鈴木
} from '@mui/icons-material';
import { useNavigate, Outlet, useLocation } from 'react-router-dom';
@@ -91,13 +92,23 @@ const Layout: React.FC = () => {
role="presentation"
>
- handleNavigate('/tasks')}
+ handleNavigate('/tasks')}
selected={isSelected('/tasks')}
>
+
+ {/* 在庫リストへのリンクを追加 */}
+ handleNavigate('/stock')}
+ selected={isSelected('/stock')}
+ >
+
+
+
+
diff --git a/frontend/src/pages/StockList.tsx b/frontend/src/pages/StockList.tsx
new file mode 100644
index 0000000..b269649
--- /dev/null
+++ b/frontend/src/pages/StockList.tsx
@@ -0,0 +1,75 @@
+/**
+ * テストページコンポーネント
+ * 白紙の状態で表示されるテスト用のページ
+ */
+import React from 'react';
+import {
+ Container,
+ Typography,
+ Button
+} from '@mui/material';
+
+const StockPage: React.FC = () => {
+ return (
+
+
+ 在庫一覧
+
+
+ {/* タスク編集ボタン */}
+
+
+ {/* タスク削除ボタン */}
+
+
+
+ 乳製品
+
+ {/* 在庫一覧表示エリア - 青い背景のコンテナ */}
+
+
+
+
+ 肉・魚
+
+ {/* 在庫一覧表示エリア - 青い背景のコンテナ */}
+
+
+
+
+ 野菜
+
+ {/* 在庫一覧表示エリア - 青い背景のコンテナ */}
+
+
+
+
+ 調味料
+
+ {/* 在庫一覧表示エリア - 青い背景のコンテナ */}
+
+
+
+
+ その他
+
+ {/* 在庫一覧表示エリア - 青い背景のコンテナ */}
+
+
+
+ );
+};
+
+export default StockPage;
\ No newline at end of file