From d3cb5d8b70bb83a251ffef0d4876e71e1bcfcdab Mon Sep 17 00:00:00 2001 From: icurfer Date: Tue, 20 May 2025 08:28:50 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=ED=99=9C=EC=84=B1=20=EC=9C=A0?= =?UTF-8?q?=EC=A0=80=20=EA=B2=BD=EA=B3=A0=20=EB=A9=94=EC=84=B8=EC=A7=80=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/authApi.js | 6 ++--- src/components/Footer.js | 52 +++++++++++++++++++++++++++++++++------- src/components/Navbar.js | 3 ++- src/pages/Login.js | 10 ++++++-- version | 2 +- 5 files changed, 57 insertions(+), 16 deletions(-) diff --git a/src/api/authApi.js b/src/api/authApi.js index 9f83077..9513f0f 100644 --- a/src/api/authApi.js +++ b/src/api/authApi.js @@ -1,10 +1,10 @@ // src/api/authApi.js -import axios from 'axios'; -import { attachAuthInterceptors } from './attachInterceptors'; +import axios from "axios"; +import { attachAuthInterceptors } from "./attachInterceptors"; const authApi = axios.create({ baseURL: process.env.REACT_APP_API_AUTH, - headers: { 'Content-Type': 'application/json' } + headers: { "Content-Type": "application/json" }, }); attachAuthInterceptors(authApi); diff --git a/src/components/Footer.js b/src/components/Footer.js index 4060be1..c5a0b02 100644 --- a/src/components/Footer.js +++ b/src/components/Footer.js @@ -1,5 +1,5 @@ -import React from 'react'; -import { useNavigate } from 'react-router-dom'; +import React from "react"; +import { useNavigate } from "react-router-dom"; const Footer = () => { const navigate = useNavigate(); @@ -14,17 +14,51 @@ const Footer = () => {

Categories

Contact

@@ -36,4 +70,4 @@ const Footer = () => { ); }; -export default Footer; \ No newline at end of file +export default Footer; diff --git a/src/components/Navbar.js b/src/components/Navbar.js index 578a50a..5bf342a 100644 --- a/src/components/Navbar.js +++ b/src/components/Navbar.js @@ -6,7 +6,8 @@ const Navbar = () => { const navigate = useNavigate(); const { isLoggedIn, logout, user } = useAuth(); - const menuItems = ["home", "about", "posts", "paas", "infra", "tasks"]; + // const menuItems = ["home", "about", "posts", "paas", "infra", "tasks"]; + const menuItems = ["home", "about", "posts", "tasks"]; return (