-
Notifications
You must be signed in to change notification settings - Fork 0
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 #98 from nitfc-festival-system-team/83-フッターを作る
feat: フッターを作る
- Loading branch information
Showing
6 changed files
with
91 additions
and
2 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import React from "react"; | ||
import { useRouter } from "next/router"; | ||
|
||
import { LinkedText } from "./LinkedText"; | ||
import "@/styles/gamingColor.css"; | ||
|
||
export const Footer = () => { | ||
const router = useRouter(); | ||
return ( | ||
<footer> | ||
<div | ||
style={{ | ||
backgroundColor: "#20e0e0", | ||
width: "100vw", | ||
display: "flex", | ||
flexDirection: "column", | ||
alignItems: "center", | ||
gap: "10px", | ||
fontSize: "1.4vw", | ||
marginTop: "5vw", | ||
}} | ||
> | ||
<div | ||
style={{ | ||
display: "flex", | ||
flexDirection: "row", | ||
alignItems: "center", | ||
gap: "5vw", | ||
fontSize: "2vw", | ||
}} | ||
> | ||
<LinkedText text={"企画"} link={"contents/schedule"} /> | ||
<LinkedText text={"露店"} link={"contents/stand"} /> | ||
</div> | ||
<img | ||
src={"image/nitfc.png"} | ||
alt={"nitfc_logo"} | ||
width={"20%"} | ||
style={{ cursor: "pointer" }} | ||
onClick={() => { | ||
router.push("https://www.fukui-nct.ac.jp/"); | ||
}} | ||
/> | ||
{/* <LinkedText text={"福井高専"} link={"https://www.fukui-nct.ac.jp/"} /> */} | ||
<LinkedText | ||
text={"お問い合わせ"} | ||
link={"https://www.fukui-nct.ac.jp/"} | ||
/> | ||
<div style={{ animation: "rainbow 1s infinite" }}> | ||
<LinkedText | ||
text={"福井高専祭システム班メンバー募集中!!"} | ||
link={"https://github.com/nitfc-festival-system-team"} | ||
/> | ||
</div> | ||
<LinkedText | ||
text={"GitHub"} | ||
link={"https://github.com/nitfc-festival-system-team/2023hp"} | ||
/> | ||
<br /> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export const LinkedText = (props: { text: string; link: string }) => { | ||
return ( | ||
<a | ||
href={props.link} | ||
style={{ | ||
textDecoration: "none", | ||
fontWeight: "bold", | ||
}} | ||
> | ||
{props.text} | ||
</a> | ||
); | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@keyframes rainbow { | ||
12% { color: #ff5353; } | ||
24% { color: #ffcf53; } | ||
36% { color: #e8ff53; } | ||
48% { color: #53ff5d; } | ||
60% { color: #53ffbc; } | ||
72% { color: #5393ff; } | ||
84% { color: #ca53ff; } | ||
100% { color: #ff53bd; } | ||
} |