Skip to content

Commit

Permalink
Merge pull request #313 from vuejs-jp/enhance/volunteer
Browse files Browse the repository at this point in the history
update volunteer
  • Loading branch information
jiyuujin authored Aug 19, 2024
2 parents 168a4d8 + 38db363 commit e8f45a9
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 5 deletions.
38 changes: 35 additions & 3 deletions apps/web/app/components/TeamPageSection.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { team as teamData } from '~/utils/constants'
import { team as teamData, volunteers } from '~/utils/constants'
// import type { StaffInfo } from '@vuejs-jp/model'
// import { useFetch, useRuntimeConfig } from '#imports'
Expand Down Expand Up @@ -52,6 +52,16 @@ const team = teamData
</div>
</div>
</article>

<article class="volunteer-section-body">
<VFTitle id="volunteer" class="volunteer-title">
{{ $t('team.volunteer_title') }}
</VFTitle>

<div class="volunteer-members-container">
<VFCreditList :list="volunteers" />
</div>
</article>
</section>
</template>

Expand Down Expand Up @@ -86,12 +96,24 @@ const team = teamData
}
}
.title {
.title,
.volunteer-title {
text-align: center;
line-height: 1.2;
}
.team-section-body {
.volunteer-section-body {
max-width: 988px;
margin: 0 auto;
padding-top: calc(var(--unit) * 10);
@media (--mobile) {
padding-top: calc(var(--unit) * 5);
}
}
.team-section-body,
.volunteer-section-body {
display: flex;
flex-direction: column;
gap: 40px;
Expand Down Expand Up @@ -135,6 +157,12 @@ const team = teamData
text-decoration: none;
}
.volunteer-members-container {
--team-section-text-padding: 0 calc(var(--unit) * 10 + 6%);
padding: var(--team-section-text-padding);
}
@media (--tablet) {
.team-section-body {
--team-section-body-padding: calc(var(--unit) * 4) 4.5% calc(var(--unit) * 6);
Expand All @@ -159,5 +187,9 @@ const team = teamData
.team-member-name {
--team-member-name-font-size: 0.75rem;
}
.volunteer-members-container {
--team-section-text-padding: 0 4.5%;
}
}
</style>
3 changes: 2 additions & 1 deletion apps/web/app/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@
"title": "JOB BOARD"
},
"team": {
"title": "Team"
"title": "Team",
"volunteer_title": "Volunteer Staff"
},
"message": {
"title": "Message"
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 @@ -227,7 +227,8 @@
"title": "ジョブボード"
},
"team": {
"title": "チーム"
"title": "チーム",
"volunteer_title": "ボランティアスタッフ"
},
"message": {
"title": "メッセージ"
Expand Down
41 changes: 41 additions & 0 deletions apps/web/app/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,3 +335,44 @@ export const team = [
x_id: 'yamageji',
},
]

export const volunteers = [
'市村悠馬',
'ナイトウ',
'ponyoxa',
'Hikaru Kobayashi',
'kokoe',
'ねぎなす',
'Aose Yuu',
'南風原香奈',
'飯塚 正',
'n.morishita',
'yukimina',
'hiro',
'yoji',
'光永',
'Keichange',
'Natsuki',
'Ben',
'土屋良太',
'tatsugooon',
'Thiha Htun Naing',
'Uniboost CEO Nozomi.Okamoto',
'Shun Nakano',
'福田侑汰',
'kanno',
'とっきー(@tockii_)',
'長田崇史',
'magcho',
'古市勝寛',
'金山佳毅',
'Kento Urawa',
'iyuta1124',
'森田崇伸',
'厳旭YAN,Xu',
'たっしー',
'守屋 光晟',
'原 楓果',
'LuckyWind',
'まぁし',
]

0 comments on commit e8f45a9

Please sign in to comment.