-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #139 from LikeLion-at-DGU/develop
🚀 Deploy
- Loading branch information
Showing
6 changed files
with
82 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,55 @@ | ||
import { useNavigate } from 'react-router-dom'; | ||
import { Review } from "@components/about/Review/Review" | ||
import { useNavigate } from "react-router-dom"; | ||
import { Review } from "@components/about/Review/Review"; | ||
// import github from "@assets/img/github.svg" | ||
import github from '../../assets/img/github.svg' | ||
import Develop from '../../assets/img/Developers.svg' | ||
import insta from '../../assets/img/instagram.svg' | ||
import * as F from './FooterStyle'; | ||
import github from "../../assets/img/github.svg"; | ||
import Develop from "../../assets/img/Developers.svg"; | ||
import insta from "../../assets/img/instagram.svg"; | ||
import * as F from "./FooterStyle"; | ||
import * as S from "@pages/about/AboutPage.styled"; | ||
|
||
|
||
|
||
const Footer = () => { | ||
const navigate = useNavigate(); | ||
|
||
const goToAboutPage = () => { | ||
navigate('/about'); | ||
} | ||
|
||
const goToGithub = () => { | ||
window.open('https://github.com/LikeLion-at-DGU/2024_fall_festival_front', '_blank'); // 새로운 탭에서 GitHub 열기 | ||
}; | ||
|
||
const goToInstagram = () => { | ||
window.open('https://www.instagram.com/likelion.official/', '_blank'); // 새로운 탭에서 Instagram 열기 | ||
}; | ||
|
||
return( | ||
<F.Footer> | ||
<Review /> | ||
<p id='copy'>Copyright ⓒ 2024. 동국대학교 멋쟁이사자처럼 All rights reserved.</p> | ||
|
||
<F.ButtonBar> | ||
|
||
<button onClick={goToGithub}> | ||
<img src={github} /> | ||
<span>Github</span> | ||
</button> | ||
|
||
<button onClick={goToAboutPage}> | ||
<img src={Develop} /> | ||
<span> Developers</span> | ||
</button> | ||
|
||
<button onClick={goToInstagram}> | ||
<img src={insta} /> | ||
<span> Instagram</span> | ||
</button> | ||
</F.ButtonBar> | ||
|
||
</F.Footer> | ||
) | ||
|
||
} | ||
|
||
export default Footer; | ||
const navigate = useNavigate(); | ||
|
||
const goToAboutPage = () => { | ||
navigate("/about"); | ||
}; | ||
|
||
const goToGithub = () => { | ||
window.open( | ||
"https://github.com/LikeLion-at-DGU/2024_fall_festival_front", | ||
"_blank" | ||
); // 새로운 탭에서 GitHub 열기 | ||
}; | ||
|
||
const goToInstagram = () => { | ||
window.open("https://www.instagram.com/likelion_dongguk/", "_blank"); // 새로운 탭에서 Instagram 열기 | ||
}; | ||
|
||
return ( | ||
<F.Footer> | ||
<Review /> | ||
<p id="copy"> | ||
Copyright ⓒ 2024. 동국대학교 멋쟁이사자처럼 All rights reserved. | ||
</p> | ||
|
||
<F.ButtonBar> | ||
<button onClick={goToGithub}> | ||
<img src={github} /> | ||
<span>Github</span> | ||
</button> | ||
|
||
<button onClick={goToAboutPage}> | ||
<img src={Develop} /> | ||
<span> Developers</span> | ||
</button> | ||
|
||
<button onClick={goToInstagram}> | ||
<img src={insta} /> | ||
<span> Instagram</span> | ||
</button> | ||
</F.ButtonBar> | ||
</F.Footer> | ||
); | ||
}; | ||
|
||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters