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

docs(en): merge docs-next/master into vue-docs-next/main @ 48a9e6e9 #47

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
47691ed
Update Introduction example to use `components` instead of `.componen…
LSViana Oct 26, 2021
210b792
SSR Guide: Remove app.js (#1297)
CyberAP Oct 26, 2021
965d330
Add an example on why singletones are bad (#1298)
CyberAP Oct 27, 2021
ae71533
Adding Components.studio and WebComponents.dev... (#1299)
georges-gomes Oct 29, 2021
7607848
Update debugging-in-vscode.md (#1270)
deepansh96 Oct 29, 2021
7a9ad06
Fixed possessive pronouns (#1303)
Oct 29, 2021
eef29e0
fixed missing commas (#1302)
Oct 29, 2021
d026fc2
Update introduction.md (#1306)
wxsms Oct 30, 2021
f4311ed
Update deprecated app.config.isCustomElement (#1307)
Miguel-Bento-Github Oct 31, 2021
5ddaf35
fix: use createSSRApp instead of createApp (#1311)
skirtles-code Nov 3, 2021
563ed27
docs: expand the explanation about using VNodes with <component> (#1310)
skirtles-code Nov 3, 2021
3d84cff
Fix typo (#1315)
dews Nov 5, 2021
0097065
chore: Update partners on myself (#1318)
rstoenescu Nov 7, 2021
4fae0d0
add vue school links to supplement component documentation with video…
danielkellyio Nov 10, 2021
3c97d52
Update description about .number modifier (#1285)
zxuqian Nov 10, 2021
45b9049
fix: Explain usage of custom directives with script-setup (#1319)
LinusBorg Nov 10, 2021
813c887
enclosed a word intended to clarify meaning of diff (#1304)
Nov 10, 2021
fc31792
A better example for v-html (#1314)
mehanalavimajd Nov 10, 2021
729d996
fix: bug in the rendering of the v-html example (#1326)
skirtles-code Nov 12, 2021
c90a0a2
Update application-api.md (#1327)
mehanalavimajd Nov 13, 2021
44b9095
Add Vue School Black Friday 21 banners (#1330)
nicodevs Nov 18, 2021
48a9e6e
Fix Black Friday banner close button (#1333)
nicodevs Nov 18, 2021
47dd74a
docs(en): merging all conflicts
docschina-bot Nov 19, 2021
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
11 changes: 5 additions & 6 deletions src/.vuepress/components/community/team/partners.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,14 @@ export default shuffle([
github: 'rstoenescu',
twitter: 'quasarframework',
work: {
role: 'Developer',
role: 'Author',
org: 'Quasar Framework',
orgUrl: 'http://quasar-framework.org/'
orgUrl: 'http://quasar.dev/'
},
reposPersonal: [
'quasarframework/quasar',
'quasarframework/quasar-cli',
'quasarframework/quasar-play'
]
'quasarframework/quasar'
],
links: ['https://quasar.dev']
},
{
name: 'Jilson Thomas',
Expand Down
4 changes: 2 additions & 2 deletions src/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ module.exports = {
'link',
{
href:
'https://fonts.googleapis.com/css?family=Inter:300,400,500,600|Open+Sans:400,600;display=swap',
'https://fonts.googleapis.com/css?family=Inter:300,400,500,600|Archivo:400,600|Open+Sans:400,600;display=swap',
rel: 'stylesheet'
}
],
Expand Down Expand Up @@ -510,7 +510,7 @@ module.exports = {
custom: 'CKYD62QM',
placement: 'vuejsorg'
},
topBanner: false
topBanner: true
},
plugins: [
[
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/.vuepress/public/images/vueschool/vueschool_close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
131 changes: 131 additions & 0 deletions src/.vuepress/theme/components/BannerCoins.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
<template>
<div
class="vs-blackfriday-coins">
<img
v-for="coin in coins"
:key="coin.id"
:alt="coin.id"
:src="`/images/vueschool/tech-coin-${coin.id}.png`"
:class="[coin.id, coin.inverse ? inverseDirection : direction]"
:style="coin.style"
class="vs-blackfriday-coin">
</div>
</template>

<script>
const coins = [
{ id: 'js', inverse: true },
{ id: 'ts' },
{ id: 'vue', inverse: true },
{ id: 'vuex', inverse: true },
{ id: 'nuxt' }
]

export default {
data () {
return {
coins,
xPosition: 0,
direction: 'left',
inverseDirection: 'right',
isAnimated: false
}
},
mounted () {
if (window.innerWidth < 1024) return
this.isAnimated = true
this.animationTarget = document.getElementById('vs')
this.animationTarget.addEventListener('mousemove', this.animate)
},
beforeDestroy () {
if (!this.isAnimated) return
this.animationTarget.removeEventListener('mousemove', this.animate)
},
methods: {
animate (e) {
this.direction = e.pageX > this.xPosition ? 'right' : 'left'
this.inverseDirection = this.direction === 'left' ? 'right' : 'left'
this.xPosition = e.pageX
}
}
}
</script>

<style>
.vs-blackfriday-coins {
overflow: hidden;
position: absolute;
bottom: 0;
right: 0;
top: 0;
left: 0;
z-index: -1;
}

.vs-blackfriday-coin {
display: none;
}

@media (min-width: 768px) {
.vs-blackfriday-coins {
background-image: url(/images/vueschool/vueschool_blackfriday_background_tablet.svg);
background-position: center;
background-size: cover;
}
}

@media (min-width: 1024px) {
.vs-blackfriday-coins {
background: transparent;
}

#vs:hover .vs-blackfriday-coin.left {
transform: translateX(-600px);
transition: transform 30s linear;
}

#vs:hover .vs-blackfriday-coin.right {
transform: translateX(600px);
transition: transform 30s linear;
}

.vs-blackfriday-coin {
display: inline-block;
position: absolute;
transition: transform 1000ms linear;
transform: translateX(0);
}

.vs-blackfriday-coin.js {
width: 43px;
top: 32px;
left: calc(50% - 341px);
}

.vs-blackfriday-coin.ts {
top: 0;
left: 0;
width: 54px;
left: calc(50% + 457px);
}

.vs-blackfriday-coin.vue {
top: 18px;
width: 60px;
left: calc(50% + 586px);
}

.vs-blackfriday-coin.vuex {
top: 23px;
left: 0;
width: 56px;
left: calc(50% - 620px);
}

.vs-blackfriday-coin.nuxt {
top: 10px;
width: 48px;
left: calc(50% - 474px);
}
}
</style>
147 changes: 64 additions & 83 deletions src/.vuepress/theme/components/BannerTop.vue
Original file line number Diff line number Diff line change
@@ -1,40 +1,47 @@
<template>
<a id="vs" href="https://vueschool.io/sales/summer-vue?friend=vuejs" target="_blank" rel="noreferrer">
<div class="vs-iso">
<img src="/images/vueschool/vs-iso.svg">
</div>
<div class="vs-logo">
<img src="/images/vueschool/vs-logo.svg">
</div>
<a id="vs" class="vs-hidden" href="https://vueschool.io/sales/blackfriday?friend=vuejs" target="_blank" rel="noreferrer">
<BannerCoins />
<div class="vs-core">
<div class="vs-backpack">
<img src="/images/vueschool/vs-backpack.png" alt="Backpack">
<div class="vs-logo">
<img src="/images/vueschool/vueschool_blackfriday_logo.svg">
</div>
<div class="vs-slogan">
Extended! <span class="vs-slogan-light">Last few hours</span> for the Vue School offer
<div class="vs-slogan-subtitle">
Access to all Vue Courses at Vue School
</div>
<div class="vs-slogan-title">
Black Friday <strong>40% OFF</strong>
</div>
</div>
<div class="vs-button">
GET ACCESS
Get Discount
</div>
</div>
<div
id="vs-close"
class="vs-close"
@click.stop.prevent="$emit('close')">
<img src="/images/vueschool/close.svg" alt="Close">
<div id="vs-close" class="vs-close" @click.stop.prevent="$emit('close')">
<img src="/images/vueschool/vueschool_close.svg" alt="Close">
</div>
</a>
</template>

<script>
import BannerCoins from './BannerCoins.vue'

export default {
components: {
BannerCoins
}
}
</script>

<style lang="stylus">
@require '../styles/config'
$topBannerHeight ?= 5rem
$topBannerHeightMobile ?= 3.125rem
$topBannerHeightMobile ?= 5rem

// Banner
#vs
align-items: center
background-color: #202A5A
background-color: #000c19
box-sizing: border-box
color: #fff
display: none
Expand All @@ -46,91 +53,65 @@ $topBannerHeightMobile ?= 3.125rem
right: 0
top: 0
z-index: 100
line-height: 1
height: $topBannerHeightMobile
@media (min-width: 680px)
height: $topBannerHeight
justify-content: center

&:hover
.vs-core
.vs-button
background: #f22606

.vs-iso
display: none
position: absolute
left: 20px
height: 26px
img
height: 26px
@media (min-width: 680px)
display: inline-block
height: 40px
img
height: 40px
@media (min-width: 900px)
display: none

.vs-logo
position: absolute
display: none
left: 20px
@media (min-width: 900px)
display: block
background: linear-gradient(261deg, #e61463 100%, #db5248 3%)

.vs-core
display: flex
align-items: center

.vs-backpack
margin-right: 6px
position: absolute
@media (min-width: 680px)
position: static
margin-right: 4px
img
height: 50px
@media (min-width: 680px)
height: 56px
@media (min-width: 900px)
height: 74px

.vs-slogan
font-family: Archivo
color: #FFF
font-weight: bold
font-size: 14px
text-align: center
padding: 0 90px
margin-left: 8px
@media (min-width: 680px)
padding: 0
text-align: left
margin-right: 26px
margin-right: 0
font-size: 18px
> .vs-slogan-light
color: #ff5338
text-align: left
@media (min-width: 900px)
text-align: center
display: inline
margin-left: 24px
.vs-slogan-subtitle
font-size: 12px
@media (min-width: 680px)
font-size: 14px
.vs-slogan-title
margin-top: 6px
font-size: 16px
font-weight: 600
@media (min-width: 680px)
font-size: 18px
strong
color: #ffae29
font-weight: 600

.vs-button
margin-left: 13px
color: #FFF
padding: 13px 24px
border-radius: 40px
display: none
background: #ff5338
font-weight: bold
padding: 7px 10px
border-radius: 4px
background: linear-gradient(to left, #e61b60, #dd4a4c)
font-weight: 600
white-space: nowrap
margin-right: 30px
margin-left: 1px
@media (min-width: 680px)
display: inline-block
margin-right: 0
padding: 8px 24px
margin-left: 32px
@media (min-width: 680px)
margin-left: 69px

.vs-close
right: 10px
position: absolute
padding: 10px
@media (min-width: 680px)
right: 20px
&:hover
color: #56D8FF
right: 6px
position: absolute
@media (min-width: 680px)
padding: 10px
right: 20px
&:hover
color: #56D8FF

/************************************/

Expand Down
Loading