Skip to content

Commit feba4b4

Browse files
authored
Merge pull request #6 from FastCampusGroupFE9/AhnTaeUk/Auth
로컬 스토리지 사용 가정 코드 작성
2 parents c38238e + 5f0173a commit feba4b4

14 files changed

Lines changed: 563 additions & 240 deletions

File tree

package-lock.json

Lines changed: 6 additions & 238 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"react-icons": "^4.10.1",
2020
"react-router-dom": "^6.14.2",
2121
"scss": "^0.2.4",
22-
"vite-plugin-mkcert": "^1.16.0",
2322
"vite-plugin-sass-dts": "^1.3.8"
2423
},
2524
"devDependencies": {

src/App.css

Whitespace-only changes.

src/App.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
import Main from "./pages/Main/main.tsx";
1+
import LoginPage from "./pages/LoginPage/LoginPage.tsx";
22
import Mypage from "./pages/Mypage/mypage.tsx";
33
import Admin from "./pages/Admin/admin.tsx";
44
import { Route, Routes } from "react-router-dom";
5+
import Main from "./pages/Main/main.tsx";
6+
import SignUpPage from "./pages/SignUpPage/SignUpPage.tsx";
7+
import "./App.css";
58
// import ProtectedRoute from "./Components/ProtectedRoute.tsx";
69

710
function App() {

src/Components/JoinDay/JoinDay.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { useState } from "react";
2+
export default function JoinDay() {
3+
const currentYear = new Date().getFullYear();
4+
const currentMonth = new Date().getMonth() + 1;
5+
const currentDay = new Date().getDate();
6+
7+
const [selectedYear, setSelectedYear] = useState<string>("");
8+
const [selectedMonth, setSelectedMonth] = useState<string>("");
9+
const [selectedDay, setSelectedDay] = useState<string>("");
10+
11+
const handleYearChange = (e) => {
12+
setSelectedYear(e.target.value);
13+
};
14+
15+
return (
16+
<div>
17+
<div className="date-picker">으아아아아아아아</div>
18+
</div>
19+
);
20+
}

0 commit comments

Comments
 (0)