diff --git a/src/App.js b/src/App.js index 9b8b606..6e94444 100644 --- a/src/App.js +++ b/src/App.js @@ -5,6 +5,7 @@ import { Route, Switch } from "react-router-dom"; import "./api/axiosDefaults"; import SignUpForm from "./pages/auth/SignUpForm"; import LoginForm from "./pages/auth/LoginForm"; +import PostCreateForm from "./pages/posts/PostCreateForm"; function App() { return ( @@ -15,6 +16,7 @@ function App() {

Home Page

} /> } /> } /> + } />

Page not found!

} /> diff --git a/src/pages/posts/PostCreateForm.js b/src/pages/posts/PostCreateForm.js new file mode 100644 index 0000000..8cbf059 --- /dev/null +++ b/src/pages/posts/PostCreateForm.js @@ -0,0 +1,60 @@ +import React, { useState } from "react"; + +import Form from "react-bootstrap/Form"; +import Button from "react-bootstrap/Button"; +import Row from "react-bootstrap/Row"; +import Col from "react-bootstrap/Col"; +import Container from "react-bootstrap/Container"; + +import Upload from "../../assets/upload.png"; + +import styles from "../../styles/PostCreateEditForm.module.css"; +import appStyles from "../../App.module.css"; +import btnStyles from "../../styles/Button.module.css"; + +function PostCreateForm() { + const [errors, setErrors] = useState({}); + + const textFields = ( +
+ {/* Add your form fields here */} + + + +
+ ); + + return ( +
+ + + + + + ASSET + + +
{textFields}
+
+ + + {textFields} + +
+
+ ); +} + +export default PostCreateForm;