Skip to content

Commit bc0e72b

Browse files
committed
style(pc): apply styles to the implementation page
1 parent 425d45f commit bc0e72b

File tree

6 files changed

+84
-17
lines changed

6 files changed

+84
-17
lines changed
Lines changed: 69 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,93 @@
11
<script setup lang="ts">
22
import { useI18n } from '#i18n'
3+
import { useColor, useTypography } from '@vuejs-jp/composable'
34
import MarkDownText from '~/components/MarkDownText.vue'
45
import SvgProcessDown from '~/public/namecard/process-down.svg?component'
56
67
const { t } = useI18n()
8+
const { fontWeight, fontSize } = useTypography()
9+
const { color } = useColor()
710
</script>
811
<template>
9-
<div>
10-
<h2>{{ t('namecard.creation-process.title') }}</h2>
11-
<ol>
12+
<div class="creation-process-root">
13+
<h2
14+
:style="{
15+
fontWeight: fontWeight('heading/700'),
16+
fontSize: fontSize('heading/300'),
17+
color: color('vue-blue'),
18+
}"
19+
class="title"
20+
>
21+
{{ t('namecard.creation-process.title') }}
22+
</h2>
23+
<ol
24+
:style="{
25+
fontWeight: fontWeight('body/400'),
26+
fontSize: fontSize('body/400'),
27+
color: color('vue-blue'),
28+
}"
29+
class="process-list"
30+
>
1231
<li>
1332
<MarkDownText path="namecard_process_1" />
14-
<SvgProcessDown />
33+
<SvgProcessDown class="down-icon" />
1534
</li>
1635
<li>
1736
<MarkDownText path="namecard_process_2" />
18-
<SvgProcessDown />
37+
<SvgProcessDown class="down-icon" />
1938
</li>
2039
<li>
2140
<MarkDownText path="namecard_process_3" />
22-
<SvgProcessDown />
41+
<SvgProcessDown class="down-icon" />
2342
</li>
2443
<li>
2544
<MarkDownText path="namecard_process_4" />
2645
</li>
2746
</ol>
28-
<MarkDownText path="namecard_process_alert" />
47+
<div
48+
:style="{
49+
color: color('vue-blue'),
50+
}"
51+
class="process-alert"
52+
>
53+
<MarkDownText path="namecard_process_alert" />
54+
</div>
2955
</div>
3056
</template>
31-
<style scoped></style>
57+
<style scoped>
58+
@import url('~/assets/media.css');
59+
60+
.creation-process-root {
61+
padding: calc(var(--unit) * 3) calc(var(--unit) * 4);
62+
background-color: #e7eff7;
63+
line-height: 1.8;
64+
}
65+
.title {
66+
margin-bottom: calc(var(--unit) * 3);
67+
text-align: center;
68+
}
69+
.process-list {
70+
padding: 0;
71+
& :deep(p) {
72+
margin-bottom: calc(var(--unit) * 2);
73+
}
74+
& :deep(a) {
75+
color: inherit;
76+
}
77+
}
78+
.process-alert {
79+
& :deep(h3) {
80+
font-size: 1.125rem;
81+
font-weight: 500;
82+
}
83+
& :deep(a) {
84+
color: inherit;
85+
}
86+
}
87+
.down-icon {
88+
display: flex;
89+
justify-content: center;
90+
margin: 0 auto calc(var(--unit) * 2.5);
91+
}
92+
</style>
3293
`
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
① 事前に[Vue Fes Japan 2024のチケット](./#ticket)をご購入ください。
1+
① Please purchase [a ticket for Vue Fes Japan 2024](./#ticket) in advance.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
① Please purchase [a ticket for Vue Fes Japan 2024](./#ticket) in advance.
1+
① 事前に[Vue Fes Japan 2024のチケット](./#ticket)をご購入ください。
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
### 【ご注意】
22

3-
- 当日印刷されたネームカードをお受け取りいただくには、ステータスが「完成」になっている必要があります。
4-
- 注文番号の照合は自動で行われ、入力後最大12時間ほどで完了します。
5-
- 最新のステータスを表示するには画面の再読み込みが必要です。
6-
- 注文番号の照合が完了すると、ステータスが「完成」になります。ステータスが「注文番号照合失敗」のまま数日経っても変化しない場合、[お問い合わせフォーム](./#form)よりお問い合わせください。
7-
- 編集期限までは再編集が可能です。
3+
・当日印刷されたネームカードをお受け取りいただくには、ステータスが「完成」になっている必要があります。
4+
5+
・注文番号の照合は自動で行われ、入力後最大12時間ほどで完了します。
6+
7+
・最新のステータスを表示するには画面の再読み込みが必要です。
8+
9+
・注文番号の照合が完了すると、ステータスが「完成」になります。ステータスが「注文番号照合失敗」のまま数日経っても変化しない場合、[お問い合わせフォーム](./#form)よりお問い合わせください。
10+
11+
・編集期限までは再編集が可能です。

apps/web/app/layouts/namecard-base.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ const { color } = useColor()
2828
2929
.namecard-base-layout {
3030
--header-height: calc(var(--unit) * 10);
31-
padding-top: calc(var(--header-height) + var(--unit) * 15);
31+
--content-padding: calc(var(--unit) * 15);
32+
padding-top: calc(var(--header-height) + var(--content-padding));
33+
padding-bottom: var(--content-padding);
3234
max-width: 769px;
3335
margin: 0 auto;
3436
}

apps/web/app/pages/namecard/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function handleSignIn(provider: Extract<AuthProvider, 'github' | 'google'>) {
8585
display: flex;
8686
justify-content: center;
8787
align-items: center;
88-
width: 198px;
88+
width: 238px;
8989
height: 66px;
9090
margin: 0 auto calc(var(--unit) * 5);
9191
}

0 commit comments

Comments
 (0)