Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhotoPageSection #385

Merged
merged 2 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 87 additions & 0 deletions apps/web/app/components/PhotoPageSection.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<script setup lang="ts">
import { cc0LicenseUrl, photos } from '~/utils/constants'
</script>

<template>
<section class="photos-container">
<div class="photos">
<VFTitle id="photo" class="title">
{{ $t('photo.title') }}
</VFTitle>
<div>
<p>{{ $t('photo.subtitle1') }}</p>
<i18n-t keypath="photo.subtitle2" tag="p">
<template #license>
<a :href="cc0LicenseUrl" target="_blank">
{{ $t('photo.cc0_license') }}
</a>
</template>
</i18n-t>
<ul>
<li v-for="(photo, key) in photos" :key>
<NuxtLink :to="photo.url" target="_blank">
{{ photo.title }}
</NuxtLink>
</li>
</ul>
</div>
</div>
</section>
</template>

<style scoped>
@import url('~/assets/media.css');

.photos-container {
--container-padding: calc(var(--unit) * 15) 6%;

padding: var(--container-padding);
background: rgba(255, 255, 255, 0.75);
backdrop-filter: blur(8px);
}

.photos {
--content-max-width: calc(var(--unit) * 96);

display: grid;
max-width: var(--content-max-width);
margin: 0 auto;
width: 100%;
}

.title {
--content-padding-bottom: calc(var(--unit) * 5);

text-align: center;
padding-bottom: var(--content-padding-bottom);
line-height: 1.2;
}

.photos p {
margin: 0 0 16px;
}

.photos li {
list-style: disc;
list-style-position: inside;
}

.photos a {
color: var(--color-vue-blue);
text-decoration: underline;
}

.photos a:hover {
text-decoration: none;
}

@media (--tablet) {
.photos-container {
--container-padding: 60px 6%;
}

.photos {
--content-padding-bottom: 30px;
}
}
</style>
4 changes: 2 additions & 2 deletions apps/web/app/components/TopPageSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ const getAnchorPath = computed(
class="link-button"
background-color="vue-green/200"
color="white"
:href="getAnchorPath('events')"
:href="getAnchorPath('#photo')"
target="_top"
>
{{ $t('related_events.title') }}
{{ $t('photo.title') }}
</VFLinkButton>
</div>
</div>
Expand Down
6 changes: 6 additions & 0 deletions apps/web/app/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,5 +287,11 @@
"title": "Related Events",
"register": "Register for the event",
"close": "The event has ended"
},
"photo": {
"title": "Photo",
"cc0_license": "CC0 License",
"subtitle1": "Thank you to everyone who participated in Vue Fes Japan 2024.",
"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."
}
}
6 changes: 6 additions & 0 deletions apps/web/app/lang/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -305,5 +305,11 @@
"title": "้–ข้€ฃใ‚คใƒ™ใƒณใƒˆ",
"register": "ใ‚คใƒ™ใƒณใƒˆใซๅ‚ๅŠ ใ™ใ‚‹",
"close": "ใ‚คใƒ™ใƒณใƒˆใฏ็ต‚ไบ†ใ—ใพใ—ใŸ"
},
"photo": {
"title": "ๅ†™็œŸ",
"cc0_license": "CC0 ใƒฉใ‚คใ‚ปใƒณใ‚น",
"subtitle1": "Vue Fes Japan 2024 ใซใ”ๅ‚ๅŠ ใ„ใŸใ ใ„ใŸใฟใชใ•ใ‚“ใ€ใ‚ใ‚ŠใŒใจใ†ใ”ใ–ใ„ใพใ—ใŸใ€‚",
"subtitle2": "ๅฝ“ๆ—ฅๆ’ฎๅฝฑใ•ใ‚ŒใŸๅ†™็œŸใ‚’ {license} ใซใฆๅ…ฌ้–‹ใ—ใพใ™ใฎใงใ€ใƒ–ใƒญใ‚ฐใ‚„ SNS ใชใฉใซใ”่‡ช็”ฑใซใŠไฝฟใ„ใใ ใ•ใ„ใ€‚"
}
}
1 change: 1 addition & 0 deletions apps/web/app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ useHead({

<template>
<TopPageSection />
<PhotoPageSection />
<TimeTablePageSection v-if="config.public.showTimetable" />
<SpeakerPageSection :data="speakers" />
<EventPageSection v-if="config.public.showEvent" :data="speakers" />
Expand Down
70 changes: 70 additions & 0 deletions apps/web/app/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,76 @@ export const endedCreateNamecard = true

export const displayNameMaxLength = 24

export const photos = [
{
title: 'ๅ‰ๆ—ฅๆบ–ๅ‚™',
url: 'https://photos.app.goo.gl/Qq7LcRQfP8sUqXVg9',
},
{
title: '้–‹ๅ ดๅ‰',
url: 'https://photos.app.goo.gl/NxEiCqx2XvmvSwke9',
},
{
title: 'ๅ—ไป˜',
url: 'https://photos.app.goo.gl/kYenfefma4eroTbv9',
},
{
title: 'ใƒกใƒ‰ใƒ”ใ‚ขใƒˆใƒฉใƒƒใ‚ฏ',
url: 'https://photos.app.goo.gl/J5evxzqJpP9mf3LX9',
},
{
title: 'MNTSQใŒๅ…จใฆใฎๅˆๆ„ใ‚’ใƒ•ใ‚งใ‚ขใซใ™ใ‚‹ใžใƒˆใƒฉใƒƒใ‚ฏ',
url: 'https://photos.app.goo.gl/HboMLxQr1xgi2STf9',
},
{
title: 'kickflowใƒˆใƒฉใƒƒใ‚ฏ',
url: 'https://photos.app.goo.gl/PXj8vMvStuiXHEbz5',
},
{
title: 'Vueใƒˆใƒฉใƒƒใ‚ฏ',
url: 'https://photos.app.goo.gl/dCRgb7iLbhuE5E2Y7',
},
{
title: 'ใƒฉใƒณใƒใ‚ฟใ‚คใƒ ',
url: 'https://photos.app.goo.gl/B2XigeF4vvjqvb6k8',
},
{
title: 'ใ‚นใƒใƒณใ‚ตใƒผใƒ–ใƒผใ‚น',
url: 'https://photos.app.goo.gl/KSM61FxLSVFaAAzC9',
},
{
title: 'Vue Fes Store',
url: 'https://photos.app.goo.gl/cy2ArVhND9q5UP9cA',
},
{
title: 'ใ‚ฟใƒˆใ‚ฅใƒผใ‚นใƒšใƒผใ‚น',
url: 'https://photos.app.goo.gl/dKjcEKCxKZ6GcgmU7',
},
{
title: 'ใƒ•ใƒชใƒผใƒ‰ใƒชใƒณใ‚ฏ๏ผ†ใ‚นใƒŠใƒƒใ‚ฏ',
url: 'https://photos.app.goo.gl/tJmuumFGhG7NwJTq8',
},
{
title: 'ใ‚ฏใƒชใ‚จใ‚คใƒ†ใ‚ฃใƒ–ใ‚ฆใ‚ฉใƒผใƒซ',
url: 'https://photos.app.goo.gl/fyZimXfrTS8X57RR8',
},
{
title: 'ไผ‘ๆ†ฉใƒปๅ……้›ปใ‚นใƒšใƒผใ‚น',
url: 'https://photos.app.goo.gl/JWfmeEAv7nv5LnGB9',
},
{
title: 'ใ‚ขใƒ•ใ‚ฟใƒผใƒ‘ใƒผใƒ†ใ‚ฃใƒผ',
url: 'https://photos.app.goo.gl/jGcNhC8mVERtjh8Q9',
},
{
title: 'ใใฎไป–ใ‚นใƒŠใƒƒใƒ—',
url: 'https://photos.app.goo.gl/41FTQDQivv4FuRTP7',
},
]

export const cc0LicenseUrl =
'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'

export const personalSponsors = [
'Yuhei FUJITA',
'jiyuujin',
Expand Down