File tree Expand file tree Collapse file tree 12 files changed +38
-14
lines changed Expand file tree Collapse file tree 12 files changed +38
-14
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ const { color } = useColor()
63
63
</div >
64
64
65
65
<figure class =" place_image" >
66
- <img src =" /access/fig_access01.jpg" alt =" " />
67
- <img src =" /access/fig_access02.jpg" alt =" " />
66
+ <img src =" /access/fig_access01.jpg" alt =" " loading = " lazy " />
67
+ <img src =" /access/fig_access02.jpg" alt =" " loading = " lazy " />
68
68
</figure >
69
69
70
70
</div >
Original file line number Diff line number Diff line change 10
10
<source srcset =" /logo/logo_vueconf-de.png" media =" (min-width: 768px)" />
11
11
<img
12
12
src =" /logo/logo_vueconf-de_sp.png"
13
- loading =" lazy"
14
13
alt =" vuejs.de"
15
14
class =" partner-image"
15
+ loading =" lazy"
16
16
/>
17
17
</picture >
18
18
</NuxtLink >
Original file line number Diff line number Diff line change @@ -10,7 +10,13 @@ const props = defineProps<EventAssetProps>()
10
10
</script >
11
11
12
12
<template >
13
- <img :src =" `/event/${title}.png`" alt =" " class =" eventcard-image" :style =" { marginTop: `${marginTop}px` }" />
13
+ <img
14
+ :src =" `/event/${title}.png`"
15
+ alt =" "
16
+ class =" eventcard-image"
17
+ :style =" { marginTop: `${marginTop}px` }"
18
+ loading =" lazy"
19
+ />
14
20
</template >
15
21
16
22
<style scoped>
Original file line number Diff line number Diff line change @@ -16,7 +16,13 @@ const props = defineProps<EventMultipleAssetsProps>()
16
16
'--head-img-height': `${imgHeight}px`,
17
17
}"
18
18
>
19
- <img v-for =" (title, key) in titleList" :key :src =" `/event/${title}-${key + 1}.png`" alt =" " />
19
+ <img
20
+ v-for =" (title, key) in titleList"
21
+ :key
22
+ :src =" `/event/${title}-${key + 1}.png`"
23
+ alt =" "
24
+ loading =" lazy"
25
+ />
20
26
</div >
21
27
</template >
22
28
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const currentLocale = useLocaleCurrent().locale
22
22
class =" sponsor-list-item-link"
23
23
:to =" `${currentLocale === 'ja' ? '/' : `/${currentLocale}/`}sponsors/${item['detail_page_id']}`"
24
24
>
25
- <img class =" sponsor-list-item-image" :src =" item['image_url']" :alt =" item.name" />
25
+ <img class =" sponsor-list-item-image" :src =" item['image_url']" :alt =" item.name" loading = " lazy " />
26
26
</NuxtLink >
27
27
</li >
28
28
</ul >
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const { locale: currentLocale } = useLocaleCurrent()
24
24
</div >
25
25
26
26
<div class =" content-wrapper" >
27
- <img :src =" '/namecard/namecard-samples.png'" alt =" test" />
27
+ <img :src =" '/namecard/namecard-samples.png'" alt =" test" loading = " lazy " />
28
28
<div class =" buttons-wrapper" >
29
29
<VFLinkButton
30
30
class =" action-button"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import { ticketUrl } from '~/utils/constants'
16
16
:detail =" $t(`personal_sponsor.merit${i}.detail`)"
17
17
:caution =" (i === 2 || i === 4) ? $t(`personal_sponsor.merit${i}.caution`) : ''"
18
18
>
19
- <img alt =" " :src =" `/sponsor/merit-${i}.jpg`" />
19
+ <img alt =" " :src =" `/sponsor/merit-${i}.jpg`" loading = " lazy " />
20
20
</VFMeritCard >
21
21
</div >
22
22
<div class =" personal-sponsor-text" >
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ useHead({
73
73
:name =" currentLocale === 'en' ? speakerData[0].name_en : speakerData[0].name_ja"
74
74
:github-id =" speakerData[0].github_id"
75
75
:x-id =" speakerData[0].x_id"
76
+ loading =" eager"
76
77
/>
77
78
<div class =" person-info" >
78
79
{{ currentLocale === 'ja' ? speakerData[0].description_ja : speakerData[0].description_en }}
Original file line number Diff line number Diff line change 2
2
type AvatarProps = {
3
3
src: string
4
4
alt: string
5
+ loading? : ' lazy' | ' eager'
5
6
}
6
-
7
- defineProps <AvatarProps >()
7
+ withDefaults (defineProps <AvatarProps >(), {
8
+ loading: ' lazy' ,
9
+ })
8
10
</script >
9
11
10
12
<template >
11
- <img :src =" src" :alt =" alt" />
13
+ < img :src = " src" :alt = " alt" : loading = " loading " / >
12
14
</template>
13
15
14
16
< style scoped >
Original file line number Diff line number Diff line change @@ -11,16 +11,24 @@ type SpeakerProps = {
11
11
githubId? : string
12
12
xId? : string
13
13
rowPosition? : boolean
14
+ loading? : ' lazy' | ' eager'
14
15
}
15
16
16
- defineProps <SpeakerProps >()
17
+ withDefaults (defineProps <SpeakerProps >(), {
18
+ company: ' ' ,
19
+ division: ' ' ,
20
+ githubId: ' ' ,
21
+ xId: ' ' ,
22
+ rowPosition: false ,
23
+ loading: ' lazy' ,
24
+ })
17
25
18
26
const { color } = useColor ()
19
27
</script >
20
28
21
29
<template >
22
30
<div class =" speaker-wrapper" :style =" rowPosition ? '' : 'flex-direction: column;'" >
23
- <Avatar :src =" image" :alt =" name" />
31
+ <Avatar :src =" image" :alt =" name" :loading = " loading " />
24
32
<div class =" speaker-info" >
25
33
<div class =" speaker-affiliation" >
26
34
<p
You can’t perform that action at this time.
0 commit comments