diff --git a/src/App.tsx b/src/App.tsx index 12c1154..00f32ef 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,9 +1,13 @@ +import NotFound from '@pages/NotFound/NotFound' import PostDetail from '@pages/PostDetail/PostDetail' import { Routes, Route } from 'react-router-dom' const App = () => { return ( + } /> } diff --git "a/src/assets/imgs/\354\225\204\353\246\254\354\212\244\355\206\240\355\205\224\353\240\210\354\212\244.png" "b/src/assets/imgs/\354\225\204\353\246\254\354\212\244\355\206\240\355\205\224\353\240\210\354\212\244.png" new file mode 100644 index 0000000..47694b7 Binary files /dev/null and "b/src/assets/imgs/\354\225\204\353\246\254\354\212\244\355\206\240\355\205\224\353\240\210\354\212\244.png" differ diff --git "a/src/assets/imgs/\355\225\230\355\212\270.png" "b/src/assets/imgs/\355\225\230\355\212\270.png" new file mode 100644 index 0000000..8caeb0b Binary files /dev/null and "b/src/assets/imgs/\355\225\230\355\212\270.png" differ diff --git a/src/pages/NotFound/NotFound.css b/src/pages/NotFound/NotFound.css new file mode 100644 index 0000000..7553c2a --- /dev/null +++ b/src/pages/NotFound/NotFound.css @@ -0,0 +1,61 @@ +.not-found-container { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + min-height: 100vh; + background-color: white; + text-align: center; + padding: 20px; + } + html,body{ + background-color: red; + } + .quote-container { + margin-bottom: 20px; + } + + .quote { + font-size: 1.3rem; + font-weight: 600; + } + + .quote-author { + font-size: 14px; + color: #666; + margin-bottom: 50px; + } + + .not-found-logo { + max-width: 100%; + height: auto; + margin-bottom: 20px; + } + + .image-container { + position: relative; + } + + .heart-overlay1 { + position: absolute; + top: 30%; + left: 14%; + + object-fit: contain; + } + .heart-overlay2 { + position: absolute; + top: 30%; + left: 64%; + object-fit: contain; + } + + .home-link { + color: #007bff; + text-decoration: none; + font-size: 16px; + } + + .home-link:hover { + text-decoration: underline; + } \ No newline at end of file diff --git a/src/pages/NotFound/NotFound.tsx b/src/pages/NotFound/NotFound.tsx new file mode 100644 index 0000000..ec60dec --- /dev/null +++ b/src/pages/NotFound/NotFound.tsx @@ -0,0 +1,29 @@ + +import './NotFound.css'; +import Aristo from '@assets/imgs/아리스토텔레스.png'; +import Heart from '@assets/imgs/하트.png'; +import NotLogo from '@assets/imgs/404 Not Found.png'; +import Container from '@/components/Conatiner/Container'; + +const NotFound: React.FC = () => { + return ( + +
+
+
+ "누구가를 사랑한다는 것은

자신을 그와 동일시 하는 것이다" +
+

- 아리스토텔레스

+ 404 Not Found +
+
+ Aristotle + Heart + Heart +
+
+
+ ); +}; + +export default NotFound; \ No newline at end of file