Skip to content

Commit a2009b5

Browse files
authored
Merge pull request #315 from vuejs-jp/develop
release
2 parents 110f373 + f88e45e commit a2009b5

File tree

6 files changed

+78
-26
lines changed

6 files changed

+78
-26
lines changed

app/components/IchimatsuDividedBar.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { CustomPropType } from '~/types/shims-vue'
33
44
const props = defineProps({
55
color: {
6-
type: String as CustomPropType<'white' | 'vue-blue' | 'hiwamoegi' | 'silver-tree' | 'sangosyu' | 'tohoh' | 'asagi' | 'timetable' | 'typescript-blue'>,
6+
type: String as CustomPropType<'white' | 'vue-blue' | 'hiwamoegi' | 'silver-tree' | 'sangosyu' | 'tohoh' | 'asagi' | 'timetable' | 'typescript-blue' | 'white-green'>,
77
required: true,
88
},
99
})
@@ -28,6 +28,8 @@ const colorClass = computed(() => {
2828
return 'bg-ichimatsu-timetable'
2929
case 'typescript-blue':
3030
return 'bg-ichimatsu-typescript-blue'
31+
case 'white-green':
32+
return 'bg-ichimatsu-white-green'
3133
default:
3234
return 'bg-ichimatsu-white'
3335
}

app/components/TopPageSection.vue

Lines changed: 36 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,46 @@
11
<template>
22
<section class="pb-7">
3-
<div class="relative pb-[18vw] mx-auto max-w-[1920px] md:pb-[15vw] lg:pb-[11vw]">
3+
<div class="relative mx-auto max-w-[1920px]">
44
<div class="px-5">
55
<div
66
class="aspect-[648/384] mx-auto mb-[6.23vw] max-w-[1176px] md:aspect-[780/384] lg:aspect-[1176/384] lg:mb-9"
77
>
88
<top-animation />
99
</div>
10-
<h1
11-
class="mb-[2.6vw] text-[7.01vw] font-extrabold leading-none text-center text-vue-blue lg:mb-2.5 lg:text-[4.0625rem]"
12-
>
13-
{{ conferenceTitle }}
14-
</h1>
15-
<p
16-
class="mb-[6.49vw] text-[3.9vw] text-center text-vue-blue lg:mb-[3.125rem] lg:text-[2.5rem]"
17-
>
18-
{{ eventDate }}
10+
<div class="flex flex-wrap gap-x-8 gap-y-2.5 justify-center items-baseline mb-8 md:mb-16">
11+
<h1
12+
class="text-[7.01vw] font-extrabold leading-none text-center text-vue-blue lg:text-[4.0625rem]"
13+
>
14+
{{ conferenceTitle }}
15+
</h1>
16+
<p
17+
class="text-[3.9vw] text-center text-vue-blue lg:text-[2.5rem]"
18+
>
19+
{{ eventDate }}
20+
</p>
21+
</div>
22+
<p class="text-[5.7vw] font-bold text-center text-vue-blue md:text-[2.5rem]">
23+
{{ streamingNow }}
1924
</p>
20-
<div class="text-right md:text-center">
25+
<div class="flex flex-wrap gap-x-[3.125rem] gap-y-4 justify-center mt-4 mb-12 md:gap-y-7 lg:gap-y-7 lg:mt-6">
26+
<a
27+
v-for="track in tracks"
28+
:key="track.id"
29+
:href="track.url"
30+
target="_blank"
31+
rel="noopener"
32+
class="hover:opacity-80 transition-opacity"
33+
>
34+
<div
35+
class="flex flex-col justify-center w-[67vw] max-w-[30rem] h-16 font-bold rounded-full shadow-card md:w-[30rem] md:h-[6.75rem] lg:w-[30rem] lg:h-[6.75rem]"
36+
:class="track.bgClass"
37+
>
38+
<p class="text-base font-bold text-center text-white md:text-2xl lg:text-2xl">{{ track.name }}</p>
39+
<p class="text-sm font-normal text-center text-white md:text-xl lg:text-xl">{{ track.hashTag }}</p>
40+
</div>
41+
</a>
42+
</div>
43+
<div class="text-right lg:mb-4">
2144
<TweetButtonField
2245
:title-label="tweetLabel"
2346
@on-click="tweet"
@@ -34,7 +57,7 @@
3457
media="(min-width: 771px)"
3558
>
3659
<img
37-
class="absolute bottom-0 left-1/2 -z-10 -translate-x-1/2"
60+
class="absolute bottom-0 left-1/2 -z-10 opacity-40 -translate-x-1/2"
3861
src="/img/wave_sm.png"
3962
alt=""
4063
>
@@ -45,7 +68,7 @@
4568

4669
<script setup lang="ts">
4770
import TweetButtonField from '~/components/forms/customize/TweetButtonField.vue'
48-
import { conferenceTitle, eventDate, tweetLabel, tweetUrl } from '~/utils/constants'
71+
import { conferenceTitle, eventDate, streamingNow, tracks, tweetLabel, tweetUrl } from '~/utils/constants'
4972
import TopAnimation from '~/components/TopAnimation.vue'
5073
5174
const tweet = () => {

app/components/forms/customize/TweetButtonField.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const handleClick = () => {
2121
<template>
2222
<button
2323
type="submit"
24-
class="w-[56.62vw] h-[9.48vw] text-[3.38vw] text-center text-vue-blue bg-transparent rounded-4xl border border-vue-blue hover:opacity-60 transition-opacity md:w-[48.98vw] md:h-[6.43vw] md:text-[2.45vw] lg:w-[26.875rem] lg:h-[3.9375rem] lg:text-[1.5rem]"
24+
class="w-[56.62vw] h-[9.48vw] text-[3.38vw] text-center text-vue-blue bg-white rounded-4xl border border-vue-blue hover:opacity-60 transition-opacity md:w-[48.98vw] md:h-[6.43vw] md:text-[2.45vw] lg:w-[26.875rem] lg:h-[3.9375rem] lg:text-[1.5rem]"
2525
@click="handleClick"
2626
>
2727
<div class="flex justify-center items-center align-middle">

app/pages/index.vue

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,26 @@ useNuxt2Meta({
2929
<div>
3030
<nav-page-section />
3131
<top-page-section />
32-
<ichimatsu-divided-bar color="white" />
33-
<message-page-section />
34-
<ichimatsu-divided-bar color="white" />
35-
<speaker-page-section />
3632
<template v-if="SHOW_TIMETABLE">
3733
<ichimatsu-divided-bar color="timetable" />
3834
<timetable-page-section />
3935
</template>
36+
<speaker-page-section />
4037
<ichimatsu-divided-bar color="typescript-blue" />
4138
<events-page-section />
42-
<template v-if="SHOW_TICKET">
43-
<ichimatsu-divided-bar color="tohoh" />
44-
<ticket-page-section />
45-
</template>
4639
<template v-if="SHOW_STORE">
4740
<ichimatsu-divided-bar color="asagi" />
4841
<store-page-section />
4942
</template>
43+
<template v-if="SHOW_TICKET">
44+
<ichimatsu-divided-bar color="tohoh" />
45+
<ticket-page-section />
46+
</template>
5047
<ichimatsu-divided-bar color="hiwamoegi" />
5148
<sponsors-page-section />
52-
<ichimatsu-divided-bar color="silver-tree" />
49+
<ichimatsu-divided-bar color="white-green" />
50+
<message-page-section />
51+
<ichimatsu-divided-bar color="white" />
5352
<form-page-section />
5453
<template v-if="SHOW_TEAM">
5554
<ichimatsu-divided-bar color="sangosyu" />

app/utils/constants.ts

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,32 @@ export const vuefesTwitterID = '@vuefes'
1818

1919
export const eventDate = '2022.10.16 SUN'
2020

21+
export const streamingNow = '\YouTube Live配信予定!/'
22+
23+
export const tracks = [
24+
{
25+
id: 1,
26+
name: 'メドピアトラック',
27+
hashTag: '#vuefes_medpeer',
28+
url: 'https://www.youtube.com/watch?v=HsBTx36c_kA',
29+
bgClass: 'bg-track-a'
30+
},
31+
{
32+
id: 2,
33+
name: 'FUTURE トラック',
34+
hashTag: '#vuefes_future',
35+
url: 'https://www.youtube.com/watch?v=dtD4p89ogKM',
36+
bgClass: 'bg-track-b'
37+
},
38+
{
39+
id: 3,
40+
name: 'クラウドサイントラック',
41+
hashTag: '#vuefes_cloudsign',
42+
url: 'https://www.youtube.com/watch?v=eOJZ_3W4kaQ',
43+
bgClass: 'bg-track-c'
44+
}
45+
]
46+
2147
export const message1 =
2248
'Vue Fes Japan は 2018 年に誕生した日本最大級の Vue.js カンファレンスです。文字通り Fes = お祭りのように Vue.js を共に盛り上げ、共に学び、そしてなによりも共に楽しむために誕生しました。'
2349

@@ -198,11 +224,11 @@ export const websiteLinks = [
198224
]
199225

200226
export const menuLinks = [
201-
{ displayName: 'Speakers', uri: '#speakers' },
202227
{ displayName: 'TimeTable', uri: '#timetable' },
228+
{ displayName: 'Speakers', uri: '#speakers' },
203229
{ displayName: 'Events', uri: '#events' },
204-
{ displayName: 'Ticket', uri: '#ticket' },
205230
{ displayName: 'Store', uri: '#store' },
231+
{ displayName: 'Ticket', uri: '#ticket' },
206232
{ displayName: 'Sponsors', uri: '#sponsors' },
207233
{ displayName: 'Contact', uri: '#form' },
208234
{ displayName: 'Team', uri: '#team' },

tailwind.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ module.exports = {
103103
'linear-gradient(45deg, #33A6B8 25%, transparent 25%, transparent 75%, #33A6B8 75%), linear-gradient(45deg, #33A6B8 25%, transparent 25%, transparent 75%, #33A6B8 75%)',
104104
'ichimatsu-typescript-blue':
105105
'linear-gradient(45deg, #4374AA 25%, transparent 25%, transparent 75%, #4374AA 75%), linear-gradient(45deg, #4374AA 25%, transparent 25%, transparent 75%, #4374AA 75%)',
106+
'ichimatsu-white-green':
107+
'linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%), linear-gradient(45deg, #fff 25%, #5ab088 25%, #5ab088 75%, #fff 75%)',
106108
sponsors: 'linear-gradient(180deg, #90b44b 0%, #5ab088 100%)',
107109
events: 'linear-gradient(180deg, #4374AA 0%, rgba(255, 255, 255, 0) 100%)',
108110
store: 'linear-gradient(180deg, #33A6B8 0%, rgba(255, 255, 255, 0) 100%)',

0 commit comments

Comments
 (0)