diff --git a/frontend/package.json b/frontend/package.json index acbd51a..9cabe43 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -9,10 +9,10 @@ "lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0" }, "dependencies": { + "axios": "^1.6.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^6.21.1", - "axios": "^1.6.3", "zustand": "^4.4.7" }, "devDependencies": { @@ -23,6 +23,6 @@ "eslint-plugin-react-refresh": "^0.4.5", "postcss": "^8.4.32", "tailwindcss": "^3.4.0", - "vite": "^5.0.10" + "vite": "^7.3.1" } } diff --git a/frontend/src/components/Layout.jsx b/frontend/src/components/Layout.jsx index af5b02c..18ce114 100644 --- a/frontend/src/components/Layout.jsx +++ b/frontend/src/components/Layout.jsx @@ -1,43 +1,115 @@ -import { Outlet, Link } from 'react-router-dom'; +import { Outlet, Link } from "react-router-dom"; +import { useState } from "react"; const Layout = () => { + const [open, setOpen] = useState(false); + return (
@@ -50,4 +122,4 @@ const Layout = () => { ); }; -export default Layout; +export default Layout; \ No newline at end of file diff --git a/frontend/src/pages/CreateComicPage.jsx b/frontend/src/pages/CreateComicPage.jsx index e39b608..51b05b1 100644 --- a/frontend/src/pages/CreateComicPage.jsx +++ b/frontend/src/pages/CreateComicPage.jsx @@ -50,7 +50,7 @@ export default function CreateComicPage() { } return ( -
+

Create Comic with AI

Describe your story. AI will split it into panels and generate manga-style art.