|
5 | 5 | // @ts-ignore |
6 | 6 | import ArrowRightOutline from 'flowbite-svelte-icons/ArrowRightOutline.svelte'; |
7 | 7 |
|
| 8 | + import ExternalLinkWrapper from '$lib/components/ExternalLinkWrapper.svelte'; |
| 9 | +
|
8 | 10 | import { PRODUCT_CATCH_PHRASE } from '$lib/constants/product-info'; |
| 11 | + import { ATCODER_BASE_URL } from '$lib/constants/urls'; |
| 12 | + import { WORKBOOKS_PAGE, ABOUT_PAGE, PROBLEMS_PAGE } from '$lib/constants/navbar-links'; |
9 | 13 |
|
10 | | - const workBookImages = [ |
11 | | - { |
12 | | - alt: 'List of workbooks', |
13 | | - src: '../../workbooks.png', |
14 | | - title: 'List-of-workbooks', |
15 | | - }, |
| 14 | + const problemImages = [ |
16 | 15 | { |
17 | | - alt: 'Sample of workbook with 9Q', |
18 | | - src: '../../workbook_9Q_details.png', |
19 | | - title: 'Sample-of-workbook-with-9Q', |
| 16 | + alt: 'List of problems', |
| 17 | + src: '../../grade_11Q_4Q.png', |
| 18 | + title: 'List-of-problems', |
20 | 19 | }, |
21 | 20 | { |
22 | | - alt: 'Sample of workbook with 9Q final', |
23 | | - src: '../../workbook_9Q_details_final.png', |
24 | | - title: 'Sample-of-workbook-with-9Q-final', |
| 21 | + alt: 'Sample of problems with 10Q', |
| 22 | + src: '../../grade_10Q_details.png', |
| 23 | + title: 'Sample-of-problems-with-10Q', |
25 | 24 | }, |
26 | 25 | ]; |
27 | 26 | </script> |
|
36 | 35 | > |
37 | 36 | {PRODUCT_CATCH_PHRASE} |
38 | 37 | </Heading> |
| 38 | + |
39 | 39 | <P class="mb-6 text-lg lg:text-xl sm:px-16 xl:px-48 dark:text-gray-300"> |
40 | 40 | 【非公式】 |
41 | | - <a |
42 | | - href="https://atcoder.jp/" |
43 | | - class="font-medium text-primary-600 hover:underline dark:text-primary-500" |
44 | | - target="_blank" |
45 | | - rel="noreferrer" |
46 | | - > |
47 | | - AtCoder |
48 | | - </a> |
| 41 | + <ExternalLinkWrapper url={ATCODER_BASE_URL} description="AtCoder" /> |
49 | 42 | 上の問題について、取組み状況を記録していくサイトです。 各問題が細かく難易度付けされており、必要な知識を段階的に習得できます。 |
50 | 43 | </P> |
| 44 | + |
51 | 45 | <div class="flex flex-wrap justify-center items-center"> |
52 | | - <Button href="/problems" class="w-full sm:w-5/6 md:w-1/3 m-2">問題一覧へ</Button> |
53 | | - <Button color="alternative" href="/about" class="w-full sm:w-5/6 md:w-1/3 m-2"> |
| 46 | + <Button href={WORKBOOKS_PAGE} class="w-full sm:w-5/6 md:w-1/3 m-2">問題集へ</Button> |
| 47 | + <Button color="alternative" href={ABOUT_PAGE} class="w-full sm:w-5/6 md:w-1/3 m-2"> |
54 | 48 | 使い方を見る |
55 | 49 | <ArrowRightOutline class="w-3.5 h-3.5 ml-2" /> |
56 | 50 | </Button> |
|
60 | 54 | <div class="mx-auto w-11/12 md:w-5/6"> |
61 | 55 | <!-- 主要な機能 + スクリーンショット --> |
62 | 56 | <!-- FIXME: 重複部分をコンポーネント化 --> |
63 | | - <Heading tag="h2" class="mt-20 mb-3" customSize="text-xl font-medium md:text-2xl lg:text-3xl"> |
64 | | - 問題の回答状況を自分で記録できる |
| 57 | + <!-- 問題集 --> |
| 58 | + <Heading |
| 59 | + tag="h2" |
| 60 | + class="mt-14 xs:mt-24 mb-3" |
| 61 | + customSize="text-xl font-medium md:text-2xl lg:text-3xl" |
| 62 | + > |
| 63 | + 問題集で得意を伸ばす・苦手を克服 |
65 | 64 | </Heading> |
66 | 65 |
|
67 | 66 | <div class="text-lg text-gray-800 dark:text-gray-300"> |
68 | | - <p class="mb-2">問題は17段階で難易度付けされており、自分の実力に合ったものを探せます。</p> |
69 | | - <p class="mb-16">回答状況は、「AC」「解説AC」「挑戦中」「未挑戦」から選べます。</p> |
| 67 | + <p class="mb-2">例題・類題を通して、各トピックの基礎から応用的な方法まで身につけられます。</p> |
| 68 | + <p class="mb-10 xs:mb-16">回答状況は、「AC」「解説AC」「挑戦中」「未挑戦」から選べます。</p> |
70 | 69 | </div> |
71 | 70 |
|
72 | | - <div class="flex flex-wrap justify-center items-center mb-20"> |
| 71 | + <div class="flex flex-wrap justify-center items-center mb-8 xs:mb-12"> |
73 | 72 | <video |
74 | 73 | width="720" |
75 | | - src="https://github.com/user-attachments/assets/88b19b21-fda3-4337-8266-9243b89e7096" |
| 74 | + src="https://github.com/user-attachments/assets/5d714055-e2fa-47e7-aa50-6e34a977fa58" |
76 | 75 | autoplay |
77 | 76 | muted |
78 | 77 | controls |
|
81 | 80 | </div> |
82 | 81 |
|
83 | 82 | <div class="flex flex-wrap justify-center items-center"> |
84 | | - <Button href="/problems" class="w-full sm:w-5/6 md:w-1/3 m-2">問題一覧へ</Button> |
| 83 | + <Button href={WORKBOOKS_PAGE} class="w-full sm:w-5/6 md:w-1/3 m-2">問題集へ</Button> |
85 | 84 | </div> |
86 | 85 |
|
87 | | - <Heading tag="h2" class="mt-36 mb-3" customSize="text-xl font-medium md:text-2xl lg:text-3xl"> |
88 | | - (開発中) 問題集で得意を伸ばす・苦手を克服 |
| 86 | + <!-- 問題一覧 --> |
| 87 | + <Heading |
| 88 | + tag="h2" |
| 89 | + class="mt-14 xs:mt-20 mb-3" |
| 90 | + customSize="text-xl font-medium md:text-2xl lg:text-3xl" |
| 91 | + > |
| 92 | + 問題の回答状況を自分で記録できる |
89 | 93 | </Heading> |
90 | 94 |
|
91 | 95 | <div class="text-lg text-gray-800 dark:text-gray-300"> |
92 | | - <p class="mb-2">例題・類題を通して、各トピックの基礎から応用的な方法まで身につけられます。</p> |
93 | | - <p class="xs:mb-16">注: 予告なく変更される場合があります。ご了承ください。</p> |
| 96 | + <p class="mb-10 xs:mb-16"> |
| 97 | + 問題は17段階で難易度付けされており、自分の実力に合ったものを探せます。 |
| 98 | + </p> |
94 | 99 | </div> |
95 | 100 |
|
96 | 101 | <div class="m-4"> |
97 | 102 | <Carousel |
98 | 103 | duration={3000} |
99 | | - images={workBookImages} |
| 104 | + images={problemImages} |
100 | 105 | imgClass="object-contain h-full w-fit" |
101 | 106 | let:Controls |
102 | | - class="min-h-[540px]" |
| 107 | + class="min-h-[300px] xs:min-h-[400px] md:min-h-[540px] mb-8 xs:mb-12" |
103 | 108 | > |
104 | 109 | <Controls class="items-center text-primary-700 pt-4" /> |
105 | 110 | </Carousel> |
106 | 111 | </div> |
107 | 112 |
|
108 | | - <p class="xs:mb-16"></p> |
| 113 | + <div class="flex flex-wrap justify-center items-center"> |
| 114 | + <Button href={PROBLEMS_PAGE} class="w-full sm:w-5/6 md:w-1/3 m-2">問題一覧へ</Button> |
| 115 | + </div> |
| 116 | + |
| 117 | + <p class="mb-10 xs:mb-16"></p> |
109 | 118 | </div> |
110 | 119 | </div> |
0 commit comments