diff --git a/src/App.js b/src/App.js index 6b14796..d4f5200 100644 --- a/src/App.js +++ b/src/App.js @@ -10,6 +10,7 @@ import PostCreate from "./pages/PostCreate"; import PostEdit from "./pages/PostEdit"; import PostCategory from "./pages/PostCategory"; import Login from "./pages/Login"; +import Register from './pages/Register'; import Profile from "./pages/Profile"; import { AuthProvider } from "./context/AuthContext"; @@ -29,6 +30,7 @@ function App() { } /> } /> } /> + } /> } /> diff --git a/src/components/Footer.js b/src/components/Footer.js index c160e81..4060be1 100644 --- a/src/components/Footer.js +++ b/src/components/Footer.js @@ -6,18 +6,10 @@ const Footer = () => { return (
-
+
-

TechEdu

-

최고의 IT 교육 플랫폼으로 당신의 커리어를 성장시키세요.

-
-
-

Quick Links

-
    -
  • -
  • -
  • -
+

System Management Portal

+

시스템 관리 포탈입니다.

Categories

@@ -30,14 +22,14 @@ const Footer = () => {

Contact

    -
  • contact@techedu.com
  • -
  • 02-1234-5678
  • -
  • 서울특별시 강남구 테헤란로 123
  • +
  • icurfer@gmail.com
  • +
  • -
  • +
  • -
-

© 2025 TechEdu. All rights reserved.

+

Copyright © icurfer 2025

diff --git a/src/components/Navbar.js b/src/components/Navbar.js index ff0b63b..eeb664f 100644 --- a/src/components/Navbar.js +++ b/src/components/Navbar.js @@ -1,24 +1,26 @@ -import React from 'react'; -import { Link, useNavigate } from 'react-router-dom'; -import { useAuth } from '../context/AuthContext'; +import React from "react"; +import { Link, useNavigate } from "react-router-dom"; +import { useAuth } from "../context/AuthContext"; const Navbar = () => { const navigate = useNavigate(); - const { isLoggedIn, logout } = useAuth(); + const { isLoggedIn, logout, user } = useAuth(); - const menuItems = ['home', 'about', 'posts', 'paas', 'infra']; + const menuItems = ["home", "about", "posts", "paas", "infra"]; return (