Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Commit 35f3b76

Browse files
author
Aaron
authored
Merge pull request #1 from vuejs/master
update docs
2 parents 844b5c8 + e6a0efd commit 35f3b76

File tree

108 files changed

+1934
-900
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+1934
-900
lines changed

src/.vuepress/components/MigrationBadges.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default {
1616
}
1717
}
1818
},
19-
data(){
19+
data() {
2020
return {
2121
validBadges
2222
}
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
<template>
2+
<p
3+
class="codepen"
4+
:data-theme-id="theme"
5+
:data-preview="preview || null"
6+
:data-editable="editable || null"
7+
:data-height="height"
8+
:data-default-tab="tab"
9+
:data-user="user"
10+
:data-slug-hash="slug"
11+
:data-pen-title="title"
12+
:data-embed-version="version"
13+
:style="`height: ${height}px`">
14+
<span>See the Pen <a :href="href">{{ title }}</a>
15+
by {{ name || user }} (<a :href="`https://codepen.io/${user}`">@{{user}}</a>)
16+
on <a href="https://codepen.io">CodePen</a>.</span>
17+
</p>
18+
</template>
19+
20+
<script>
21+
export default {
22+
props: {
23+
title: {
24+
type: String,
25+
default: null,
26+
required: true,
27+
},
28+
29+
slug: {
30+
type: String,
31+
default: null,
32+
required: true,
33+
},
34+
35+
tab: {
36+
type: String,
37+
default: 'result',
38+
},
39+
40+
team: {
41+
type: Boolean,
42+
default: true,
43+
},
44+
45+
user: {
46+
type: String,
47+
default: 'Vue',
48+
},
49+
50+
name: {
51+
type: String,
52+
default: null,
53+
},
54+
55+
height: {
56+
type: Number,
57+
default: 300,
58+
},
59+
60+
theme: {
61+
type: String,
62+
default: '39028',
63+
},
64+
65+
preview: {
66+
type: Boolean,
67+
default: true,
68+
},
69+
70+
editable: {
71+
type: Boolean,
72+
default: true,
73+
},
74+
75+
version: {
76+
type: String,
77+
default: null,
78+
}
79+
},
80+
mounted() {
81+
const codepenScript = document.createElement('script')
82+
codepenScript.setAttribute('src', 'https://static.codepen.io/assets/embed/ei.js')
83+
codepenScript.async = true
84+
this.$el.appendChild(codepenScript)
85+
},
86+
computed: {
87+
href() {
88+
return `https://codepen.io/${this.team ? 'team' : ''}${this.user}/pen/${this.slug}`
89+
}
90+
},
91+
}
92+
</script>
93+
94+
<style lang="scss">
95+
.codepen {
96+
box-sizing: border-box;
97+
display: flex;
98+
align-items: center;
99+
justify-content: center;
100+
border: 2px solid;
101+
margin: 1em 0;
102+
padding: 1em;
103+
}
104+
</style>

src/.vuepress/components/community/team/members.js

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ const members = [
109109
languages: ['hi', 'en'],
110110
work: {
111111
role: 'Software Engineer',
112-
org: 'Myntra',
113-
orgUrl: 'https://www.myntra.com/'
112+
org: 'Grammarly',
113+
orgUrl: 'https://grammarly.com/'
114114
},
115115
github: 'znck',
116116
twitter: 'znck0',
117-
reposOfficial: ['rollup-plugin-vue', 'vue-issue-helper'],
118-
reposPersonal: ['keynote', 'bootstrap-for-vue', 'vue-interop'],
119-
links: ['https://znck.me', 'https://www.codementor.io/znck']
117+
reposOfficial: ['rollup-plugin-vue', 'vue-next'],
118+
reposPersonal: ['vue-developer-experience', 'prop-types', 'grammarly'],
119+
links: ['https://znck.me']
120120
},
121121
{
122122
name: 'Linusborg',
@@ -299,6 +299,16 @@ const members = [
299299
twitter: 'KiaKing85',
300300
reposOfficial: ['vuex'],
301301
reposPersonal: ['vuex-orm/*']
302+
},
303+
{
304+
name: 'Anthony Fu',
305+
city: 'Taipei, Taiwan',
306+
languages: ['zh', 'en'],
307+
github: 'antfu',
308+
twitter: 'antfu7',
309+
reposOfficial: ['composition-api'],
310+
reposPersonal: ['vueuse', 'vue-demi', 'vue-reactivity/*'],
311+
links: ['https://antfu.me/']
302312
}
303313
])
304314
)

0 commit comments

Comments
 (0)