Skip to content

Commit e9ce6e0

Browse files
committed
Refactor: 최최최최최최최종
1 parent 3e415cf commit e9ce6e0

File tree

4 files changed

+50
-1
lines changed

4 files changed

+50
-1
lines changed

src/App.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import RequestDetail from './pages/Request/RequestDetail';
1212
// import ProjectSupport
1313
import Callback from './auth/Callback';
1414
import { useStore } from './zustand/Store';
15+
import Last from './pages/Last/Last';
1516

1617
function App() {
1718
return (
@@ -34,6 +35,7 @@ function App() {
3435
{/* User Regist */}
3536
<Route path="/regist" element={<Regist />} />
3637
<Route path="/callback" element={<Callback />} />
38+
<Route path="/last" element={<Last />} />
3739
</Routes>
3840
</BrowserRouter>
3941
);

src/layout/Footer/Footer.jsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
import React from 'react';
22
import { Container, Text } from './style';
3+
import { useNavigate } from 'react-router-dom';
34

45
const Footer = () => {
6+
const navigate = useNavigate();
7+
const handleTextClick = () => {
8+
navigate('/last');
9+
};
510
return (
611
<Container>
712
Copyright © 2024 Devlink(SuYeon Lim) All rights reserved.
813
<Text>e-mail : help.devlink.official@gmail.com</Text>
914
<Text>C.P : 010-2636-3507</Text>
10-
<Text>For All of MTVS ACADEMY Students, Thank you for your effort</Text>
15+
<Text onClick={handleTextClick}>
16+
For all the students of MTVS Academy, I wish you all the best.
17+
</Text>
1118
</Container>
1219
);
1320
};

src/pages/Last/Last.jsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import React from 'react';
2+
import { Container, Text } from './style';
3+
const Last = () => {
4+
return (
5+
<Container>
6+
MTVS ACADEMY 3기 여러분
7+
<br />
8+
다들 수고하셨습니다!
9+
<Text>- DevLink -</Text>
10+
</Container>
11+
);
12+
};
13+
export default Last;

src/pages/Last/style.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import styled from 'styled-components';
2+
3+
export const Container = styled.div`
4+
width: 100%;
5+
height: 100vh;
6+
display: flex;
7+
flex-direction: column;
8+
justify-content: center;
9+
align-items: center;
10+
text-align: center;
11+
color: #fff;
12+
background-color: #393939;
13+
font-weight: 800;
14+
font-family: Pretendard;
15+
font-size: 6rem;
16+
`;
17+
18+
export const Text = styled.div`
19+
display: flex;
20+
text-align: center;
21+
justify-content: center;
22+
align-items: center;
23+
color: #fff;
24+
font-weight: 800;
25+
font-family: Pretendard;
26+
font-size: 3rem;
27+
`;

0 commit comments

Comments
 (0)