Skip to content

Commit d1f20cb

Browse files
authored
Revert "fix: 画像サイズを修正"
1 parent ea27cdd commit d1f20cb

24 files changed

+74
-152
lines changed

apps/web/app/components/AccessPageSection.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ const { color } = useColor()
6363
</div>
6464

6565
<figure class="place_image">
66-
<img src="/access/fig_access01.jpg" alt="" loading="lazy" />
67-
<img src="/access/fig_access02.jpg" alt="" loading="lazy" />
66+
<img src="/access/fig_access01.jpg" alt="" />
67+
<img src="/access/fig_access02.jpg" alt="" />
6868
</figure>
6969

7070
</div>

apps/web/app/components/CooperationPartnerSection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
<source srcset="/logo/logo_vueconf-de.png" media="(min-width: 768px)" />
1111
<img
1212
src="/logo/logo_vueconf-de_sp.png"
13+
loading="lazy"
1314
alt="vuejs.de"
1415
class="partner-image"
15-
loading="lazy"
1616
/>
1717
</picture>
1818
</NuxtLink>

apps/web/app/components/TeamPageSection.vue

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ const props = defineProps<{
1111
1212
const config = useRuntimeConfig()
1313
14-
const coreTeam =
15-
config.public.staffDatasource === 'supabase' ? props.data.coreStaffs.list : teamData
16-
const volunteerTeam =
17-
config.public.staffDatasource === 'supabase'
18-
? props.data.volunteerStaffs.list.map((staff) => staff.name)
19-
: volunteers
14+
const coreTeam = config.public.staffDatasource === 'supabase' ? props.data.coreStaffs.list : teamData
15+
const volunteerTeam = config.public.staffDatasource === 'supabase'
16+
? props.data.volunteerStaffs.list.map((staff) => staff.name)
17+
: volunteers
2018
// const team = teamData
2119
</script>
2220

@@ -34,13 +32,8 @@ const volunteerTeam =
3432
<div class="team-members-container">
3533
<div v-for="member in coreTeam" :key="member.name" class="team-member-wrapper">
3634
<template v-if="member.x_id !== ''">
37-
<a
38-
:href="`https://x.com/${member.x_id}`"
39-
target="_blank"
40-
:aria-label="member.name"
41-
class="team-member-link"
42-
>
43-
<VFAvatar :src="member.image_url" :alt="member.name" size="medium" />
35+
<a :href="`https://x.com/${member.x_id}`" target="_blank" :aria-label="member.name">
36+
<VFAvatar :src="member.image_url" :alt="member.name" />
4437
</a>
4538
<div class="team-member-info">
4639
<VFTextLink
@@ -54,7 +47,7 @@ const volunteerTeam =
5447
</div>
5548
</template>
5649
<template v-else>
57-
<VFAvatar :src="member.image_url" :alt="member.name" size="medium" />
50+
<VFAvatar :src="member.image_url" :alt="member.name" />
5851
<div class="team-member-info">
5952
<span class="team-member-name">{{ member.name }} </span>
6053
</div>
@@ -160,10 +153,6 @@ const volunteerTeam =
160153
gap: 8px;
161154
}
162155
163-
.team-member-link {
164-
width: 100%;
165-
}
166-
167156
.team-member-name {
168157
--team-member-name-font-size: 0.875rem;
169158

apps/web/app/components/TopPageSection.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ const getAnchorPath = computed(
2121
<p class="place">
2222
Otemachi PLACE HALL &amp; CONFERENCE
2323
<br /><time datetime="2024-10-19T00:00+09:00"
24-
>{{ $t('top_page.date')
25-
}}<template v-if="locale === 'ja'"><span class="day-of-week">SAT</span></template></time
24+
>{{ $t('top_page.date') }}<template v-if="locale === 'ja'"><span class="day-of-week">SAT</span></template></time
2625
>
2726
</p>
2827
</div>
@@ -81,12 +80,11 @@ const getAnchorPath = computed(
8180
z-index: -1;
8281
width: 100%;
8382
}
84-
8583
.image-wrapper {
8684
position: relative;
8785
width: 100%;
8886
height: var(--background-image-height);
89-
background-image: url('/main-visual.jpg');
87+
background-image: url('/main-visual.png');
9088
background-size: cover;
9189
background-repeat: no-repeat;
9290
background-position: top;
@@ -151,8 +149,8 @@ const getAnchorPath = computed(
151149
}
152150
.image-wrapper {
153151
background-size: auto 100%;
154-
background-image: url('/main-visual-mobile.jpg');
155152
}
153+
156154
.section-title {
157155
font-size: var(--font-size-heading500);
158156
font-weight: 700;

apps/web/app/components/event/EventAsset.vue

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,15 @@
22
import type { Event } from '@vuejs-jp/model'
33
44
interface EventAssetProps {
5-
title: Extract<
6-
Event,
7-
'creative-wall' | 'free-drinks-and-snacks' | 'tattoo-space' | 'cocktail-bash'
8-
>
5+
title: Extract<Event, 'creative-wall' | 'free-drinks-and-snacks' | 'tattoo-space' | 'cocktail-bash'>
96
marginTop?: number
107
}
118
129
const props = defineProps<EventAssetProps>()
1310
</script>
1411

1512
<template>
16-
<NuxtImg
17-
:src="`/event/${title}.png`"
18-
alt=""
19-
class="eventcard-image"
20-
:style="{ marginTop: `${marginTop}px` }"
21-
loading="lazy"
22-
/>
13+
<img :src="`/event/${title}.png`" alt="" class="eventcard-image" :style="{ marginTop: `${marginTop}px` }" />
2314
</template>
2415

2516
<style scoped>

apps/web/app/components/event/EventCard.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const props = defineProps<EventCardProps>()
1717
:title="$t(`event.${title.replaceAll('-', '_')}`)"
1818
:font-class
1919
:padding-class
20-
class="frame"
2120
>
2221
<template #content>
2322
<div class="eventcard-content">
@@ -35,13 +34,6 @@ const props = defineProps<EventCardProps>()
3534
<style scoped>
3635
@import url('~/assets/media.css');
3736
38-
.frame {
39-
display: flex;
40-
flex-direction: column;
41-
align-items: space-between;
42-
justify-content: space-between;
43-
}
44-
4537
.eventcard-content {
4638
font-size: 16px;
4739
font-weight: 500;

apps/web/app/components/event/EventMultipleAssets.vue

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,7 @@ const props = defineProps<EventMultipleAssetsProps>()
1616
'--head-img-height': `${imgHeight}px`,
1717
}"
1818
>
19-
<NuxtImg
20-
v-for="(title, key) in titleList"
21-
:key
22-
:src="`/event/${title}-${key + 1}.png`"
23-
alt=""
24-
width="792"
25-
height="512"
26-
fit="cover"
27-
loading="lazy"
28-
class="image"
29-
/>
19+
<img v-for="(title, key) in titleList" :key :src="`/event/${title}-${key + 1}.png`" alt="" />
3020
</div>
3121
</template>
3222

@@ -44,10 +34,9 @@ const props = defineProps<EventMultipleAssetsProps>()
4434
}
4535
}
4636
47-
.image {
48-
height: var(--head-img-height);
49-
width: auto;
37+
.eventcard-images ::v-deep(img) {
5038
padding: 0;
5139
margin: 0 auto;
40+
height: var(--head-img-height);
5241
}
5342
</style>

apps/web/app/components/sponsor/SponsorList.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@ const currentLocale = useLocaleCurrent().locale
2222
class="sponsor-list-item-link"
2323
:to="`${currentLocale === 'ja' ? '/' : `/${currentLocale}/`}sponsors/${item['detail_page_id']}`"
2424
>
25-
<NuxtImg
26-
class="sponsor-list-item-image"
27-
:src="item['image_url']"
28-
:alt="item.name"
29-
loading="lazy"
30-
/>
25+
<img class="sponsor-list-item-image" :src="item['image_url']" :alt="item.name" />
3126
</NuxtLink>
3227
</li>
3328
</ul>

apps/web/app/components/ticket/NamecardSection.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,7 @@ const { locale: currentLocale } = useLocaleCurrent()
2424
</div>
2525

2626
<div class="content-wrapper">
27-
<NuxtImg
28-
:src="'/namecard/namecard-samples.png'"
29-
alt="test"
30-
width="596"
31-
loading="lazy"
32-
/>
27+
<img :src="'/namecard/namecard-samples.png'" alt="test" />
3328
<div class="buttons-wrapper">
3429
<VFLinkButton
3530
class="action-button"

apps/web/app/components/ticket/PersonalSponsorSection.vue

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import { ticketUrl } from '~/utils/constants'
1414
:key="i"
1515
:title="$t(`personal_sponsor.merit${i}.title`)"
1616
:detail="$t(`personal_sponsor.merit${i}.detail`)"
17-
:caution="i === 2 || i === 4 ? $t(`personal_sponsor.merit${i}.caution`) : ''"
17+
:caution="(i === 2 || i === 4) ? $t(`personal_sponsor.merit${i}.caution`) : ''"
1818
>
19-
<NuxtImg alt="" :src="`/sponsor/merit-${i}.jpg`" loading="lazy" class="image" />
19+
<img alt="" :src="`/sponsor/merit-${i}.jpg`" />
2020
</VFMeritCard>
2121
</div>
2222
<div class="personal-sponsor-text">
@@ -89,12 +89,6 @@ import { ticketUrl } from '~/utils/constants'
8989
color: var(--color-white);
9090
}
9191
92-
.image {
93-
width: 100%;
94-
height: 100%;
95-
object-fit: cover;
96-
}
97-
9892
.apply {
9993
display: flex;
10094
flex-direction: column;
@@ -115,8 +109,7 @@ import { ticketUrl } from '~/utils/constants'
115109
116110
@media (--tablet) {
117111
.personal-sponsor-body {
118-
--personal-sponsor-body-padding: calc(var(--unit) * 4) calc(var(--unit) * 2)
119-
calc(var(--unit) * 4);
112+
--personal-sponsor-body-padding: calc(var(--unit) * 4) calc(var(--unit) * 2) calc(var(--unit) * 4);
120113
}
121114
122115
.personal-sponsor-body h3 {

0 commit comments

Comments
 (0)