Skip to content

Commit 2554f9e

Browse files
committed
docs: style fixes
1 parent be6e1ad commit 2554f9e

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

docs/.vuepress/components/HomeSponsors.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@
4747
<script>
4848
import sponsors from './sponsors.json'
4949
50-
console.log({ sponsors })
51-
5250
export default {
5351
name: 'HomeSponsors',
5452

docs/.vuepress/styles/index.styl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
img, span
1414
vertical-align middle
1515

16+
1617
.vueschool
1718
background-color #e7ecf3
1819
padding 1em 1.25em
@@ -45,3 +46,9 @@
4546
border-top 5px solid transparent
4647
border-bottom 5px solid transparent
4748
border-left 8px solid #fff
49+
50+
@media (max-width: 719px) {
51+
.vueschool {
52+
display: inline-flex;
53+
}
54+
}

docs/.vuepress/theme/Layout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
<template #page-top>
44
<CarbonAds
55
v-if="$site.themeConfig.carbonAds"
6-
:key="$page.path"
6+
:key="'ca:' + $page.path"
77
:code="$site.themeConfig.carbonAds.carbon"
88
:placement="$site.themeConfig.carbonAds.placement"
99
/>
1010
</template>
1111
<template #page-bottom>
1212
<BuySellAds
1313
v-if="$site.themeConfig.carbonAds"
14-
:key="$page.path"
14+
:key="'bsa:' + $page.path"
1515
:code="$site.themeConfig.carbonAds.custom"
1616
:placement="$site.themeConfig.carbonAds.placement"
1717
/>

docs/guide/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Also, all examples will be using the full version of Vue to make on-the-fly temp
88

99
<div class="vueschool"><a href="https://vueschool.io/courses/vue-router-for-everyone?friend=vuejs" target="_blank" rel="sponsored noopener" title="Learn how to build powerful Single Page Applications with the Vue Router on Vue School">Watch a free video course about Vue Router on Vue School</a></div>
1010

11-
Creating a Single-page Application with Vue + Vue Router is dead simple. With Vue.js, we are already composing our application with components. When adding Vue Router to the mix, all we need to do is map our components to the routes and let Vue Router know where to render them. Here's a basic example:
11+
Creating a Single-page Application with Vue + Vue Router feels natural: with Vue.js, we are already composing our application with components. When adding Vue Router to the mix, all we need to do is map our components to the routes and let Vue Router know where to render them. Here's a basic example:
1212

1313
## HTML
1414

0 commit comments

Comments
 (0)