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

155 press #191

Merged
merged 9 commits into from
Nov 30, 2020
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
2 changes: 1 addition & 1 deletion web/src/components/about/Summary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<v-row
justify="center"
class="mt-10"
class="mt-10 mb-6"
>
<v-btn
outlined
Expand Down
76 changes: 76 additions & 0 deletions web/src/components/press/PressCarousel.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<template>
<v-carousel
cycle
height="400"
hide-delimiter-background
show-arrows-on-hover
>
<v-carousel-item
v-for="(item, i) in press"
:key="i"
:href="item.link"
target="_blank"
eager
>
<v-container
fill-height
fluid
>
<v-row class="mx-1">
<v-col>
<v-row
justify="center"
class="mb-5"
>
<v-img
max-height="200"
:max-width="$vuetify.breakpoint.mdAndUp ? '500' : '300'"
contain
:src="item.image"
/>
</v-row>
<v-row
justify="center"
class="carousel-text"
>
<i>{{ item.quote }}</i>
</v-row>
<v-row
justify="center"
class="carousel-text"
>
{{ item.name }}
</v-row>
</v-col>
</v-row>
</v-container>
</v-carousel-item>
</v-carousel>
</template>

<script>
export default {
data() {
return {
press: [
{
image: 'https://cdn.japantimes.2xx.jp/wp-content/uploads/2017/03/new-JT-logo.jpg', // TODO: Is this okay to fetch from their CDN?
name: 'The Japan Times',
quote: '"...SpeakHer aims to assist event organizers by providing a free bilingual database of public speakers in Japan who are women."',
link: 'https://www.japantimes.co.jp/community/2020/09/28/issues/speakher-manels-women/',
},
{
image: 'https://japanbyrivercruise.com/assets/images/image01.png?v88719225713061',
name: 'Japan By River Cruise Podcast',
quote: `"...If more women see women being respresented,
see women speaking, then they'll go, oh, that's a place I can be active too!"`,
link: 'https://share.transistor.fm/s/f53eaea0',
},
],
};
},
methods: {

},
};
</script>
29 changes: 29 additions & 0 deletions web/src/components/press/PressSection.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<template>
<v-parallax
height="500"
dark
src="../../assets/background.svg"
class="mb-10"
>
<v-row
justify="center"
align="center"
class="mt-10 mb-6"
>
<h2 class="dark-section-title">
{{ $t('press.title') }}
</h2>
</v-row>
<press-carousel />
</v-parallax>
</template>

<script>
import PressCarousel from '@/components/press/PressCarousel.vue';

export default {
components: {
PressCarousel,
},
};
</script>
3 changes: 3 additions & 0 deletions web/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@
"website": "Website",
"priorPresentation": "Link to a prior presentation"
},
"press": {
"title": "Press Coverage"
},
"validations": {
"allRequired": "All fields are required",
"bioLength": "Please write at least {0} characters",
Expand Down
9 changes: 9 additions & 0 deletions web/src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ h2{
font-weight: 390;
}

.dark-section-title {
color: white;
font-weight: 500;
}

.location {
font-size: 1rem;
font-weight: 390;
Expand Down Expand Up @@ -47,4 +52,8 @@ h2{

.v-expansion-panel-content__wrap {
padding: 12px 12px 0px !important;
}

.carousel-text {
color: white;
}
4 changes: 3 additions & 1 deletion web/src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</v-parallax>
<br>
<Summary id="summary" />
<v-divider class="my-10" />
<press-section />
<find-speaker id="find-speaker" />
</div>
</template>
Expand All @@ -38,12 +38,14 @@ import Illustration from '@/components/hero/Illustration.vue';
import CallToAction from '@/components/hero/CallToAction.vue';
import Summary from '@/components/about/Summary.vue';
import FindSpeaker from '@/views/FindSpeaker.vue';
import PressSection from '@/components/press/PressSection.vue';

export default {
name: 'Home',
components: {
Illustration,
CallToAction,
PressSection,
Summary,
FindSpeaker,
},
Expand Down