Skip to content

Commit

Permalink
feat: imageselect 페이지 전면 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
osohyun0224 committed Jun 29, 2023
1 parent a8b900e commit 38ba177
Show file tree
Hide file tree
Showing 5 changed files with 197 additions and 121 deletions.
2 changes: 0 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import LandingPage from "./pages/LandingPage";
import Header from "./components/Layout/Header";
import LoginPage from "./pages/LoginPage";
import SignupPage from "./pages/SignupPage";
import ImageUpload from "./imageinput";
import ImageSelect from "./imageselect";

const StyledApp = styled.div`
Expand All @@ -23,7 +22,6 @@ function App() {
<Route path="/" element={<LandingPage />} />
<Route path="/login" element={<LoginPage />} />
<Route path="/signup" element={<SignupPage />} />
<Route path="/user/imageinput" element={<ImageUpload />} />
<Route path="/user/imageselect" element={<ImageSelect />} />
</Routes>
</StyledApp>
Expand Down
Binary file added src/assets/images/Enter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/LandingPage/Contents.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function Contents() {
</StyledExplain>
<StyledButton
className="font-bold"
onClick={() => navigation("/user/imageinput")}
onClick={() => navigation("/user/imageselect")}
>{`이미지 업로드 >>`}</StyledButton>
</StyledContents>
);
Expand Down
3 changes: 2 additions & 1 deletion src/imageinput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ const ImageUpload = () => {
};

const handleSubmit = () => {
navigate("/user/imageselect"); // '/imageselect'로 이동

navigate("/user/imageselect");
};

const handleSelectImage = () => {
Expand Down
Loading

0 comments on commit 38ba177

Please sign in to comment.