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

feat: implement keynote page #78

Merged
merged 11 commits into from
Jun 27, 2021
Merged

feat: implement keynote page #78

merged 11 commits into from
Jun 27, 2021

Conversation

mattwang44
Copy link
Member

Types of Changes

  • Bugfix
  • New feature
  • Refactoring
  • Breaking change (any change that would cause existing functionality to not work as expected)
  • Documentation Update
  • Other (please describe)

Description

Add keynote page (<host>/<base>/<lang>/conference/keynotes).

More Information

PyCon.Taiwan.2021.mp4

@mattwang44 mattwang44 requested a review from flynnhou June 25, 2021 23:33
components/core/tabs/Tabs.vue Outdated Show resolved Hide resolved
pages/conference/keynotes.vue Outdated Show resolved Hide resolved
pages/conference/keynotes.vue Outdated Show resolved Hide resolved
pages/conference/keynotes.vue Show resolved Hide resolved
components/core/tabs/Tabs.vue Outdated Show resolved Hide resolved
components/core/tabs/Tabs.vue Outdated Show resolved Hide resolved
components/core/tabs/Tabs.vue Outdated Show resolved Hide resolved
components/core/tabs/Tabs.vue Outdated Show resolved Hide resolved
Comment on lines +26 to +38
created() {
this.tabs = this.$children
},
mounted() {
this.selectTab(0)
},
methods: {
selectTab(i) {
this.selectedIndex = i
this.tabs.forEach((tab, index) => {
tab.isActive = index === i
})
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the implementation! Elegant!

@mattwang44 mattwang44 force-pushed the keynote branch 2 times, most recently from 63aaf9a to 05a397c Compare June 27, 2021 04:49
Co-authored-by: Flynn Hou <flynnhou7@gmail.com>
@mattwang44
Copy link
Member Author

mattwang44 commented Jun 27, 2021

@flynnhou Thanks for reviewing!
Added two new commits: e27b09d for head() and 2679261 for updating conf date.

Copy link
Collaborator

@flynnhou flynnhou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@flynnhou flynnhou merged commit d1c7b90 into main Jun 27, 2021
@flynnhou flynnhou deleted the keynote branch June 27, 2021 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants