|
1 | 1 | "use client"; |
2 | 2 |
|
3 | | -import { ArrowBack } from "@mui/icons-material"; |
4 | | -import { Box, IconButton, Typography } from "@mui/material"; |
5 | | -import { useRouter } from "next/navigation"; |
6 | 3 | import Header from "~/components/Header"; |
| 4 | +import TopNavigation from "~/components/common/TopNavigation"; |
7 | 5 |
|
8 | 6 | export default function FAQ() { |
9 | | - const router = useRouter(); |
10 | | - |
11 | 7 | return ( |
12 | | - <Box |
13 | | - sx={{ |
14 | | - padding: "20px", |
15 | | - display: "flex", |
16 | | - flexDirection: "column", |
17 | | - position: "absolute", |
18 | | - top: "56px", |
19 | | - bottom: 0, |
20 | | - left: 0, |
21 | | - right: 0, |
22 | | - overflowY: "auto", |
23 | | - }} |
24 | | - > |
| 8 | + <> |
25 | 9 | <Header title="よくある質問/FAQ" /> |
26 | | - <IconButton |
27 | | - sx={{ position: "absolute", top: "20px", left: "20px" }} |
28 | | - onClick={() => router.back()} |
29 | | - > |
30 | | - <ArrowBack /> |
31 | | - </IconButton> |
32 | | - |
33 | | - <Box |
34 | | - sx={{ |
35 | | - width: "100%", |
36 | | - maxWidth: "600px", |
37 | | - padding: "30px", |
38 | | - textAlign: "left", |
39 | | - }} |
40 | | - > |
41 | | - <Typography |
42 | | - variant="h5" |
43 | | - component="h1" |
44 | | - gutterBottom |
45 | | - sx={{ fontWeight: "bold", mb: "24px", textAlign: "center" }} |
46 | | - > |
47 | | - よくある質問 |
48 | | - </Typography> |
49 | | - |
50 | | - <Typography |
51 | | - variant="body1" |
52 | | - paragraph |
53 | | - sx={{ lineHeight: 1.8, mb: "16px" }} |
54 | | - > |
55 | | - <strong>Q: 東大生以外も利用できますか?</strong> |
56 | | - <br /> |
57 | | - A: |
58 | | - 本サービスは東大生のみを対象としています。それゆえ、ECCSアカウントによるログインが必須です。他のGoogleアカウントではログインできません。 |
59 | | - </Typography> |
60 | | - |
61 | | - <Typography |
62 | | - variant="body1" |
63 | | - paragraph |
64 | | - sx={{ lineHeight: 1.8, mb: "16px" }} |
65 | | - > |
66 | | - <strong>Q: 授業登録機能はすべての学部に対応していますか?</strong> |
67 | | - <br /> |
68 | | - A: |
69 | | - 本サービスの授業登録機能は前期教養学部のみに対応しており、今のところ後期学部には対応しておりません。 |
70 | | - </Typography> |
71 | | - |
72 | | - <Typography |
73 | | - variant="body1" |
74 | | - paragraph |
75 | | - sx={{ lineHeight: 1.8, mb: "16px" }} |
76 | | - > |
77 | | - <strong>Q: 収集された個人情報はどのように利用されますか?</strong> |
78 | | - <br /> |
79 | | - A: |
80 | | - 収集した個人情報は、サインインおよびサービス提供の目的にのみ使用され、他の目的には使用されません。 |
81 | | - </Typography> |
82 | | - |
83 | | - <Typography |
84 | | - variant="body1" |
85 | | - paragraph |
86 | | - sx={{ lineHeight: 1.8, mb: "16px" }} |
87 | | - > |
88 | | - <strong>Q: 東大公式のアプリですか?</strong> |
89 | | - <br /> |
90 | | - A: |
91 | | - 本サービスはut.code();によって運営されており、東京大学は運営に関与しておりません |
92 | | - </Typography> |
93 | | - </Box> |
94 | | - </Box> |
| 10 | + <div className="absolute top-14 right-0 bottom-0 left-0 flex flex-column overflow-y-auto sm:top-16"> |
| 11 | + <div className="flex flex-col p-2"> |
| 12 | + <TopNavigation title="よくある質問" /> |
| 13 | + <div className="w-full p-8 text-left"> |
| 14 | + <p className="mb-4 leading-7"> |
| 15 | + {/* TODO: この辺の構造を直す */} |
| 16 | + <strong>Q: 東大生以外も利用できますか?</strong> |
| 17 | + <br /> |
| 18 | + A: |
| 19 | + 本サービスは東大生のみを対象としています。それゆえ、ECCSアカウントによるログインが必須です。他のGoogleアカウントではログインできません。 |
| 20 | + </p> |
| 21 | + |
| 22 | + <p className="mb-4 leading-7"> |
| 23 | + <strong>Q: 授業登録機能はすべての学部に対応していますか?</strong> |
| 24 | + <br /> |
| 25 | + A: |
| 26 | + 本サービスの授業登録機能は前期教養学部のみに対応しており、今のところ後期学部には対応しておりません。 |
| 27 | + </p> |
| 28 | + |
| 29 | + <p className="mb-4 leading-7"> |
| 30 | + <strong>Q: 収集された個人情報はどのように利用されますか?</strong> |
| 31 | + <br /> |
| 32 | + A: |
| 33 | + 収集した個人情報は、サインインおよびサービス提供の目的にのみ使用され、他の目的には使用されません。 |
| 34 | + </p> |
| 35 | + |
| 36 | + <p className="mb-4 leading-7"> |
| 37 | + <strong>Q: 東大公式のアプリですか?</strong> |
| 38 | + <br /> |
| 39 | + A: |
| 40 | + 本サービスはut.code();によって運営されており、東京大学は運営に関与しておりません |
| 41 | + </p> |
| 42 | + </div> |
| 43 | + </div> |
| 44 | + </div> |
| 45 | + </> |
95 | 46 | ); |
96 | 47 | } |
0 commit comments