-
- Dev
-
-
-
- {menuItems.map((item) => (
+
diff --git a/src/components/_unused_Navbar.js b/src/components/_unused_Navbar.js
index 3229d42..876d2a8 100644
--- a/src/components/_unused_Navbar.js
+++ b/src/components/_unused_Navbar.js
@@ -6,16 +6,19 @@ const Navbar = () => {
const navigate = useNavigate();
const { isLoggedIn, logout, user } = useAuth();
- // ✅ 로그인 상태에 따라 메뉴 구성
+ // 로그인 상태에 따라 메뉴 구성
const menuItems = [
{ name: "home", path: "/" },
{ name: "about", path: "/about" },
{ name: "posts", path: "/posts" },
+ { name: "boards", path: "/boards" },
];
+ // 로그인 상태일 때 추가되는 메뉴
if (isLoggedIn) {
menuItems.push({ name: "tasks", path: "/tasks" });
menuItems.push({ name: "ansible", path: "/ansible" });
+ // menuItems.push({ name: "boards", path: "/boards" });
}
return (
diff --git a/src/index.js b/src/index.js
index 1675893..517f389 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,11 +1,15 @@
+// src/index.js
import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
+import { AuthProvider } from './context/AuthContext'; // ✅ 추가
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
-
+ {/* ✅ 전역 로그인 상태 관리 */}
+
+
-);
\ No newline at end of file
+);
diff --git a/src/pages/About.js b/src/pages/About.js
index 6319c49..4dfcb63 100644
--- a/src/pages/About.js
+++ b/src/pages/About.js
@@ -10,10 +10,10 @@ const About = () => {
animation: false,
radar: {
indicator: [
- { name: '클라우드', max: 100 },
- { name: '리눅스', max: 100 },
- { name: '데브옵스', max: 100 },
- { name: 'CI/CD', max: 100 },
+ { name: '클라우드', max: 120 },
+ { name: '리눅스(우분투)', max: 130 },
+ { name: '쿠버네티스', max: 110 },
+ { name: 'CI/CD', max: 120 },
{ name: '기타', max: 100 }
]
},
@@ -39,18 +39,26 @@ const About = () => {
우리의 비전
-
- 엔지니어에게 필요한 관리 포탈을 만듭니다.
-
+
+ -
+ 실무에 적용 가능한 교육
+
+ -
+ 시스템 엔지니어를 위한 관리 도구 제작
+
+ -
+ -
+
+
핵심 가치
-
- 시스템 엔지니어를 위한 관리 도구
+ 가성비
-
- -
+ 효율
-
-
@@ -59,7 +67,7 @@ const About = () => {
diff --git a/src/pages/Board.js b/src/pages/Board.js
index f4c4108..a3f3ff7 100644
--- a/src/pages/Board.js
+++ b/src/pages/Board.js
@@ -13,7 +13,7 @@ const Board = () => {
);
return (
-
+
diff --git a/src/pages/Home.js b/src/pages/Home.js
index d0ae249..cf2dee1 100644
--- a/src/pages/Home.js
+++ b/src/pages/Home.js
@@ -1,60 +1,81 @@
-import React, { useEffect, useState } from 'react';
-import blogApi from '../api/blogApi';
-import { useNavigate } from 'react-router-dom';
+// src/pages/Home.js
+import React, { useEffect, useState } from "react";
+import blogApi from "../api/blogApi";
+import { Link, useNavigate } from "react-router-dom";
const Home = () => {
const [posts, setPosts] = useState([]);
const navigate = useNavigate();
useEffect(() => {
- blogApi.get('/api/blog/posts/')
- .then(res => setPosts(res.data))
- .catch(err => console.error('게시글 목록 조회 실패:', err));
+ blogApi
+ .get("/api/blog/posts/")
+ .then((res) => setPosts(res.data))
+ .catch((err) => console.error("게시글 목록 조회 실패:", err));
}, []);
return (
-
-
-
-

-
-
-
-
-
System Management Portal
-
데모 사이트 입니다.
-
-
+
+ {/* Hero Section */}
+
+
+
+
+
+
+ IT Education
+ Basic & Advanced
+
+
+ Ubuntu Linux, Ansible, Docker, Kubernetes, etc.
+
+
+
+ System Management
+
+
+
+ IT System Management Portal
+
+
+ 자세히 보기 >
+
-
+
-
+ {/* Posts Section */}
+
+
);
};
diff --git a/src/pages/_unused_Home.js b/src/pages/_unused_Home.js
new file mode 100644
index 0000000..1960818
--- /dev/null
+++ b/src/pages/_unused_Home.js
@@ -0,0 +1,63 @@
+import React, { useEffect, useState } from 'react';
+import blogApi from '../api/blogApi';
+import { useNavigate } from 'react-router-dom';
+
+const Home = () => {
+ const [posts, setPosts] = useState([]);
+ const navigate = useNavigate();
+
+ useEffect(() => {
+ blogApi.get('/api/blog/posts/')
+ .then(res => setPosts(res.data))
+ .catch(err => console.error('게시글 목록 조회 실패:', err));
+ }, []);
+
+ return (
+
+
+
+

+
+
+
+
+
System Management Portal
+
데모 사이트 입니다.
+
+
+
+
+
+
+
+
+ );
+};
+
+export default Home;
diff --git a/version b/version
index 9beca35..e484aaf 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-0.0.15
\ No newline at end of file
+0.0.16
\ No newline at end of file