diff --git a/pages/rank/index.js b/pages/rank/index.js new file mode 100644 index 0000000..c109878 --- /dev/null +++ b/pages/rank/index.js @@ -0,0 +1,32 @@ +import { useEffect, useRef, useState } from "react"; +import styles from "../../styles/Rank.module.css"; +import Link from "next/link"; +import { useRouter } from "next/router"; + +export default function Rank() { + const router = useRouter(); + return ( +
+
+ router.push("/../map")} + > +
+ SSU 최강우주전사 +
+
RANK
+
NAME
+
TIME
+
+
+
1
+
규 7486
+
00:05:23
+
+
+
+
+ ); +} diff --git a/public/img_X_button.png b/public/img_X_button.png new file mode 100644 index 0000000..544cb24 Binary files /dev/null and b/public/img_X_button.png differ diff --git a/styles/Rank.module.css b/styles/Rank.module.css new file mode 100644 index 0000000..4eaaf5e --- /dev/null +++ b/styles/Rank.module.css @@ -0,0 +1,102 @@ +.background { + /* display: center; */ + flex-direction: column; + justify-content: center; + align-items: center; + background: url(../public/img-bg-universe.png); + min-height: 100vh; + background-repeat: repeat-y; + background-size: 100%; + overflow: scroll; + text-align: center; +} + +.X_button { + background: url(../public/img_X_button.png); + border: none; + width: 45px; + height: 45px; + cursor: pointer; + top: 25px; + right: 32px; + position: fixed; +} + +.title { + font-family: "NeoDunggeunmo"; + font-size: 30px; + color: #ffffff; + margin-top: 90px; +} + +.element { + display: flex; + font-family: "NeoDunggeunmo"; + font-size: 18px; + color: red; + margin: auto; + margin-top: 38px; + text-align: left; + width: 282px; +} + +.ranking { + display: flex; + font-family: "NeoDunggeunmo"; + font-size: 18px; + color: #ffffff; + margin: auto; + width: 326px; +} + +.float1 { + flex-grow: 2; + /* text-align: left; */ + /* margin-left: 40px; */ +} + +.float2 { + flex-grow: 2; +} + +.float3 { + flex-grow: 6; + text-align: right; + + padding-right: 15px; + /* margin-right: 68px; */ +} + +.li_1 { + font-size: 32px; + flex-grow: 2; + padding: 18px 0; + color: yellow; + padding-left: 15px; +} + +.li_2 { + font-size: 20px; + flex-grow: 2; + padding: 18px 0; + + line-height: 30px; +} + +.li_3 { + font-size: 20px; + flex-grow: 6; + text-align: right; + padding: 18px 0; + line-height: 30px; + + padding-right: 15px; +} + +@font-face { + font-family: "NeoDunggeunmo"; + src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.3/NeoDunggeunmo.woff") + format("woff"); + font-weight: normal; + font-style: normal; +}