Skip to content

Commit 2d394e9

Browse files
committed
add CC0 License url
1 parent 297900e commit 2d394e9

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

apps/web/app/components/PhotoPageSection.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { photos } from '~/utils/constants'
2+
import { cc0LicenseUrl, photos } from '~/utils/constants'
33
</script>
44

55
<template>
@@ -10,7 +10,13 @@ import { photos } from '~/utils/constants'
1010
</VFTitle>
1111
<div>
1212
<p>{{ $t('photo.subtitle1') }}</p>
13-
<p>{{ $t('photo.subtitle2') }}</p>
13+
<i18n-t keypath="photo.subtitle2" tag="p">
14+
<template #license>
15+
<a :href="cc0LicenseUrl" target="_blank">
16+
{{ $t('photo.cc0_license') }}
17+
</a>
18+
</template>
19+
</i18n-t>
1420
<ul>
1521
<li v-for="(photo, key) in photos" :key>
1622
<NuxtLink :to="photo.url" target="_blank">

apps/web/app/lang/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,8 @@
290290
},
291291
"photo": {
292292
"title": "Photo",
293+
"cc0_license": "CC0 License",
293294
"subtitle1": "Thank you to everyone who participated in Vue Fes Japan 2024.",
294-
"subtitle2": "The photos taken on the day will be published under a CC0 license, so feel free to use them on blogs, social media, and other platforms."
295+
"subtitle2": "The photos taken on the day will be published under a {license}, so feel free to use them on blogs, social media, and other platforms."
295296
}
296297
}

apps/web/app/lang/ja.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@
308308
},
309309
"photo": {
310310
"title": "写真",
311+
"cc0_license": "CC0 ライセンス",
311312
"subtitle1": "Vue Fes Japan 2024 にご参加いただいたみなさん、ありがとうございました。",
312-
"subtitle2": "当日撮影された写真を CC0 ライセンスにて公開しますので、ブログや SNS などにご自由にお使いください。"
313+
"subtitle2": "当日撮影された写真を {license} にて公開しますので、ブログや SNS などにご自由にお使いください。"
313314
}
314315
}

apps/web/app/utils/constants.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ export const photos = [
128128
},
129129
]
130130

131+
export const cc0LicenseUrl =
132+
'https://creativecommons.jp/sciencecommons/aboutcc0/#:~:text=CC0%20%E3%81%A8%E3%81%AF%E3%80%81%E7%A7%91%E5%AD%A6%E8%80%85,%E3%81%A7%E3%81%8D%E3%82%8B%E3%82%88%E3%81%86%E3%81%AB%E3%81%AA%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82'
133+
131134
export const personalSponsors = [
132135
'Yuhei FUJITA',
133136
'jiyuujin',

0 commit comments

Comments
 (0)