Skip to content

Commit

Permalink
update archive
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyuujin committed Oct 20, 2024
1 parent 4ae3b1d commit 9b659d3
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/web/app/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"end_hour": "12",
"end_minute": "00",
"end_ampm": "pm",
"lt_description": "A 5-minute lightning talk! As a special feature of this event, we will be distributing glow sticks to all participants. When you feel a \"thumbs up!\" moment, resonate with the content, or gain new insights during the LT, please wave your glow stick in response! Let's all create an exciting atmosphere for the LT together!"
"lt_description": "A 5-minute lightning talk! As a special feature of this event, we will be distributing glow sticks to all participants. When you feel a \"thumbs up!\" moment, resonate with the content, or gain new insights during the LT, please wave your glow stick in response! Let's all create an exciting atmosphere for the LT together!",
"archive_slide": "Archive Slide:"
},
"event": {
"title": "Event",
Expand Down
3 changes: 2 additions & 1 deletion apps/web/app/lang/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"end_date": "7.21",
"end_hour": "24",
"end_minute": "00",
"lt_description": "制限時間5分のライトニングトーク! 今回の特別企画として、参加者全員にサイリウムをお配りします。LTの内容に「いいね!」と思ったときや、共感したり、新たな気づきを得たりしたときに、サイリウムを振ってリアクションをお願いします! みなさんでLTを盛り上げていきましょう!"
"lt_description": "制限時間5分のライトニングトーク! 今回の特別企画として、参加者全員にサイリウムをお配りします。LTの内容に「いいね!」と思ったときや、共感したり、新たな気づきを得たりしたときに、サイリウムを振ってリアクションをお願いします! みなさんでLTを盛り上げていきましょう!",
"archive_slide": "登壇スライド:"
},
"volunteer": {
"title": "当日ボランティア募集",
Expand Down
37 changes: 37 additions & 0 deletions apps/web/app/pages/sessions/[id]/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ useHead({
{{ currentLocale === 'ja' ? (speakerData[0].session_description_ja ?? 'TBD') : (speakerData[0].session_description_en ?? 'TBD') }}
</div>

<div v-if="speakerData[0].session_doc_url" class="detailbody-archives">
<span>{{ $t('speaker.archive_slide') }}</span>
<VFTextLink
:href="speakerData[0].session_doc_url"
target="_blank"
color="vue-blue"
class="detailbody-archive-slide"
>
{{ currentLocale === 'ja' ? speakerData[0].session_doc_title_ja : speakerData[0].session_doc_title_en }}
</VFTextLink>
</div>

<div class="detailbody-persons">
<VFSpeaker
:image="speakerData[0].image_url"
Expand Down Expand Up @@ -199,6 +211,31 @@ useHead({
transition: 0.2s;
}
.detailbody-archives {
margin-top: calc(var(--unit) * 5);
display: flex;
align-items: center;
justify-content: flex-start;
gap: calc(var(--unit) * 1.5);
@media (--tablet) {
flex-direction: column;
align-items: flex-start;
gap: 0;
}
}
.detailbody-archives span {
color: var(--color-vue-blue);
}
.detailbody-archive-slide {
--body-font-size: 1.125rem;
font-size: var(--body-font-size);
line-height: 1.8;
white-space: pre-wrap;
}
.detailbody-persons {
font-size: 18px;
display: grid;
Expand Down

0 comments on commit 9b659d3

Please sign in to comment.