Skip to content

Commit 99f7b91

Browse files
authored
Merge pull request #202 from vuejs-jp/enhance/brushup
brushup
2 parents 376b652 + be46da4 commit 99f7b91

File tree

9 files changed

+69
-16
lines changed

9 files changed

+69
-16
lines changed

apps/web/app/components/GlobalHeader.vue

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,22 @@ const toggleMenu = () => {
3232
<template>
3333
<VFSpHeader v-if="width <= 1080">
3434
<div class="navigation-mobile">
35-
<NuxtLink v-if="config.public.enableSwitchLocale" :to="switchLocalePath(locale === 'ja' ? 'en' : 'ja')"
35+
<NuxtLink
36+
v-if="config.public.enableSwitchLocale"
37+
:to="switchLocalePath(locale === 'ja' ? 'en' : 'ja')"
3638
class="locale-switch-wrapper">
3739
<VFLocaleSwitch :locale />
3840
</NuxtLink>
3941

40-
<a href="" class="navigation-mobile-toggle" name="Menu" :class="{ 'isOpened': showMenu }"
41-
@click.prevent="toggleMenu"><span /><span /><span /></a>
42+
<a
43+
href=""
44+
class="navigation-mobile-toggle"
45+
name="Menu"
46+
:class="{ 'isOpened': showMenu }"
47+
@click.prevent="toggleMenu"
48+
>
49+
<span /><span /><span />
50+
</a>
4251
<!-- <VFIcon name="Menu" color="vue-blue" can-hover @click="toggleMenu" /> -->
4352
</div>
4453
<!-- hamburger-menu -->
@@ -63,8 +72,11 @@ const toggleMenu = () => {
6372
<VFTypography variant="heading/200" color="vue-blue">{{ link.text }}</VFTypography>
6473
</nuxt-link>
6574
</div>
66-
<NuxtLink v-if="config.public.enableSwitchLocale" :to="switchLocalePath(locale === 'ja' ? 'en' : 'ja')"
67-
class="locale-switch-wrapper">
75+
<NuxtLink
76+
v-if="config.public.enableSwitchLocale"
77+
:to="switchLocalePath(locale === 'ja' ? 'en' : 'ja')"
78+
class="locale-switch-wrapper"
79+
>
6880
<VFLocaleSwitch :locale />
6981
</NuxtLink>
7082
</div>

apps/web/app/composables/useSponsor.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,13 @@ export function useSponsor() {
2323
.exhaustive()
2424
}
2525

26-
return { color }
26+
function borderColor(tag: string[]) {
27+
if (tag.includes('platinum')) return '#6E8F2E'
28+
if (tag.includes('gold')) return '#E5AF00'
29+
if (tag.includes('silver')) return '#1A8191'
30+
if (tag.includes('bronze')) return '#CC4F39'
31+
return '#35495E'
32+
}
33+
34+
return { color, borderColor }
2735
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Vue Fes Japan 2024のチケットをご購入後、必要な情報をご登録いただくと、当日会場にてご自身のアバター+名前入りのネームカードがもらえます!(要ソーシャルログイン)
1+
Vue Fes Japan 2024 のチケットをご購入後、必要な情報をご登録いただくと、当日会場にてご自身のアバター+名前入りのネームカードがもらえます!(要ソーシャルログイン)
22

33
※ネームカード作成は必須ではありません。
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
④ 開催前はネームカードをSNSやブログなどにシェアして、当日は印刷されたネームカードをお楽しみください!
1+
④ 開催前はネームカードを SNS やブログなどにシェアして、当日は印刷されたネームカードをお楽しみください!

apps/web/app/content/ja/namecard_process_alert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
・当日印刷されたネームカードをお受け取りいただくには、ステータスが「完成」になっている必要があります。
44

5-
・注文番号の照合は自動で行われ、入力後最大12時間ほどで完了します
5+
・注文番号の照合は自動で行われ、入力後最大 12 時間ほどで完了します
66

77
・最新のステータスを表示するには画面の再読み込みが必要です。
88

apps/web/app/content/ja/store_preorder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ STORES で事前にご注文いただくと、当日 Vue Fes Japan 2024 の会
55
<br>
66
事前注文受付期間:~ 2024 年 10 月 1 日(日)
77

8-
受取日時:2023 年 10 月 19 日(土)9:30〜18:00
8+
受取日時:2024 年 10 月 19 日(土)9:30〜18:00
99

1010
受取場所:Vue Fes Japan 2024 会場内 Vue Fes Store ブース
1111

apps/web/app/pages/sessions/[id]/index.vue

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,24 @@ useHead({
139139
}
140140
141141
.detailbody-explain {
142-
/* margin: 0 auto calc(var(--unit) * 8); */
142+
--body-font-size: 1.125rem;
143+
--body-font-weight: 500;
144+
145+
font-size: var(--body-font-size);
146+
font-weight: var(--body-font-weight);
147+
white-space: pre-wrap;
148+
149+
::v-deep(p) {
150+
--body-p-margin-bottom: calc(var(--unit) * 4);
151+
152+
margin-bottom: var(--body-p-margin-bottom);
153+
line-height: 1.8;
154+
}
155+
156+
::v-deep(p:last-child) {
157+
text-align: right;
158+
margin-bottom: 0px;
159+
}
143160
}
144161
145162
.detailbody-explain ul {

apps/web/app/pages/sponsors/[id]/index.vue

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const { data: speakers } = await useAsyncData('speakers', async () => {
2929
const speakerData = speakers.value?.data as Speaker[]
3030
3131
const currentLocale = useLocaleCurrent().locale
32-
const { color } = useSponsor()
32+
const { color, borderColor } = useSponsor()
3333
3434
useHead({
3535
titleTemplate: (titleChunk) => `${sponsorData[0].name} | ${conferenceTitle}`,
@@ -60,7 +60,7 @@ useHead({
6060

6161
<div class="detailhead-body">
6262
<div class="detailhead-left">
63-
<p class="detailhead-img">
63+
<p class="detailhead-img" :style="{ border: `1px solid ${borderColor(sponsorData[0].tag)}` }">
6464
<img
6565
:src="`${sponsorData[0].image_url}`"
6666
:alt="sponsorData[0].name"
@@ -191,7 +191,24 @@ useHead({
191191
}
192192
193193
.detailhead-right {
194-
font-size: 18px;
194+
--body-font-size: 1.125rem;
195+
--body-font-weight: 500;
196+
197+
font-size: var(--body-font-size);
198+
font-weight: var(--body-font-weight);
199+
white-space: pre-wrap;
200+
201+
::v-deep(p) {
202+
--body-p-margin-bottom: calc(var(--unit) * 4);
203+
204+
margin-bottom: var(--body-p-margin-bottom);
205+
line-height: 1.8;
206+
}
207+
208+
::v-deep(p:last-child) {
209+
text-align: right;
210+
margin-bottom: 0px;
211+
}
195212
}
196213
197214
.detailhead-right ::v-deep(a) {
@@ -209,8 +226,7 @@ useHead({
209226
width: var(--head-img-width);
210227
height: auto;
211228
aspect-ratio: 690 / 388;
212-
box-shadow: 0px 4px 4px 0px #00000040;
213-
border-radius: calc(var(--space-8) * 1);
229+
border-radius: calc(var(--unit) * 1.5);
214230
}
215231
216232
.detailhead-img img {

0 commit comments

Comments
 (0)