diff --git a/README.md b/README.md index 37d6e5d..ba91a42 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,15 @@ -# SNS.md 프론트엔드 -![image](./public/title_italic.png) -## 1. 주제 및 기획 -> 개발자를 위한 **마크다운** 기반 **익명** SNS 서비스 -## 2. 페이지 -### 2.1. 메인페이지 +# 안녕하세요 미니 프로젝트 31팀 SNS.md 입니다 💬 +![image](https://raw.githubusercontent.com/SNS-md/front.md/main/public/title_italic.png) -### 2.2. 게시글 작성 페이지 +- 제목만 보면 #이 생각나시는 분! 🙋🏻‍♀ +- 소싯적 마크다운으로 블로그나 리드미 좀 꾸며보신 분! 🙋🏻‍♂ -### 2.3. 게시글 상세 페이지 \ No newline at end of file +각종 글을 적으며 키워온 마크다운 실력을 자랑할 수 있는 공간이 바로 여기 있습니다!! + +``` +System.out.println("Hello SNS.md"); +``` + +14기 마크다운 강자는 누구일지 **SNS.md** 지금 바로 사용해 보세요 🙌🏻 + +실행 방법은 [링크](https://github.com/SNS-md/front.md/blob/main/doc/howToStart.md)를 참고해주세요! \ No newline at end of file diff --git a/src/assets/bunny.png b/public/assets/bunny.png similarity index 100% rename from src/assets/bunny.png rename to public/assets/bunny.png diff --git a/src/assets/cat.png b/public/assets/cat.png similarity index 100% rename from src/assets/cat.png rename to public/assets/cat.png diff --git a/src/assets/chicken.png b/public/assets/chicken.png similarity index 100% rename from src/assets/chicken.png rename to public/assets/chicken.png diff --git a/src/assets/comi.png b/public/assets/comi.png similarity index 100% rename from src/assets/comi.png rename to public/assets/comi.png diff --git a/src/assets/cow.png b/public/assets/cow.png similarity index 100% rename from src/assets/cow.png rename to public/assets/cow.png diff --git a/src/assets/dog.png b/public/assets/dog.png similarity index 100% rename from src/assets/dog.png rename to public/assets/dog.png diff --git a/src/assets/fox.png b/public/assets/fox.png similarity index 100% rename from src/assets/fox.png rename to public/assets/fox.png diff --git a/src/assets/lion.png b/public/assets/lion.png similarity index 100% rename from src/assets/lion.png rename to public/assets/lion.png diff --git a/src/assets/monkey.png b/public/assets/monkey.png similarity index 100% rename from src/assets/monkey.png rename to public/assets/monkey.png diff --git a/src/assets/pig.png b/public/assets/pig.png similarity index 100% rename from src/assets/pig.png rename to public/assets/pig.png diff --git a/src/assets/somi.png b/public/assets/somi.png similarity index 100% rename from src/assets/somi.png rename to public/assets/somi.png diff --git a/src/components/Post/Writer.jsx b/src/components/Post/Writer.jsx index 6178fda..dcb96e6 100644 --- a/src/components/Post/Writer.jsx +++ b/src/components/Post/Writer.jsx @@ -22,7 +22,7 @@ function PostHeader({ name, date, isComment }) { const [color, icon] = name2profile(name); return ( - {name}/ + {name}/ {name} · {date} diff --git a/src/index.js b/src/index.js index 1235c09..fb07b60 100644 --- a/src/index.js +++ b/src/index.js @@ -6,11 +6,11 @@ import Main from './page/Main'; import Write from './page/Write'; import Detail from './page/Detail'; import NotFound from './page/NotFound'; -import {HashRouter,Route,Routes} from 'react-router-dom'; +import {BrowserRouter,Route,Routes} from 'react-router-dom'; const root = ReactDOM.createRoot(document.getElementById('root')); root.render( - +
@@ -20,5 +20,5 @@ root.render( } />
- + ); \ No newline at end of file diff --git a/src/page/Detail.jsx b/src/page/Detail.jsx index c9b6007..608625a 100644 --- a/src/page/Detail.jsx +++ b/src/page/Detail.jsx @@ -16,7 +16,7 @@ function Detail() { setPost(data); }catch(e){ // eslint-disable-next-line no-restricted-globals - location.replace("/#/404"); + location.replace("/404"); } })(); }, []);