Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0abacad
fix: userStore 참조 이름 수정
euncherry Dec 19, 2024
02bbbe6
guide 구현
euncherry Dec 20, 2024
f2bb8a2
채팅 구현 중
euncherry Dec 20, 2024
d60299d
fix: 파일 이름 대소문자 충돌 해결
euncherry Dec 22, 2024
e616c7a
랜딩페이지 구현
euncherry Dec 22, 2024
f533439
마크다운 랜더링 필요한 언어만 등록
euncherry Dec 22, 2024
f632312
마크다운 랜더링 언어 강조 라이브러리 수정
euncherry Dec 22, 2024
5aa7f38
랜더링 수정
euncherry Dec 23, 2024
e5d7cb3
랜딩페이지 작성
euncherry Dec 24, 2024
5216712
랜딩페이지 작성
euncherry Dec 24, 2024
376e8cb
랜딩페이지 작성
euncherry Dec 24, 2024
5f73fbf
일단 저장
euncherry Dec 24, 2024
115f51f
add 5초뒤에 지정
euncherry Dec 25, 2024
2c87e1d
파일 수정
euncherry Dec 25, 2024
dd38c44
채팅 보내기 까지 완료
euncherry Dec 25, 2024
2e4146f
useReadme 수정
euncherry Dec 25, 2024
3ce914f
useReadme 수정
euncherry Dec 25, 2024
c097b51
readme 수정
euncherry Dec 25, 2024
c8b9dee
파싱씨 수정
euncherry Dec 25, 2024
31436e2
채팅 최종 수정 완료
euncherry Dec 25, 2024
42efdfb
리드미 다시 롤백 ㅋ
euncherry Dec 25, 2024
39d95f1
랜딩페이지 완
euncherry Dec 25, 2024
52afbb5
최종 완성
euncherry Dec 25, 2024
d44230c
home디자인 수정
euncherry Dec 25, 2024
ce8912f
코드 진하게 detail 헤더 pointer수정
euncherry Dec 25, 2024
c104c16
반응형 ㄱㄱ 욘
euncherry Dec 26, 2024
1ba8074
마쭘뻡 이슈
euncherry Dec 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,25 @@
"dependencies": {
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@reduxjs/toolkit": "^2.3.0",
"@tanstack/react-query": "^5.59.20",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"antd": "^5.21.5",
"axios": "^1.7.7",
"highlight.js": "^11.10.0",
"jwt-decode": "^4.0.0",
"lucide-react": "^0.454.0",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.2.0",
"markdown-it-mermaid": "^0.2.5",
"markdown-it-toc-done-right": "^4.2.0",
"mermaid": "^11.4.1",
"normalize.css": "^8.0.1",
"prismjs": "^1.29.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-markdown": "^9.0.1",
"react-modal": "^3.16.1",
"react-query": "^3.39.3",
"react-redux": "^9.1.2",
"react-router-dom": "^6.27.0",
"react-scripts": "5.0.1",
"remark-html": "^16.0.1",
"styled-components": "^6.1.13",
"styled-reset": "^4.5.2",
"web-vitals": "^2.1.0",
Expand Down Expand Up @@ -60,6 +54,7 @@
]
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11"
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"source-map-explorer": "^2.5.3"
}
}
Binary file modified public/favicon.ico
Binary file not shown.
15 changes: 14 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,21 @@
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- https://raw.githubusercontent.com/DoDoDocs/dododocs-frontend/refs/heads/main/src/assets/images/landing-hero-min.png -->
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<meta property="og:title" content="" />

<meta name="description" content="너 내 도도독스가 돼라" />
<meta property="og:description" content="너 내 도도독스가 돼라!" />
<meta
property="og:image"
content="https://raw.githubusercontent.com/DoDoDocs/dododocs-frontend/refs/heads/develop/src/assets/images/descMain.png"
/>
<meta
property="image"
content="https://raw.githubusercontent.com/DoDoDocs/dododocs-frontend/refs/heads/develop/src/assets/images/descMain.png"
/>

<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
Expand Down
1 change: 1 addition & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import './App.css';
import DododocsRouter from './router/index.jsx';
import AppInitializer from './components/core/AppInitalizer.jsx';
import 'prismjs/themes/prism-tomorrow.css'; // 코드 하이라이팅 테마
const queryClient = new QueryClient({
defaultOptions: {
queries: {
Expand Down
32 changes: 32 additions & 0 deletions src/api/chatbot.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// src/api/download.js
import api from './axios.js';

export const chatbotAPI = {
// chatbot 대화 내역 불러오기 API
getChatbotHistory: async (registeredRepoId) => {
try {
console.log('🏃 chatbot 대화 내역 불러오기 조회 API,,,', registeredRepoId);
const response = await api.get(`/api/chatbot/logs/${registeredRepoId}`);
console.log('chatbot 대화 내역 불러오기 : ', response.data);
return response.data;
} catch (error) {
console.error('Failed to postDownloadReadme :', error);
throw new Error(
error.response?.data?.message || '❌ Failed to post Download Readme',
);
}
},

//AI 분석 DOCS 결과 목록 불러오기
postDownloadDocs: async (registeredRepoId) => {
try {
console.log('🏃 AI 분석 DOCS 결과 불러오기 조회 API ,,,');
const response = await api.post(`/api/download/docs/${registeredRepoId}`);
console.log('AI 분석 DOCS 결과 : ', response.data);
return response.data;
} catch (error) {
console.error('Failed to postDownloadDocs :', error);
throw new Error(error.response?.data?.message || '❌ Failed to post Download Docs');
}
},
};
1 change: 1 addition & 0 deletions src/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export { registerAPI } from './register';
export { memberAPI } from './member';
export { docsAPI } from './docs';
export { downloadAPI } from './download';
export { chatbotAPI } from './chatbot';
Binary file added src/assets/images/chatting-landing.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/images/descMain.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/images/docu-landing.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 modified src/assets/images/landing-hero-min.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/images/readme-landing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/atoms/Button/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const SIZE_STYLES = {
const BUTTON_VARIANTS = {
gradient: css`
background:${({ theme }) => theme.gradients.values.primary};
/* background : linear-gradient(to right, #a25cff, #d923ff); */
/* background : linear-gradient(to right, rgb(162, 92, 255), #d923ff); */
border: 0 solid transparent;
border-radius: 8px;
color: #FFFFFF;
Expand Down
167 changes: 0 additions & 167 deletions src/components/atoms/MarkdownEditor/index.jsx

This file was deleted.

Loading