Skip to content

Commit

Permalink
Feat: Input, Dropdown components
Browse files Browse the repository at this point in the history
  • Loading branch information
MEGUMMY1 committed Apr 9, 2024
1 parent c66f455 commit 2c75094
Show file tree
Hide file tree
Showing 14 changed files with 532 additions and 12 deletions.
252 changes: 250 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"classnames": "^2.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.3",
Expand Down
2 changes: 2 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ import "./global.scss";
import "./reset.scss";
import { BrowserRouter, Routes, Route } from "react-router-dom";
import Home from "./pages/Home/Home";
import FromMsgPage from "./pages/Msg/FromMsg/FromMsgPage";

function App() {
return (
<BrowserRouter>
<Routes>
<Route path="/" element={<Home />} />
<Route path="/post/:id/message" element={<FromMsgPage />} />
</Routes>
</BrowserRouter>
);
Expand Down
Binary file added src/assets/dropdown_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/dropdown_top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/components/Header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $headerH: 65px;
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1248px;
max-width: 1200px;
width: 100%;
}

Expand All @@ -26,8 +26,8 @@ $headerH: 65px;
font-size: 19.971px;
line-height: normal;
&::before {
content: '';
background-image: url('../assets/Rolling_icon.png');
content: "";
background-image: url("../assets/Rolling_icon.png");
display: inline-block;
width: 27.818px;
height: 27.658px;
Expand Down
Loading

0 comments on commit 2c75094

Please sign in to comment.